Repository navigation
50 lines (46 loc) · 2.14 KB
/
Copy pathworkflow.yml
File metadata and controls
50 lines (46 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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"
- "**.json"
- "ChangeLog-PreJason.txt"
- "parallel_build.csh"
- ".github/CODEOWNERS"
- ".github/PULL_REQUEST_TEMPLATE.md"
- ".editorconfig"
- ".codebuild/**"
- ".circleci/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }}
jobs:
build_ldas:
strategy:
fail-fast: false
matrix:
# We cannot currently test with ifx because HDF4 Fortran interface
# cannot be compiled with ifx. The HDF4 Fortran interface is required
# for the GEOSldas
#compiler: [ifort, gfortran-15, ifx]
compiler: [ifort, 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 }}
run-mepo-develop: false
# We cannot currently test with spack because spack does not build the
# HDF4 Fortran interface, which is required for the GEOSldas.
#######################################################################################
# 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: #
# load-fms: true #
# run-mepo-develop: false #
#######################################################################################