1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add shell: cmd

Use cmd instead of new default shell for `call`.
https://github.blog/changelog/2019-10-17-github-actions-default-shell-on-windows-runners-is-changing-to-powershell/

7bcc639c72/checks (step):6:5
```
call : The term 'call' is not recognized as the name of a cmdlet, function, script file, or operable program.
```
This commit is contained in:
Kazuhiro NISHIYAMA 2019-10-25 10:45:46 +09:00
parent 7bcc639c72
commit a7ec88ad61
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -43,16 +43,19 @@ jobs:
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\${{ matrix.vs }}\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
win32/configure.bat --disable-install-doc --without-ext=+,dbm,gdbm --enable-bundled-libffi --with-opt-dir=C:/vcpkg/installed/x64-windows
shell: cmd
- name: nmake
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\${{ matrix.vs }}\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
set YACC=win_bison
nmake up
nmake
shell: cmd
- name: nmake test
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\${{ matrix.vs }}\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
nmake ${{ matrix.test_task }}
shell: cmd
- uses: k0kubun/action-slack@v2.0.0
with:
payload: |