Skip to content

Commit

Permalink
ci: Run unit test + downstream on main ubuntu build (gitlab)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Jan 10, 2025
1 parent d6eb834 commit 1e74758
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,27 @@ build_linux_ubuntu:
- cmake --build build -- -j6
- ccache -s

- ctest --test-dir build -j$(nproc)
- cmake --build build --target integrationtests

# Install main project
- cmake --install build

# Downstream configure
- >
cmake -B build-downstream -S src/Tests/DownstreamProject
-GNinja
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_CXX_FLAGS=-Werror
-DCMAKE_CXX_STANDARD=${CXXSTD}
-DCMAKE_PREFIX_PATH="${INSTALL_DIR}"
# Downstream build
- cmake --build build-downstream

# Downstream run
- ./build-downstream/bin/ShowActsVersion

linux_test_examples:
stage: test
image: ghcr.io/acts-project/ubuntu2404:63
Expand Down

0 comments on commit 1e74758

Please sign in to comment.