mirror of
https://github.com/aseprite/aseprite.git
synced 2024-10-06 06:50:07 +00:00
Add RelWithDebInfo and Debug build types to GitHub actions
This commit is contained in:
parent
0aeacd46de
commit
3adfe13b7e
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -7,11 +7,11 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [windows-latest, macos-latest, ubuntu-latest]
|
os: [windows-latest, macos-latest, ubuntu-latest]
|
||||||
build_type: [debug]
|
build_type: [RelWithDebInfo, Debug]
|
||||||
enable_ui: [off]
|
enable_ui: [off]
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
build_type: debug
|
build_type: Debug
|
||||||
enable_ui: on
|
enable_ui: on
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -42,6 +42,7 @@ jobs:
|
|||||||
export enable_ccache=on
|
export enable_ccache=on
|
||||||
fi
|
fi
|
||||||
cmake -S . -B build -G Ninja \
|
cmake -S . -B build -G Ninja \
|
||||||
|
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
|
||||||
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 \
|
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 \
|
||||||
-DENABLE_TESTS=ON \
|
-DENABLE_TESTS=ON \
|
||||||
-DENABLE_UI=${{ matrix.enable_ui }} \
|
-DENABLE_UI=${{ matrix.enable_ui }} \
|
||||||
|
Loading…
Reference in New Issue
Block a user