mirror of https://github.com/axmolengine/axmol.git
Update pr-ci.yml
This commit is contained in:
parent
75644ae251
commit
d47a6712b3
|
@ -19,9 +19,17 @@ env:
|
|||
GITHUB_CI: true
|
||||
|
||||
jobs:
|
||||
build-win32:
|
||||
name: build-win32
|
||||
build-windows:
|
||||
name: build-windows
|
||||
runs-on: windows-latest
|
||||
strategy:
|
||||
matrix:
|
||||
arch:
|
||||
- x86
|
||||
- x64
|
||||
env:
|
||||
BUILD_TARGET: windows
|
||||
BUILD_ARCH: ${{ matrix.arch }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
|
@ -30,10 +38,7 @@ jobs:
|
|||
- name: Setup Python
|
||||
uses: actions/setup-python@v2
|
||||
- name: Build
|
||||
shell: cmd
|
||||
run: |
|
||||
cmake -S %GITHUB_WORKSPACE% -B %GITHUB_WORKSPACE%/build_x86 -DCMAKE_BUILD_TYPE=%BUILD_TYPE% -A Win32 -DBUILD_EXTENSION_IMGUIEXT=ON
|
||||
cmake --build %GITHUB_WORKSPACE%/build_x86 --config %BUILD_TYPE% --target cpp-tests
|
||||
run: tools\windows-ci\build.ps1 $env:BUILD_ARCH
|
||||
|
||||
build-linux:
|
||||
name: build-linux
|
||||
|
|
Loading…
Reference in New Issue