diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8e1ef83a..fdd5647b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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