diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 6784b8dd0..bfbba0559 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -35,6 +35,9 @@ jobs: - os: ubuntu-latest build: cmake-inline toolchain: {compiler: gcc, version: 10} + - os: ubuntu-latest + build: cmake-3.14 + toolchain: {compiler: gcc, version: 10} exclude: - os: macos-14 toolchain: {compiler: intel, version: '2024.1'} @@ -55,6 +58,10 @@ jobs: - name: Install fypp run: pip install --upgrade fypp ninja + - name: Install cmake-3.14 + if: ${{ matrix.build == 'cmake-3.14' }} + run: pip install cmake==3.14.3 + - name: Setup Fortran compiler uses: fortran-lang/setup-fortran@v1.6.2 id: setup-fortran @@ -64,7 +71,7 @@ jobs: # Build and test with built-in BLAS and LAPACK - name: Configure with CMake - if: ${{ contains(matrix.build, 'cmake') }} + if: ${{ contains(matrix.build, 'cmake') && matrix.build != 'cmake-3.14' }} run: >- cmake -Wdev -G Ninja -DCMAKE_BUILD_TYPE=Release @@ -73,6 +80,16 @@ jobs: -DFIND_BLAS:STRING=FALSE -S . -B ${{ env.BUILD_DIR }} + - name: Configure with CMake 3.14 + if: ${{ matrix.build == 'cmake-3.14' }} + run: >- + cmake -Wdev + -DCMAKE_BUILD_TYPE=Release + -DCMAKE_MAXIMUM_RANK:String=4 + -DCMAKE_INSTALL_PREFIX=$PWD/_dist + -DFIND_BLAS:STRING=FALSE + -S . -B ${{ env.BUILD_DIR }} + - name: Build and compile if: ${{ contains(matrix.build, 'cmake') }} run: cmake --build ${{ env.BUILD_DIR }} --parallel