build Release profile for Linux

develop
Myk Taylor 2023-07-29 00:48:17 -07:00
parent 6a50ae42ce
commit 88a46a1b5b
No known key found for this signature in database
2 changed files with 11 additions and 8 deletions

@ -73,16 +73,16 @@ jobs:
-S . \ -S . \
-B build-ci \ -B build-ci \
-G Ninja \ -G Ninja \
-DCMAKE_INSTALL_PREFIX="$DF_FOLDER" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DDFHACK_BUILD_ARCH=64 \ -DDFHACK_BUILD_ARCH=64 \
-DBUILD_TESTS:BOOL=ON \
-DBUILD_DEV_PLUGINS:BOOL=${{ matrix.plugins == 'all' }} \ -DBUILD_DEV_PLUGINS:BOOL=${{ matrix.plugins == 'all' }} \
-DBUILD_SIZECHECK:BOOL=${{ matrix.plugins == 'all' }} \ -DBUILD_SIZECHECK:BOOL=${{ matrix.plugins == 'all' }} \
-DBUILD_SKELETON:BOOL=${{ matrix.plugins == 'all' }} \ -DBUILD_SKELETON:BOOL=${{ matrix.plugins == 'all' }} \
-DBUILD_STONESENSE:BOOL=${{ matrix.plugins == 'all' }} \ -DBUILD_STONESENSE:BOOL=${{ matrix.plugins == 'all' }} \
-DBUILD_SUPPORTED:BOOL=1 \ -DBUILD_TESTS:BOOL=ON
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_INSTALL_PREFIX="$DF_FOLDER"
- name: Build DFHack - name: Build DFHack
run: | run: |
ninja -C build-ci install ninja -C build-ci install
@ -162,12 +162,13 @@ jobs:
-S . \ -S . \
-B build \ -B build \
-G Ninja \ -G Ninja \
-DDFHACK_BUILD_ARCH=64 \ -DCMAKE_INSTALL_PREFIX=build/output \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \ -DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DDFHACK_BUILD_ARCH=64 \
-DBUILD_DOCS:BOOL=1 \ -DBUILD_DOCS:BOOL=1 \
-DBUILD_STONESENSE:BOOL=1 \ -DBUILD_STONESENSE:BOOL=1
-DCMAKE_INSTALL_PREFIX=build/output
- name: Build DFHack - name: Build DFHack
run: | run: |
ninja -C build install ninja -C build install

@ -79,6 +79,7 @@ jobs:
-B build \ -B build \
-G Ninja \ -G Ninja \
-DCMAKE_INSTALL_PREFIX=build/common-output \ -DCMAKE_INSTALL_PREFIX=build/common-output \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \ -DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DDFHACK_BUILD_ARCH=64 \ -DDFHACK_BUILD_ARCH=64 \
@ -101,6 +102,7 @@ jobs:
-B build \ -B build \
-G Ninja \ -G Ninja \
-DCMAKE_INSTALL_PREFIX=build/linux-output \ -DCMAKE_INSTALL_PREFIX=build/linux-output \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \ -DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DDFHACK_BUILD_ARCH=64 \ -DDFHACK_BUILD_ARCH=64 \