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: Bump core count in GitLab CI to 8 #3651

Merged
merged 5 commits into from
Sep 26, 2024
Merged
Changes from 3 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
56 changes: 28 additions & 28 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ build_exatrkx_cpu:
tags:
- large

cache:
key: ccache-exatrkx-cpu-$CI_COMMIT_REF_SLUG
paths:
- ${CI_PROJECT_DIR}/ccache
# cache:
# key: ccache-exatrkx-cpu-$CI_COMMIT_REF_SLUG
# paths:
# - ${CI_PROJECT_DIR}/ccache

script:
- export PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH
Expand All @@ -81,7 +81,7 @@ build_exatrkx_cpu:
-DACTS_EXATRKX_ENABLE_CUDA=OFF

- ccache -z
- cmake --build build -- -j2
- cmake --build build -- -j8
- ccache -s

build_exatrkx:
Expand All @@ -90,10 +90,10 @@ build_exatrkx:
tags:
- large

cache:
key: ccache-exatrkx-$CI_COMMIT_REF_SLUG
paths:
- ${CI_PROJECT_DIR}/ccache
# cache:
# key: ccache-exatrkx-$CI_COMMIT_REF_SLUG
# paths:
# - ${CI_PROJECT_DIR}/ccache

artifacts:
paths:
Expand All @@ -119,7 +119,7 @@ build_exatrkx:
-DCMAKE_CUDA_ARCHITECTURES="75;86"

- ccache -z
- cmake --build build -- -j2
- cmake --build build -- -j8
- ccache -s

# test_exatrkx_unittests:
Expand Down Expand Up @@ -154,11 +154,11 @@ build_linux_ubuntu:
stage: build
image: ghcr.io/acts-project/ubuntu2404:58

cache:
key: ccache-${CI_JOB_NAME_SLUG}-${HEAD_REF}-${CCACHE_KEY_SUFFIX}
when: 'always'
paths:
- ${CI_PROJECT_DIR}/ccache
# cache:
# key: ccache-${CI_JOB_NAME_SLUG}-${HEAD_REF}-${CCACHE_KEY_SUFFIX}
# when: 'always'
# paths:
# - ${CI_PROJECT_DIR}/ccache

artifacts:
paths:
Expand Down Expand Up @@ -186,7 +186,7 @@ build_linux_ubuntu:
-DACTS_BUILD_PLUGIN_ONNX=ON

- ccache -z
- cmake --build build -- -j2
- cmake --build build -- -j8
- ccache -s

linux_test_examples:
Expand Down Expand Up @@ -249,11 +249,11 @@ linux_physmon:

stage: build

cache:
key: ccache-${CI_JOB_NAME_SLUG}-${HEAD_REF}-${CCACHE_KEY_SUFFIX}
when: 'always'
paths:
- ${CI_PROJECT_DIR}/ccache
# cache:
# key: ccache-${CI_JOB_NAME_SLUG}-${HEAD_REF}-${CCACHE_KEY_SUFFIX}
# when: 'always'
# paths:
# - ${CI_PROJECT_DIR}/ccache

script:
- git clone $CLONE_URL src
Expand All @@ -271,7 +271,7 @@ linux_physmon:
-DCMAKE_CXX_STANDARD=${CXXSTD}

- ccache -z
- cmake --build build -- -j2
- cmake --build build -- -j8
- ccache -s

- ctest --test-dir build -j$(nproc)
Expand Down Expand Up @@ -324,11 +324,11 @@ linux_ubuntu_2204_clang:

SETUP:

cache:
key: ccache-${CI_JOB_NAME_SLUG}-${HEAD_REF}-${CCACHE_KEY_SUFFIX}
when: 'always'
paths:
- ${CI_PROJECT_DIR}/ccache
# cache:
# key: ccache-${CI_JOB_NAME_SLUG}-${HEAD_REF}-${CCACHE_KEY_SUFFIX}
# when: 'always'
# paths:
# - ${CI_PROJECT_DIR}/ccache

before_script:
- 'echo "LCG_VERSION: ${LCG_VERSION}"'
Expand Down Expand Up @@ -367,7 +367,7 @@ linux_ubuntu_2204_clang:
-DACTS_BUILD_PLUGIN_GEOMODEL=OFF # GeoModel is not in LCG at this point

- ccache -z
- cmake --build build -- -j2
- cmake --build build -- -j8
- ccache -s

- ctest --test-dir build -j$(nproc)
Expand Down
Loading