Skip to content

Commit

Permalink
Add different GCC versions to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjala committed Dec 13, 2024
1 parent 732a629 commit bbbf587
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-22.04, ubuntu-latest]
compiler: [gcc-11, gcc-12, gcc-13]
python-version: ["3.10"]
hdf5-branch: ["hdf5_1_14"]

Expand Down Expand Up @@ -64,7 +65,8 @@ jobs:
./autogen.sh
./configure --prefix=${{github.workspace}}/hdf5install \
--enable-hl --disable-threadsafe \
--enable-build-mode=production --enable-shared
--enable-build-mode=production --enable-shared \
CC=${{matrix.compiler}}
make
make install
shell: bash
Expand Down Expand Up @@ -126,7 +128,6 @@ jobs:
pip install requests==2.31.0
- name: Start HSDS
if: ${{ matrix.endpoint != 'http://127.0.0.1:5101'}}
run: |
cd ${{github.workspace}}/hsds
mkdir ${{github.workspace}}/hsdsdata &&
Expand All @@ -140,7 +141,6 @@ jobs:
working-directory: ${{github.workspace}}/hsds

- name: Test HSDS
if: ${{matrix.endpoint != 'http://127.0.0.1:5101'}}
run: |
python tests/integ/setup_test.py
working-directory: ${{github.workspace}}/hsds
Expand All @@ -161,6 +161,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-22.04, ubuntu-latest]
compiler: [gcc-11, gcc-12, gcc-13]
python-version: ["3.10"]
hdf5-branch: ["hdf5_1_14", "develop"]

Expand Down Expand Up @@ -206,6 +207,7 @@ jobs:
cd ./build
CFLAGS="-D_POSIX_C_SOURCE=200809L" cmake -G "Unix Makefiles" -DHDF5_ROOT=${{github.workspace}}/hdf5install \
-DCMAKE_INSTALL_PREFIX=${{github.workspace}}/vol-rest/install \
-DCMAKE_C_COMPILER=${{matrix.compiler}} \
..
shell: bash
working-directory: ${{github.workspace}}/vol-rest
Expand Down Expand Up @@ -258,7 +260,6 @@ jobs:
pip install requests==2.31.0
- name: Start HSDS
if: ${{ matrix.endpoint != 'http://127.0.0.1:5101'}}
run: |
cd ${{github.workspace}}/hsds
mkdir ${{github.workspace}}/hsdsdata &&
Expand All @@ -272,7 +273,6 @@ jobs:
working-directory: ${{github.workspace}}/hsds

- name: Test HSDS
if: ${{matrix.endpoint != 'http://127.0.0.1:5101'}}
run: |
python tests/integ/setup_test.py
working-directory: ${{github.workspace}}/hsds
Expand Down

0 comments on commit bbbf587

Please sign in to comment.