mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Use %VCVARS%
This commit is contained in:
parent
10e09ccaff
commit
a75ab110df
1 changed files with 4 additions and 3 deletions
7
.github/workflows/windows.yml
vendored
7
.github/workflows/windows.yml
vendored
|
@ -11,6 +11,7 @@ jobs:
|
|||
runs-on: ${{ matrix.os }}
|
||||
env:
|
||||
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
|
||||
VCVARS: C:\Program Files (x86)\Microsoft Visual Studio\${{ matrix.vs }}\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
||||
if: "!contains(github.event.head_commit.message, '[ci skip]')"
|
||||
steps:
|
||||
- uses: actions/cache@v2
|
||||
|
@ -44,13 +45,13 @@ jobs:
|
|||
shell: cmd
|
||||
- name: Configure
|
||||
run: |
|
||||
call "C:\Program Files (x86)\Microsoft Visual Studio\${{ matrix.vs }}\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
|
||||
call "%VCVARS%"
|
||||
../src/win32/configure.bat --disable-install-doc --without-ext=+,dbm,gdbm --enable-bundled-libffi --with-opt-dir=C:/vcpkg/installed/x64-windows --with-openssl-dir="C:/Program Files/OpenSSL-Win64"
|
||||
working-directory: build
|
||||
shell: cmd
|
||||
- name: nmake
|
||||
run: |
|
||||
call "C:\Program Files (x86)\Microsoft Visual Studio\${{ matrix.vs }}\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
|
||||
call "%VCVARS%"
|
||||
set YACC=win_bison
|
||||
echo on
|
||||
nmake incs
|
||||
|
@ -61,7 +62,7 @@ jobs:
|
|||
- name: nmake test
|
||||
timeout-minutes: 30
|
||||
run: |
|
||||
call "C:\Program Files (x86)\Microsoft Visual Studio\${{ matrix.vs }}\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
|
||||
call "%VCVARS%"
|
||||
nmake ${{ matrix.test_task }}
|
||||
working-directory: build
|
||||
shell: cmd
|
||||
|
|
Loading…
Reference in a new issue