Skip to content

Commit

Permalink
Fix default compiler usage in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjala committed Dec 16, 2024
1 parent 0eb679f commit fbd6ae0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
matrix:
os: [ubuntu-22.04, ubuntu-latest]
build_system: ["autotools", "cmake"]
python-version: ["3.10"]
python-version: ["3.10", "3.11"]
hdf5-branch: ["hdf5_1_14", "develop"]
compiler: ["gcc-11", "gcc-12", "gcc-13"]
exclude:
Expand Down Expand Up @@ -84,6 +84,7 @@ jobs:
-DHDF5_ENABLE_Z_LIB_SUPPORT=OFF \
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DHDF5_ENABLE_THREADSAFE=OFF \
-DCMAKE_INSTALL_PREFIX=${{github.workspace}}/hdf5install \
-DCMAKE_C_COMPILER=${{matrix.compiler}} \
..
make
make install
Expand Down Expand Up @@ -120,7 +121,10 @@ jobs:
run: |
./autogen.sh
mkdir ${{github.workspace}}/vol-rest/install
CFLAGS="-D_POSIX_C_SOURCE=200809L" ./configure --prefix=${{github.workspace}}/vol-rest/install --with-hdf5=${{github.workspace}}/hdf5install
CFLAGS="-D_POSIX_C_SOURCE=200809L" ./configure \
--prefix=${{github.workspace}}/vol-rest/install \
--with-hdf5=${{github.workspace}}/hdf5install \
CC=${{matrix.compiler}}
shell: bash
working-directory: ${{github.workspace}}/vol-rest

Expand Down

0 comments on commit fbd6ae0

Please sign in to comment.