Add back VS2022 builds
This commit is contained in:
parent
b39f1fbe60
commit
ea762e9f1b
|
@ -55,15 +55,24 @@ jobs:
|
||||||
run: .\xb lint --all
|
run: .\xb lint --all
|
||||||
|
|
||||||
build-windows:
|
build-windows:
|
||||||
name: Build (Windows) # runner.os can't be used here
|
name: Build (Windows, VS${{ matrix.vsver }}) # runner.os can't be used here
|
||||||
runs-on: windows-2019
|
|
||||||
needs: lint
|
needs: lint
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
vsver: [2022, 2019]
|
||||||
|
runs-on: windows-${{ matrix.vsver }}
|
||||||
env:
|
env:
|
||||||
POWERSHELL_TELEMETRY_OPTOUT: 1
|
POWERSHELL_TELEMETRY_OPTOUT: 1
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
- name: Update Python (VS2019)
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
if: matrix.vsver == '2019'
|
||||||
|
with:
|
||||||
|
python-version: '3.12'
|
||||||
- name: Setup
|
- name: Setup
|
||||||
run: .\xb setup
|
run: .\xb setup
|
||||||
- name: Build
|
- name: Build
|
||||||
|
@ -76,7 +85,7 @@ jobs:
|
||||||
- name: Upload xenia canary artifacts
|
- name: Upload xenia canary artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: xenia_canary
|
name: xenia_canary_vs${{ matrix.vsver }}
|
||||||
path: artifacts\xenia_canary
|
path: artifacts\xenia_canary
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
- name: Create release
|
- name: Create release
|
||||||
|
@ -84,7 +93,8 @@ jobs:
|
||||||
github.repository == 'xenia-canary/xenia-canary' &&
|
github.repository == 'xenia-canary/xenia-canary' &&
|
||||||
github.event.action != 'pull_request' &&
|
github.event.action != 'pull_request' &&
|
||||||
contains(github.ref, 'refs/heads/canary') &&
|
contains(github.ref, 'refs/heads/canary') &&
|
||||||
github.ref != 'refs/heads/canary_base'
|
github.ref != 'refs/heads/canary_base' &&
|
||||||
|
matrix.vsver == '2019'
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue