mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-08 08:41:21 +00:00
Compile demos during CI builds (#1037)
This commit is contained in:
parent
290ab8402b
commit
59fdc3795b
4 changed files with 37 additions and 2 deletions
|
@ -47,9 +47,14 @@ jobs:
|
|||
displayName: 'Compile fluidsynth'
|
||||
- script: |
|
||||
set -ex
|
||||
cd build || exit -1
|
||||
make -j3 check || exit -1
|
||||
cd build
|
||||
make -j3 check
|
||||
displayName: 'Execute Unittests'
|
||||
- script: |
|
||||
set -ex
|
||||
cd build
|
||||
make -j3 demo
|
||||
displayName: 'Compile demos'
|
||||
- script: |
|
||||
set -ex
|
||||
cd build
|
||||
|
|
|
@ -126,6 +126,10 @@ jobs:
|
|||
cmake --build build --config $(configuration) --target check --parallel 3
|
||||
displayName: 'Execute Unittests'
|
||||
condition: and(succeeded(), and(ne(variables['platform'], 'arm'), ne(variables['platform'], 'arm64')))
|
||||
- bash: |
|
||||
set -ex
|
||||
cmake --build build --config $(configuration) --target demo --parallel 3
|
||||
displayName: 'Compile demos'
|
||||
- script: |
|
||||
@ECHO ON
|
||||
cd build
|
||||
|
|
|
@ -73,6 +73,12 @@ jobs:
|
|||
cd build || exit -1
|
||||
cmake --build . --config Release --target check || exit -1
|
||||
displayName: 'Execute Unittests'
|
||||
- script: |
|
||||
@ECHO ON
|
||||
SET "PATH=d:\deps\bin;%PATH%"
|
||||
cd build || exit -1
|
||||
cmake --build . --config Release --target demo || exit -1
|
||||
displayName: 'Compile demos'
|
||||
- script: |
|
||||
@ECHO ON
|
||||
cd build
|
||||
|
@ -140,6 +146,12 @@ jobs:
|
|||
cd build || exit -1
|
||||
cmake --build . --config $(CMAKE_CONFIG) --target check || exit -1
|
||||
displayName: 'Execute Unittests'
|
||||
- script: |
|
||||
@ECHO ON
|
||||
SET "PATH=d:\deps\bin;%PATH%"
|
||||
cd build || exit -1
|
||||
cmake --build . --config $(CMAKE_CONFIG) --target demo || exit -1
|
||||
displayName: 'Compile demos'
|
||||
|
||||
- job: WindowsMinGW
|
||||
variables:
|
||||
|
@ -208,6 +220,15 @@ jobs:
|
|||
cd build || exit -1
|
||||
mingw32-make.exe -j4 check || exit -1
|
||||
displayName: 'Execute Unittests'
|
||||
- script: |
|
||||
@ECHO ON
|
||||
SET "PATH=d:\deps\bin;%PATH%"
|
||||
REM remove that path from PATH to make sure sh.exe is not found (cmake will complain otherwise)
|
||||
set PATH=%PATH:C:\Program Files\Git\bin;=%
|
||||
set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
|
||||
cd build || exit -1
|
||||
mingw32-make.exe -j4 demo || exit -1
|
||||
displayName: 'Compile demos'
|
||||
- script: |
|
||||
@ECHO ON
|
||||
cd build
|
||||
|
|
5
.github/workflows/linux.yml
vendored
5
.github/workflows/linux.yml
vendored
|
@ -93,6 +93,11 @@ jobs:
|
|||
# Execute tests defined by the CMake configuration.
|
||||
run: make -j`nproc` check
|
||||
|
||||
- name: Demo
|
||||
working-directory: ${{github.workspace}}/build
|
||||
shell: bash
|
||||
run: make -j`nproc` demo
|
||||
|
||||
- name: Install
|
||||
working-directory: ${{github.workspace}}/build
|
||||
run: make install
|
||||
|
|
Loading…
Reference in a new issue