v3: Update CI #1
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] | |
| # We remove ifort because for some reason, MAPL3 + ifort + Github CI | |
| # is running out of space on the device. For now, CircleCI will | |
| # continue to test ifort. | |
| compiler: [gfortran-14, gfortran-15] | |
| build-type: [Debug] | |
| 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: GEOS-ESM/GEOSgcm | |
| fixture-ref: release/MAPL-v3 | |
| run-mepo-develop: false | |
| spack_build: | |
| 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: GEOS-ESM/GEOSgcm | |
| fixture-ref: release/MAPL-v3 | |
| run-mepo-develop: false | |
| patch-esmf: true | |
| # There is some weird issue with spack builds and the install step with | |
| # MAPL 3. For now, turn off as we don't need to *run* GEOS. | |
| run-install: false |