diff --git a/.github/workflows/Linux_options.yml b/.github/workflows/Linux_options.yml index 8f13241..853f803 100644 --- a/.github/workflows/Linux_options.yml +++ b/.github/workflows/Linux_options.yml @@ -18,17 +18,14 @@ concurrency: jobs: Linux_options: - runs-on: ubuntu-latest - env: - FC: gfortran - CC: gcc + runs-on: ubuntu-24.04 strategy: # fail-fast: true matrix: config: - { - options: "-DUSE_IPOLATES=ON" + options: "-DUSE_IPOLATES=ON -DBLA_VENDOR=OpenBLAS" } - { options: "-DUSE_AEC=ON" @@ -42,21 +39,30 @@ jobs: - { options: "-DUSE_OPENJPEG=ON" } + gcc-version: [12] + include: + - gcc-version: 14 steps: - name: install run: | sudo apt-get update - sudo apt-get install libnetcdf-dev libnetcdff-dev netcdf-bin pkg-config - sudo apt-get install libpng-dev autotools-dev autoconf libaec-dev + sudo apt-get install libnetcdf-dev libnetcdff-dev netcdf-bin pkg-config \ + libpng-dev autotools-dev autoconf libaec-dev libopenblas-serial-dev \ + libopenjp2-7 libopenjp2-7-dev + if [ -z $(type -P gcc-${{ matrix.gcc-version }}) ]; then + sudo apt-get install gcc-${{ matrix.gcc-version }} gfortran-${{ matrix.gcc-version }} + fi + echo "CC=gcc-${{ matrix.gcc-version }}" >> $GITHUB_ENV + echo "FC=gfortran-${{ matrix.gcc-version }}" >> $GITHUB_ENV - name: cache-jasper id: cache-jasper uses: actions/cache@v3 with: path: ~/jasper - key: jasper-${{ runner.os }}-1.900.1 + key: jasper-${{ runner.os }}-gcc${{ matrix.gcc-version }}-1.900.1 - name: checkout-jasper if: steps.cache-jasper.outputs.cache-hit != 'true' @@ -70,7 +76,7 @@ jobs: if: steps.cache-jasper.outputs.cache-hit != 'true' run: | cd jasper - ./configure --prefix=$HOME/jasper + CFLAGS="-Wno-implicit-function-declaration -Wno-incompatible-pointer-types" ./configure --prefix=$HOME/jasper make make install @@ -79,7 +85,7 @@ jobs: uses: actions/cache@v3 with: path: ~/ip - key: ip-${{ runner.os }}-develop + key: ip-${{ runner.os }}-gcc${{ matrix.gcc-version }}-develop - name: checkout-ip if: steps.cache-ip.outputs.cache-hit != 'true'