Skip to content

Merge pull request #77 from geoschem/bugfix/azure-pipelines #261

Merge pull request #77 from geoschem/bugfix/azure-pipelines

Merge pull request #77 from geoschem/bugfix/azure-pipelines #261

name: gcclassic-compile-tests
on: [pull_request, push]
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
jobs:
gnu:
runs-on: ubuntu-latest
strategy:
matrix:
build_type: [Debug]
env:
CXX: g++
CC: gcc
FC: gfortran
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt update -y
sudo apt install -y libnetcdf-dev netcdf-bin libnetcdff-dev
- name: Compile-only tests
run: |
git submodule update --init --recursive
cd test/integration/GCClassic
./integrationTest.sh -d $HOME/compile-tests -t compile
cat $HOME/compile-tests/logs/results.compile.log