Skip to content

Commit

Permalink
Added more compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanMabille committed Jan 16, 2024
1 parent cd06b35 commit 8d8b3c8
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
matrix:
runs-on: [ubuntu-latest]
sys:
- {compiler: gcc, version: '11', name: c++17, flags: -DCPP17=ON}
- {compiler: clang, version: '15', name: assert, flags: -DXTENSOR_ENABLE_ASSERT=ON}
- {compiler: clang, version: '16', name: column-major, flags: -DDEFAULT_COLUMN_MAJOR=ON}
- {compiler: default, version: '', name: tbb, flags: -DXTENSOR_USE_TBB=ON -DTBB_INCLUDE_DIR=$CONDA_PREFIX/include -DTBB_LIBRARY=$CONDA_PREFIX/lib}
- {compiler: default, version: '', name: openmp, flags: -DXTENSOR_USE_OPENMP=ON}
- {compiler: default, version: '', name: noexcept, flags: -DXTENSOR_DISABLE_EXCEPTIONS=ON}
- {compiler: default, version: '', name: xsimd, flags: -DXTENSOR_USE_XSIMD=ON}
- {compiler: default, version: '', name: xsimd-tbb, flags: -DXTENSOR_USE_XSIMD=ON -DXTENSOR_USE_TBB=ON}
- {compiler: gcc, version: '7', name: tbb, flags: -DXTENSOR_USE_TBB=ON -DTBB_INCLUDE_DIR=$CONDA_PREFIX/include -DTBB_LIBRARY=$CONDA_PREFIX/lib}
- {compiler: gcc, version: '8', name: openmp, flags: -DXTENSOR_USE_OPENMP=ON}
- {compiler: gcc, version: '9', name: noexcept, flags: -DXTENSOR_DISABLE_EXCEPTIONS=ON}
- {compiler: gcc, version: '10', name: xsimd, flags: -DXTENSOR_USE_XSIMD=ON}
- {compiler: gcc, version: '11', name: c++17, flags: -DCPP17=ON}
- {compiler: gcc, version: '12', name: xsimd-tbb, flags: -DXTENSOR_USE_XSIMD=ON -DXTENSOR_USE_TBB=ON}

defaults:
run:
Expand All @@ -35,8 +35,12 @@ jobs:
- name: Setup GCC
if: ${{ matrix.sys.compiler == 'gcc' }}
run: |
echo "CC=gcc-${{ matrix.sys.version }}" >> $GITHUB_ENV
echo "CXX=g++-${{ matrix.sys.version }}" >> $GITHUB_ENV
GCC_VERSION=${{ matrix.sys.version }}
sudo apt-get update
sudo apt-get --no-install-suggests --no-install-recommends install g++-$GCC_VERSION
CC=gcc-$GCC_VERSION
echo "CC=$CC" >> $GITHUB_ENV
CXX=g++-$GCC_VERSION
- name: Setup clang
if: ${{ matrix.sys.compiler == 'clang' }}
Expand Down

0 comments on commit 8d8b3c8

Please sign in to comment.