Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Test with GCC 12 & 14 #46

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@ on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
env:
FC: gfortran-11
CC: gcc-11
runs-on: ubuntu-24.04

strategy:
matrix:
gcc-version: [12,14]

steps:

- name: get-gcc
run: |
if [ -z $(type -P gcc-${{ matrix.gcc-version }}) ]; then
sudo apt install gcc-${{ matrix.gcc-version }}
fi

- name: Installs
run: sudo apt-get install doxygen graphviz

Expand All @@ -20,6 +27,7 @@ jobs:

- name: build
run: |
export CC=gcc-${{ matrix.gcc-version }} ; export FC=gfortran-${{ matrix.gcc-version }}
cmake -S sigio -B sigio/build -DENABLE_DOCS=ON
cmake --build sigio/build --parallel 2 --verbose

Expand Down