Add GEOSldas to CI build #1959
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Tests | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| # Do not run if the only files changed cannot affect the build | |
| paths-ignore: | |
| - "**.md" | |
| - "**.pro" | |
| - "**.sh" | |
| - "**.perl" | |
| - ".github/CODEOWNERS" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
| jobs: | |
| build_gcm: | |
| strategy: | |
| matrix: | |
| compiler: [ifort, gfortran-14, gfortran-15] | |
| build-type: [Debug] | |
| fixture-repo: [GEOS-ESM/GEOSgcm, GEOS-ESM/GEOSldas] | |
| include: | |
| # Set run-mepo-develop: false for GEOSldas builds | |
| - fixture-repo: GEOS-ESM/GEOSldas | |
| run-mepo-develop: false | |
| # GEOSgcm uses the default (true), so no need to specify | |
| uses: GEOS-ESM/CI-workflows/.github/workflows/geosgcm_build_tests.yml@project/geosgcm | |
| with: | |
| compiler: ${{ matrix.compiler }} | |
| cmake-build-type: ${{ matrix.build-type }} | |
| fixture-repo: ${{ matrix.fixture-repo }} | |
| run-mepo-develop: ${{ matrix.run-mepo-develop || 'true' }} | |
| spack_build: | |
| strategy: | |
| matrix: | |
| fixture-repo: [GEOS-ESM/GEOSgcm, GEOS-ESM/GEOSldas] | |
| include: | |
| # Set run-mepo-develop: false for GEOSldas builds | |
| - fixture-repo: GEOS-ESM/GEOSldas | |
| run-mepo-develop: false | |
| # GEOSgcm uses the default (true), so no need to specify | |
| uses: GEOS-ESM/CI-workflows/.github/workflows/spack_gcc_build.yml@project/geosgcm | |
| secrets: | |
| BUILDCACHE_USERNAME: ${{ secrets.BUILDCACHE_USERNAME }} | |
| BUILDCACHE_TOKEN: ${{ secrets.BUILDCACHE_TOKEN }} | |
| with: | |
| fixture-repo: ${{ matrix.fixture-repo }} | |
| run-mepo-develop: ${{ matrix.run-mepo-develop || 'true' }} | |