@@ -10,11 +10,16 @@ concurrency:
1010 cancel-in-progress : true
1111
1212jobs :
13+ check_changes :
14+ uses : ./.github/workflows/check_changes.yml
15+
1316 # Build and install libamrex as AMReX CMake project
1417 # Note: this is an intentional "minimal" build that does not enable (many) options
1518 library :
1619 name :
[email protected] C++17 Release [lib] 1720 runs-on : ubuntu-20.04
21+ needs : check_changes
22+ if : needs.check_changes.outputs.has_non_docs_changes == 'true'
1823 steps :
1924 - uses : actions/checkout@v4
2025 - name : Dependencies
7277 tests_build_3D :
7378 name : GNU@13 C++17 3D Debug Fortran [tests]
7479 runs-on : ubuntu-24.04
80+ needs : check_changes
81+ if : needs.check_changes.outputs.has_non_docs_changes == 'true'
7582 steps :
7683 - uses : actions/checkout@v4
7784 - name : Dependencies
@@ -121,6 +128,8 @@ jobs:
121128 tests_build_2D :
122129 name :
[email protected] C++17 2D Debug Fortran [tests] 123130 runs-on : ubuntu-20.04
131+ needs : check_changes
132+ if : needs.check_changes.outputs.has_non_docs_changes == 'true'
124133 steps :
125134 - uses : actions/checkout@v4
126135 - name : Dependencies
@@ -170,6 +179,8 @@ jobs:
170179 tests_build_1D :
171180 name :
[email protected] C++17 1D Debug Fortran [tests] 172181 runs-on : ubuntu-20.04
182+ needs : check_changes
183+ if : needs.check_changes.outputs.has_non_docs_changes == 'true'
173184 steps :
174185 - uses : actions/checkout@v4
175186 - name : Dependencies
@@ -221,6 +232,8 @@ jobs:
221232 tests_cxx20 :
222233 name :
[email protected] C++20 OMP [tests] 223234 runs-on : ubuntu-20.04
235+ needs : check_changes
236+ if : needs.check_changes.outputs.has_non_docs_changes == 'true'
224237 steps :
225238 - uses : actions/checkout@v4
226239 - name : Dependencies
@@ -281,6 +294,8 @@ jobs:
281294 tests-nonmpi :
282295 name :
[email protected] C++17 NOMPI [tests] 283296 runs-on : ubuntu-20.04
297+ needs : check_changes
298+ if : needs.check_changes.outputs.has_non_docs_changes == 'true'
284299 steps :
285300 - uses : actions/checkout@v4
286301 - name : Dependencies
@@ -340,6 +355,8 @@ jobs:
340355 tests-nofortran :
341356 name : GNU@12 C++17 w/o Fortran [tests]
342357 runs-on : ubuntu-22.04
358+ needs : check_changes
359+ if : needs.check_changes.outputs.has_non_docs_changes == 'true'
343360 steps :
344361 - uses : actions/checkout@v4
345362 - name : Dependencies
@@ -401,6 +418,8 @@ jobs:
401418 configure-1d :
402419 name :
[email protected] Release [configure 1D] 403420 runs-on : ubuntu-20.04
421+ needs : check_changes
422+ if : needs.check_changes.outputs.has_non_docs_changes == 'true'
404423 steps :
405424 - uses : actions/checkout@v4
406425 - name : Dependencies
@@ -441,6 +460,8 @@ jobs:
441460 configure-3d :
442461 name :
[email protected] Release [configure 3D] 443462 runs-on : ubuntu-22.04
463+ needs : check_changes
464+ if : needs.check_changes.outputs.has_non_docs_changes == 'true'
444465 steps :
445466 - uses : actions/checkout@v4
446467 - name : Dependencies
@@ -481,6 +502,8 @@ jobs:
481502 configure-3d-single-tprof :
482503 name :
[email protected] Release [configure 3D] 483504 runs-on : ubuntu-20.04
505+ needs : check_changes
506+ if : needs.check_changes.outputs.has_non_docs_changes == 'true'
484507 steps :
485508 - uses : actions/checkout@v4
486509 - name : Dependencies
@@ -522,6 +545,8 @@ jobs:
522545 configure-3d-omp-debug :
523546 name :
[email protected] OMP Debug [configure 3D] 524547 runs-on : ubuntu-20.04
548+ needs : check_changes
549+ if : needs.check_changes.outputs.has_non_docs_changes == 'true'
525550 steps :
526551 - uses : actions/checkout@v4
527552 - name : Dependencies
@@ -562,6 +587,8 @@ jobs:
562587 plotfile-tools :
563588 name : GNU Plotfile Tools [tools]
564589 runs-on : ubuntu-20.04
590+ needs : check_changes
591+ if : needs.check_changes.outputs.has_non_docs_changes == 'true'
565592 steps :
566593 - uses : actions/checkout@v4
567594 - name : Dependencies
@@ -601,6 +628,8 @@ jobs:
601628 tests_run :
602629 name : GNU@13 C++17 [tests]
603630 runs-on : ubuntu-24.04
631+ needs : check_changes
632+ if : needs.check_changes.outputs.has_non_docs_changes == 'true'
604633 steps :
605634 - uses : actions/checkout@v4
606635 - name : Dependencies
@@ -651,6 +680,8 @@ jobs:
651680 test_hdf5 :
652681 name :
[email protected] HDF5 I/O Test [tests] 653682 runs-on : ubuntu-20.04
683+ needs : check_changes
684+ if : needs.check_changes.outputs.has_non_docs_changes == 'true'
654685 env :
655686 CXX : h5pcc
656687 CC : h5cc
0 commit comments