Skip to content

Instantly share code, notes, and snippets.

@thommay
Last active August 29, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thommay/45a04ee8c33b486a0f82 to your computer and use it in GitHub Desktop.
Save thommay/45a04ee8c33b486a0f82 to your computer and use it in GitHub Desktop.
delivery windows builder notes

has to be a 64bit toolchain - ie by installing ruby 64 and hence the 64 bit dev toolchain OPENSSL_LIB_DIR=C:\OpenSSL-Win64 OPENSSL_INCLUDE_DIR=C:\OpenSSL-Win64\include

rust nightly via straight windows_package -

windows_package 'rust' do
  source 'https://static.rust-lang.org/dist/2015-08-17/rust-nightly-x86_64-pc-windows-gnu.msi'
end
kitchen converge default-windows-81-professional
kitchen login default-windows-81-professional
open cmd
.\load-omnibus-toolchain.bat
install chocolatey
cd C:\home\vagrant\delivery-cli\chocolatey-repo
choco pack rust/rust.nuspec
choco pack OpenSSL/OpenSSL.nuspec
choco pack vcredist2008/vcredist2008.nuspec
choco install rust OpenSSL -y -s $PWD
cd ..\omnibus-delivery-cli
bundle install
bundle exec omnibus build delivery-cli
$Env:GIT_SSH=(Get-Command ssh |select -exp path)
use something like https://gist.github.com/markembling/187305 to get an ssh-agent
profit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment