Skip to content

Commit 6236eee

Browse files
committed
v3: Update CI
1 parent ff184e8 commit 6236eee

File tree

4 files changed

+61
-5
lines changed

4 files changed

+61
-5
lines changed

.github/workflows/enforce-labels.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,25 @@ jobs:
88
require-label:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: mheap/github-action-required-labels@v2
11+
- uses: mheap/github-action-required-labels@v5
1212
env:
1313
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1414
with:
1515
mode: minimum
1616
count: 1
17-
labels: "0 diff,0 diff trivial,Non 0-diff,0 diff structural,0-diff trivial,Not 0-diff,0-diff,automatic,0-diff uncoupled"
17+
labels: "0 diff,0 diff trivial,Non 0-diff,0 diff structural,0-diff trivial,Not 0-diff,0-diff,automatic,0-diff uncoupled,github_actions"
1818
add_comment: true
19+
message: "This PR is being prevented from merging because you have not added one of our required labels: {{ provided }}. Please add one so that the PR can be merged."
20+
1921
blocking-label:
2022
runs-on: ubuntu-latest
2123
steps:
22-
- uses: mheap/github-action-required-labels@v2
24+
- uses: mheap/github-action-required-labels@v5
2325
env:
2426
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2527
with:
2628
mode: exactly
2729
count: 0
2830
labels: "Contingent - DNA,Needs Lead Approval,Contingent -- Do Not Approve"
2931
add_comment: true
32+
message: "This PR is being prevented from merging because you have added one of our blocking labels: {{ provided }}. You'll need to remove it before this PR can be merged."

.github/workflows/push-to-develop.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ jobs:
1414
uses: actions/checkout@v5
1515
with:
1616
fetch-depth: 0
17+
filter: blob:none
1718
- name: Run the action
18-
uses: devops-infra/action-pull-request@v0.4
19+
uses: devops-infra/action-pull-request@v0.5.5
1920
with:
2021
github_token: ${{ secrets.GITHUB_TOKEN }}
2122
source_branch: feature/sdrabenh/gcm_v12

.github/workflows/validate_yaml_files.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ jobs:
1515
validate-YAML:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v4
18+
- name: Checkout repo
19+
uses: actions/checkout@v5
20+
with:
21+
fetch-depth: 0
22+
filter: blob:none
1923
- id: yaml-lint
2024
name: yaml-lint
2125
uses: ibiqlik/action-yamllint@v3

.github/workflows/workflow.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Build Tests
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
# Do not run if the only files changed cannot affect the build
7+
paths-ignore:
8+
- "**.md"
9+
- "**.pro"
10+
- "**.sh"
11+
- "**.perl"
12+
- ".github/CODEOWNERS"
13+
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
17+
18+
jobs:
19+
build_gcm:
20+
strategy:
21+
matrix:
22+
#compiler: [ifort, gfortran-14, gfortran-15]
23+
# We remove ifort because for some reason, MAPL3 + ifort + Github CI
24+
# is running out of space on the device. For now, CircleCI will
25+
# continue to test ifort.
26+
compiler: [gfortran-14, gfortran-15]
27+
build-type: [Debug]
28+
uses: GEOS-ESM/CI-workflows/.github/workflows/geosgcm_build_tests.yml@project/geosgcm
29+
with:
30+
compiler: ${{ matrix.compiler }}
31+
cmake-build-type: ${{ matrix.build-type }}
32+
fixture-repo: GEOS-ESM/GEOSgcm
33+
fixture-ref: release/MAPL-v3
34+
run-mepo-develop: false
35+
36+
spack_build:
37+
uses: GEOS-ESM/CI-workflows/.github/workflows/spack_gcc_build.yml@project/geosgcm
38+
secrets:
39+
BUILDCACHE_USERNAME: ${{ secrets.BUILDCACHE_USERNAME }}
40+
BUILDCACHE_TOKEN: ${{ secrets.BUILDCACHE_TOKEN }}
41+
with:
42+
fixture-repo: GEOS-ESM/GEOSgcm
43+
fixture-ref: release/MAPL-v3
44+
run-mepo-develop: false
45+
patch-esmf: true
46+
# There is some weird issue with spack builds and the install step with
47+
# MAPL 3. For now, turn off as we don't need to *run* GEOS.
48+
run-install: false

0 commit comments

Comments
 (0)