Try using an another shell.

This commit is contained in:
Relintai 2022-10-09 09:08:43 +02:00
parent 3452f8bc5e
commit 96e504a804
2 changed files with 7 additions and 3 deletions

View File

@ -27,13 +27,12 @@ runs:
using: "composite"
steps:
- name: Scons Build
shell: cmd
shell: pwsh
env:
SCONSFLAGS: ${{ inputs.sconsflags }}
SCONS_CACHE: ${{ inputs.scons-cache }}
SCONS_CACHE_LIMIT: ${{ inputs.scons-cache-limit }}
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\vcvarsall.bat" x86
echo "Building with flags:" ${{ env.SCONSFLAGS }}
scons p=${{ inputs.platform }} target=${{ inputs.target }} tools=${{ inputs.tools }} tests=${{ inputs.tests }} --jobs=2 ${{ env.SCONSFLAGS }}
dir /a bin/
ls -l bin/

View File

@ -45,6 +45,11 @@ jobs:
- name: Setup python and scons
uses: ./.github/actions/pandemonium-deps
- name: Set up Visual Studio shell
uses: egor-tensin/vs-shell@v2
with:
arch: x86
- name: Compilation
uses: ./.github/actions/pandemonium-build
with: