-
Notifications
You must be signed in to change notification settings - Fork 11
99 lines (93 loc) · 4.23 KB
/
workflow.yml
File metadata and controls
99 lines (93 loc) · 4.23 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
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/**"
jobs:
build_test_ldas_gnu:
name: gfortran / ${{ matrix.cmake-build-type }} / ${{ matrix.cmake-generator }}
runs-on: ubuntu-latest
container:
image: gmao/ubuntu24-geos-env-mkl:v8.27.0-openmpi_5.0.5-gcc_14.2.0
strategy:
fail-fast: false
matrix:
cmake-build-type: [Debug, Release]
cmake-generator: [Unix Makefiles]
env:
OMPI_ALLOW_RUN_AS_ROOT: 1
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
OMPI_MCA_btl_vader_single_copy_mechanism: none
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 1
filter: blob:none
- name: Build and Test GEOSldas
uses: ./.github/actions/ci-build
with:
cmake-build-type: ${{ matrix.cmake-build-type }}
cmake-generator: ${{ matrix.cmake-generator }}
fortran-compiler: gfortran
extra-cmake-args: -DMPIEXEC_PREFLAGS='--oversubscribe'
build_test_geosldas_ifort:
name: ifort / ${{ matrix.cmake-build-type }} / ${{ matrix.cmake-generator }}
runs-on: ubuntu-latest
container:
image: gmao/ubuntu24-geos-env:v8.27.0-intelmpi_2021.13-ifort_2021.13
strategy:
fail-fast: false
matrix:
cmake-build-type: [Debug, Release]
cmake-generator: [Unix Makefiles]
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 1
filter: blob:none
- name: Build and Test GEOSldas
uses: ./.github/actions/ci-build
with:
cmake-build-type: ${{ matrix.cmake-build-type }}
cmake-generator: ${{ matrix.cmake-generator }}
fortran-compiler: ifort
# We cannot currently test with ifx because HDF4 Fortran interface
# cannot be compiled with ifx. The HDF4 Fortran interface is required
# for the GEOSldas
################################################################################
# build_test_geosldas_ifx: #
# name: ifx / ${{ matrix.cmake-build-type }} / ${{ matrix.cmake-generator }} #
# runs-on: ubuntu-latest #
# container: #
# image: gmao/ubuntu24-geos-env:v8.27.0-intelmpi_2021.15-ifx_2025.1 #
# strategy: #
# fail-fast: false #
# matrix: #
# cmake-build-type: [Debug, Release] #
# cmake-generator: [Unix Makefiles] #
# steps: #
# - name: Checkout #
# uses: actions/checkout@v6 #
# with: #
# fetch-depth: 1 #
# filter: blob:none #
# #
# - name: Build and Test GEOSldas #
# uses: ./.github/actions/ci-build #
# with: #
# cmake-build-type: ${{ matrix.cmake-build-type }} #
# cmake-generator: ${{ matrix.cmake-generator }} #
# fortran-compiler: ifx #
################################################################################