diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-12 18:33:22 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-12 20:11:49 +0900 |
commit | 040bf4c0a69cfcc4df6250f0241b9c7cc4a42ab6 (patch) | |
tree | 11c1b6c434b95707642f227e4e15055c25c10bae /.github | |
parent | 981f0be6ffd082e9954263323ac149fbfa2e8c01 (diff) | |
download | ruby-040bf4c0a69cfcc4df6250f0241b9c7cc4a42ab6.tar.gz |
Added windows-2019 workflow
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/windows-2019.yml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/.github/workflows/windows-2019.yml b/.github/workflows/windows-2019.yml new file mode 100644 index 0000000000..c1cea4bc51 --- /dev/null +++ b/.github/workflows/windows-2019.yml @@ -0,0 +1,35 @@ +name: windows-2019 +on: + push: + branches: + - master + pull_request: + branches: + - '*' +jobs: + latest: + runs-on: windows-2019 + steps: + - name: Install libraries with vcpkg + run: | + vcpkg --triplet x64-windows install %dependencies% || ( + sleep 4 && vcpkg --triplet x64-windows install %dependencies% + ) || ( + sleep 25 && vcpkg --triplet x64-windows install %dependencies% + ) + env: + dependencies: openssl readline zlib + - name: Install libraries with chocolatey + run: choco install winflexbison3 + - name: Checkout # not using actions/checkout because it's unstable. + run: git clone --depth=50 https://github.com/ruby/ruby . + - name: configure + run: | + call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" + win32/configure.bat --without-ext=+,dbm,gdbm --enable-bundled-libffi --with-opt-dir=C:/vcpkg/installed/x64-windows + - name: nmake + run: | + call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" + set YACC=win_bison + nmake up + nmake |