File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 1313 - " .codebuild/**"
1414 - " .circleci/**"
1515
16+ concurrency :
17+ group : ${{ github.workflow }}-${{ github.ref }}
18+ cancel-in-progress : true
19+
1620jobs :
1721 build_gcm :
1822 name : Build GEOSgcm
@@ -34,39 +38,42 @@ jobs:
3438 # https://github.com/orgs/community/discussions/25678#discussioncomment-5242449
3539 - name : Delete huge unnecessary tools folder
3640 run : rm -rf /opt/hostedtoolcache
37- - name : Cancel Previous Runs
38- uses : styfle/cancel-workflow-action@0.12.1
39- with :
40- access_token : ${{ github.token }}
41+
4142 - name : Checkout GCM
4243 uses : actions/checkout@v4
4344 with :
4445 fetch-depth : 1
4546 filter : blob:none
4647 repository : GEOS-ESM/GEOSgcm
48+
4749 - name : Set all directories as git safe
4850 run : |
4951 git config --global --add safe.directory '*'
52+
5053 - name : Versions etc.
5154 run : |
5255 ifort --version
5356 mpirun --version
5457 echo $BASEDIR
58+
5559 - name : Mepo clone external repos
5660 run : |
5761 mepo clone
5862 mepo status
5963 mepo develop GEOSgcm_GridComp GEOSgcm_App GMAO_Shared GEOS_Util
6064 mepo status
65+
6166 - name : Update other branches
6267 if :
6368 " !contains('refs/heads/main,refs/heads/develop', github.ref)"
6469 run : |
6570 mepo checkout-if-exists ${GITHUB_HEAD_REF}
6671 mepo status
72+
6773 - name : CMake
6874 run : |
6975 cmake -B build -S . --install-prefix=${pwd}/install -DCMAKE_Fortran_COMPILER=ifort -DCMAKE_BUILD_TYPE=Debug -DMPIEXEC_PREFLAGS='--oversubscribe' -DUSE_F2PY=OFF
76+
7077 - name : Build
7178 run : |
7279 cd build
You can’t perform that action at this time.
0 commit comments