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 Updates, main branch (2024.11.28.) #139

Merged
merged 2 commits into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
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
33 changes: 15 additions & 18 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,47 +72,47 @@ jobs:
CONTAINER: "ghcr.io/acts-project/ubuntu2404:56"
OPTIONS: --preset eigen -DALGEBRA_PLUGINS_USE_SYSTEM_EIGEN3=TRUE
RUN_TESTS: true
ENVIRONMENT:
- NAME: "HOST"
CONTAINER: "ghcr.io/acts-project/ubuntu2404:67"
OPTIONS: --preset eigen
RUN_TESTS: true
ENVIRONMENT:
- NAME: "HOST"
CONTAINER: "ghcr.io/acts-project/ubuntu2404:56"
OPTIONS: -DALGEBRA_PLUGINS_INCLUDE_SMATRIX=TRUE
RUN_TESTS: true
ENVIRONMENT:
- NAME: "HOST"
CONTAINER: "ghcr.io/acts-project/ubuntu2404:67"
OPTIONS: --preset vc
RUN_TESTS: true
ENVIRONMENT:
- NAME: "HOST"
CONTAINER: "ghcr.io/acts-project/ubuntu2404:67"
OPTIONS: --preset vecmem
RUN_TESTS: true
ENVIRONMENT:
- NAME: "HOST"
CONTAINER: "ghcr.io/acts-project/ubuntu2404:67"
OPTIONS: --preset fastor
RUN_TESTS: true
ENVIRONMENT:
- NAME: "CUDA"
CONTAINER: "ghcr.io/acts-project/ubuntu2404_cuda:67"
OPTIONS: --preset cuda
RUN_TESTS: false
ENVIRONMENT:
- NAME: "SYCL Intel"
CONTAINER: "ghcr.io/acts-project/ubuntu2404_oneapi:67"
CONTAINER: "ghcr.io/acts-project/ubuntu2404_oneapi:69"
OPTIONS: --preset sycl
RUN_TESTS: false
ENVIRONMENT: export SYCLFLAGS="-fsycl"
- NAME: "SYCL AMD"
CONTAINER: "ghcr.io/acts-project/ubuntu2404_rocm_oneapi:67"
OPTIONS: --preset sycl
RUN_TESTS: false
ENVIRONMENT:
RUN_TESTS: true
include:
- BUILD_TYPE: "Release"
PLATFORM:
NAME: "SYCL AMD"
CONTAINER: "ghcr.io/acts-project/ubuntu2404_rocm_oneapi:69"
OPTIONS: --preset sycl
RUN_TESTS: false
- BUILD_TYPE: "Release"
PLATFORM:
NAME: "SYCL NVIDIA"
CONTAINER: "ghcr.io/acts-project/ubuntu2404_cuda_oneapi:69"
OPTIONS: --preset sycl -DALGEBRA_PLUGINS_TEST_CUDA=FALSE
RUN_TESTS: false

# The system to run on.
runs-on: ubuntu-latest
Expand All @@ -131,19 +131,16 @@ jobs:
- name: Configure
run: |
source ${GITHUB_WORKSPACE}/.github/ci_setup.sh ${{ matrix.PLATFORM.NAME }}
${{ matrix.PLATFORM.ENVIRONMENT }}
cmake ${{ matrix.PLATFORM.OPTIONS }} -DCMAKE_BUILD_TYPE=${{ matrix.BUILD_TYPE }} -S ${GITHUB_WORKSPACE} -B build
# Perform the build.
- name: Build
run: |
source ${GITHUB_WORKSPACE}/.github/ci_setup.sh ${{ matrix.PLATFORM.NAME }}
${{ matrix.PLATFORM.ENVIRONMENT }}
cmake --build build
# Run the unit test(s).
- name: Test
if: "matrix.PLATFORM.RUN_TESTS"
run: |
cd build
source ${GITHUB_WORKSPACE}/.github/ci_setup.sh ${{ matrix.PLATFORM.NAME }}
${{ matrix.PLATFORM.ENVIRONMENT }}
ctest --output-on-failure
4 changes: 2 additions & 2 deletions tests/accelerator/sycl/eigen_eigen.sycl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** Algebra plugins library, part of the ACTS project
*
* (c) 2020-2023 CERN for the benefit of the ACTS project
* (c) 2020-2024 CERN for the benefit of the ACTS project
*
* Mozilla Public License Version 2.0
*/
Expand Down Expand Up @@ -43,5 +43,5 @@ typedef testing::Types<
algebra::eigen::vector2<double>, algebra::eigen::vector3<double>,
algebra::eigen::transform3<double>, int, algebra::eigen::matrix_type>>
eigen_eigen_types;
INSTANTIATE_TYPED_TEST_SUITE_P(algebra_plugins, test_sycl_basics,
INSTANTIATE_TYPED_TEST_SUITE_P(DISABLED_algebra_plugins, test_sycl_basics,
eigen_eigen_types, test_specialisation_name);