Build release artifacts with RelWithDebInfo
Release / release (push) Failing after 5m4s

This commit is contained in:
faumaray committed 2026-08-01 18:07:44 +03:00
1 parent c0cd95187d
commit aa5e0add60
1 file changed
+9 -5
+9 -5
View File
@@ -56,16 +56,17 @@ jobs:
- name: Configure
run: |
cmake -S . -B build-release -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
cmake -S . -B build-relwithdebinfo -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_SHARED_LIBS=ON \
-DVOID_TEAMSPEAK_BUILD_TESTS=ON \
-DCPM_Void_SOURCE="$PWD/.deps/VoidLibrary"
- name: Build and test
run: |
cmake --build build-release --parallel
ctest --test-dir build-release --output-on-failure
cmake --build build-relwithdebinfo --config RelWithDebInfo --parallel
ctest --test-dir build-relwithdebinfo \
--build-config RelWithDebInfo --output-on-failure
- name: Install and package
shell: bash
@@ -74,8 +75,11 @@ jobs:
version="${GITHUB_REF_NAME#v}"
package="voidteamspeak-${version}-linux-x86_64"
epoch="$(git show -s --format=%ct HEAD)"
cmake --install build-release \
cmake --install build-relwithdebinfo \
--config RelWithDebInfo \
--prefix "$PWD/stage/$package"
python3 .release-tools/scripts/verify-relwithdebinfo.py \
--root "$PWD/stage/$package"
mkdir -p dist
SOURCE_DATE_EPOCH="$epoch" \
tar --sort=name --mtime="@$epoch" \