Skip to content

Commit ebeb3c6

Browse files
authored
Add Linux ARM builds (#2910)
# Checklist - [x] The title and commit message(s) are descriptive. - [x] Small commits made to fix your PR have been squashed to avoid history pollution. - [x] Tests have been added for new features or bug fixes. - [x] API of new functions and classes are documented. # Description Add Linux ARM build on the CI --------- Co-authored-by: Alexis Placet <2400067+Alex-PLACET@users.noreply.github.com>
1 parent 6c2e51b commit ebeb3c6

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

.github/workflows/linux.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ defaults:
1212
shell: bash -e -l {0}
1313
jobs:
1414
build:
15-
runs-on: ubuntu-24.04
16-
name: ${{ matrix.sys.compiler }} ${{ matrix.sys.version }} - ${{ matrix.sys.name }}
15+
runs-on: ${{ matrix.os }}
16+
name: ${{ matrix.os }} ${{ matrix.sys.compiler }} ${{ matrix.sys.version }} - ${{ matrix.sys.name }}
1717
strategy:
1818
fail-fast: false
1919
matrix:
20+
os: [ubuntu-24.04, ubuntu-24.04-arm]
2021
sys:
2122
- {compiler: clang, version: '17', name: assert, flags: -DXTENSOR_ENABLE_ASSERT=ON}
2223
- {compiler: clang, version: '18', name: column-major, flags: -DDEFAULT_COLUMN_MAJOR=ON}
@@ -38,6 +39,16 @@ jobs:
3839
# - {compiler: gcc, version: '15', name: tbb, flags: -DXTENSOR_USE_TBB=ON -DTBB_INCLUDE_DIR=$CONDA_PREFIX/include -DTBB_LIBRARY=$CONDA_PREFIX/lib}
3940
# - {compiler: gcc, version: '16', name: xsimd-tbb, flags: -DXTENSOR_USE_XSIMD=ON -DXTENSOR_USE_TBB=ON}
4041
# - {compiler: gcc, version: '16', name: tbb, flags: -DXTENSOR_USE_TBB=ON -DTBB_INCLUDE_DIR=$CONDA_PREFIX/include -DTBB_LIBRARY=$CONDA_PREFIX/lib}
42+
exclude:
43+
- os: ubuntu-24.04-arm
44+
sys:
45+
compiler: gcc
46+
version: '12'
47+
- os: ubuntu-24.04-arm
48+
sys:
49+
compiler: gcc
50+
version: '11'
51+
4152
steps:
4253
- name: Install GCC
4354
if: matrix.sys.compiler == 'gcc'

0 commit comments

Comments
 (0)