From 75265fb29a68ffe77a352cd8b2d5486340c71efc Mon Sep 17 00:00:00 2001 From: AJPfleger Date: Thu, 17 Oct 2024 15:58:21 +0200 Subject: [PATCH] ci-check --- .github/workflows/builds.yml | 55 ++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 06312a6b339..6df168cbc5a 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -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: