GHA: Use mingw & d3d12 for Windows builds

This commit is contained in:
Serhii Snitsaruk 2024-11-16 22:02:30 +01:00
parent ba90deaa6a
commit 1ba5a405e7
No known key found for this signature in database
GPG Key ID: A965EF8799FFEC2D
1 changed files with 6 additions and 11 deletions

View File

@ -34,13 +34,13 @@ on:
env: env:
SCONS_CACHE_MSVC_CONFIG: true SCONS_CACHE_MSVC_CONFIG: true
SCONS_CACHE_LIMIT: 4096 SCONS_CACHE_LIMIT: 4096
SCONSFLAGS: production=yes tests=no verbose=yes warnings=extra werror=yes SCONSFLAGS: production=yes use_mingw=yes d3d12=yes tests=no verbose=yes warnings=extra werror=yes
DOTNET_NOLOGO: true DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true DOTNET_CLI_TELEMETRY_OPTOUT: true
jobs: jobs:
windows-builds: windows-builds:
runs-on: "windows-latest" runs-on: "ubuntu-latest"
name: ${{ matrix.opts.name }} name: ${{ matrix.opts.name }}
strategy: strategy:
fail-fast: false fail-fast: false
@ -194,15 +194,10 @@ jobs:
python-version: "3.x" python-version: "3.x"
architecture: "x64" architecture: "x64"
- name: Set up scons - name: Set up Linux toolchain
run: | uses: ./modules/limboai/.github/actions/setup-linux-toolchain
python -c "import sys; print(sys.version)" with:
python -m pip install scons==4.4.0 arch: ${{matrix.opts.arch}}
python --version
scons --version
- name: Set up MSVC problem matcher
uses: ammaraskar/msvc-problem-matcher@master
- name: Set up scons cache - name: Set up scons cache
uses: actions/cache@v4 uses: actions/cache@v4