ci: Add support for SDK 2013 SP to CI
This commit is contained in:
parent
2812b58680
commit
9a44e687c6
|
@ -4,20 +4,24 @@ on: [push, pull_request, workflow_dispatch]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-set-windows:
|
build-set-windows:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
source_branch: [sdk2013-sp, sdk2013-mp]
|
||||||
|
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Mini Source SDK 2013
|
- name: Checkout Mini Source SDK
|
||||||
id: checkout-minisdk
|
id: checkout-minisdk
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: 'Joshua-Ashton/mini-source-sdk-2013'
|
repository: 'Joshua-Ashton/mini-source-sdk'
|
||||||
|
|
||||||
- name: Checkout VPhysics Jolt
|
- name: Checkout VPhysics Jolt
|
||||||
id: checkout-code
|
id: checkout-code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
path: 'mp/src/vphysics_jolt'
|
path: '${{ matrix.source_branch }}/src/vphysics_jolt'
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Find Visual Studio
|
- name: Find Visual Studio
|
||||||
|
@ -33,7 +37,7 @@ jobs:
|
||||||
- name: Build MSVC x86
|
- name: Build MSVC x86
|
||||||
id: build
|
id: build
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
working-directory: 'mp/src'
|
working-directory: '${{ matrix.source_branch }}/src'
|
||||||
run: |
|
run: |
|
||||||
& "${Env:COMSPEC}" /s /c "`"${Env:VSDEVCMD}`" -arch=x86 -host_arch=x64 -no_logo && set" `
|
& "${Env:COMSPEC}" /s /c "`"${Env:VSDEVCMD}`" -arch=x86 -host_arch=x64 -no_logo && set" `
|
||||||
| % { , ($_ -Split '=', 2) } `
|
| % { , ($_ -Split '=', 2) } `
|
||||||
|
@ -47,6 +51,6 @@ jobs:
|
||||||
id: upload-artifacts
|
id: upload-artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: vphysics_jolt_sdk2013_win32
|
name: vphysics_jolt_${{ matrix.source_branch }}_win32
|
||||||
path: mp/game
|
path: ${{ matrix.source_branch }}/game
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
Loading…
Reference in New Issue