mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-05-08 05:24:56 +00:00
chore: add x64 build to ci
This commit is contained in:
parent
365b627523
commit
088d14f894
19
.github/workflows/ci.yaml
vendored
19
.github/workflows/ci.yaml
vendored
@ -10,6 +10,9 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-test-linux:
|
build-test-linux:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
build_arch: [x86, x64]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: ubuntu:24.04
|
container: ubuntu:24.04
|
||||||
steps:
|
steps:
|
||||||
@ -35,10 +38,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ${{ github.workspace }}
|
working-directory: ${{ github.workspace }}
|
||||||
run: make -C build -j$(nproc) config=release_x86 all
|
run: make -C build -j$(nproc) config=release_${{ matrix.build_arch }} all
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
working-directory: ${{ github.workspace }}/build/lib/Release_x86/tests
|
working-directory: ${{ github.workspace }}/build/lib/Release_${{ matrix.build_arch }}/tests
|
||||||
run: |
|
run: |
|
||||||
./ObjCommonTests
|
./ObjCommonTests
|
||||||
./ObjCompilingTests
|
./ObjCompilingTests
|
||||||
@ -48,6 +51,14 @@ jobs:
|
|||||||
./ZoneCommonTests
|
./ZoneCommonTests
|
||||||
|
|
||||||
build-test-windows:
|
build-test-windows:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
build_arch: [x86, x64]
|
||||||
|
include:
|
||||||
|
- build_arch: x86
|
||||||
|
msbuild_config: Win32
|
||||||
|
- build_arch: x64
|
||||||
|
msbuild_config: x64
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@ -66,10 +77,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ${{ github.workspace }}
|
working-directory: ${{ github.workspace }}
|
||||||
run: msbuild /m /p:Configuration=Release /p:Platform=Win32 build
|
run: msbuild /m /p:Configuration=Release /p:Platform=${{ matrix.msbuild_config }} build
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
working-directory: ${{ github.workspace }}/build/lib/Release_x86/tests
|
working-directory: ${{ github.workspace }}/build/lib/Release_${{ matrix.build_arch }}/tests
|
||||||
run: |
|
run: |
|
||||||
$combinedExitCode = 0
|
$combinedExitCode = 0
|
||||||
./ObjCommonTests
|
./ObjCommonTests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user