Skip to content

Commit

Permalink
ci-check
Browse files Browse the repository at this point in the history
  • Loading branch information
AJPfleger committed Oct 17, 2024
1 parent 7436f40 commit 75265fb
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,61 @@ jobs:
- name: Downstream run
run: ./build-downstream/bin/ShowActsVersion

linux_acts_scalar:
runs-on: ubuntu-latest
container: ghcr.io/acts-project/ubuntu2404:58
env:
INSTALL_DIR: ${{ github.workspace }}/install
ACTS_LOG_FAILURE_THRESHOLD: WARNING
steps:
- name: Install git lfs
run: apt-get update && apt-get install -y git-lfs

- uses: actions/checkout@v4
with:
submodules: true
lfs: true

- name: Restore ccache
uses: actions/cache/restore@v4
id: ccache-restore
with:
path: ${{ github.workspace }}/ccache
key: ${{ runner.os }}-ccache-linux_ubuntu_${{ env.CCACHE_KEY_SUFFIX }}_${{ github.sha }}
restore-keys: |
${{ runner.os }}-ccache-linux_ubuntu_${{ env.CCACHE_KEY_SUFFIX }}_
- name: Configure
# setting CMAKE_CXX_STANDARD=20 is a workaround for a bug in the
# dd4hep CMake configuration that gets triggered on recent CMake
# versions
# Need to set git user & email for patching to work (GeoModel plugin)
run: >
git config --global user.name 'CI' &&
git config --global user.email '<>' &&
ccache -z &&
cmake -B build -S .
-DCMAKE_CXX_FLAGS="-Wno-narrowing"
-DACTS_CUSTOM_SCALARTYPE=float
- name: Build
run: cmake --build build

- name: ccache stats
run: ccache -s

- name: Save ccache
uses: actions/cache/save@v4
if: always()
with:
path: ${{ github.workspace }}/ccache
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}

- uses: actions/upload-artifact@v4
with:
name: acts-linux-ubuntu
path: build.tar.gz

macos:
runs-on: macos-14
env:
Expand Down

0 comments on commit 75265fb

Please sign in to comment.