Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Run unit test + downstream on main ubuntu build (gitlab) #4020

Merged
merged 4 commits into from
Jan 15, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,26 @@ 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_PREFIX_PATH="${INSTALL_DIR}"

# Downstream build
- cmake --build build-downstream

# Downstream run
- ./build-downstream/bin/ShowActsVersion
paulgessinger marked this conversation as resolved.
Show resolved Hide resolved

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