diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index eb3392d066..457b138dc6 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -82,17 +82,17 @@ jobs: chmod u=wrx ./scripts/build/buildProfiler.pl ./scripts/build/buildProfiler.pl build.log buildProfile.html --durationMinimum 20 - name: Upload Galacticus executable - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: galacticus-exec path: 'Galacticus.exe' - name: Upload test code executables - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-execs path: 'tests.*.exe' - name: Upload build profile - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: build-profile path: 'buildProfile.html' @@ -129,7 +129,7 @@ jobs: ! grep -n -C 5 Warning: build.log ! grep -v 'is up to date' build.log | grep -n -C 5 make: - name: Upload Galacticus executable - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: galacticus-exec-non-static path: 'Galacticus.exe' @@ -158,7 +158,7 @@ jobs: export GALACTICUS_CPPFLAGS="$GALACTICUS_CPPFLAGS -pg" make -j2 Galacticus.exe - name: Upload executables - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: galacticus-exec-instrumented path: 'Galacticus.exe' @@ -184,12 +184,12 @@ jobs: git config --global --add safe.directory $GALACTICUS_EXEC_PATH make -j2 GALACTICUS_BUILD_OPTION=MPI Galacticus.exe tests.MPI.exe tests.radiative_transfer.atomic_matter.state_solver.exe - name: Upload Galacticus executable - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: galacticus-exec-MPI path: 'Galacticus.exe' - name: Upload test code executables - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-execs-MPI path: 'tests.*.exe' @@ -216,7 +216,7 @@ jobs: git config --global --add safe.directory $GALACTICUS_EXEC_PATH make -j2 Galacticus.exe tests.debugging.exe - name: Upload test code executables - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-execs-debugging path: 'tests.*.exe' @@ -253,7 +253,7 @@ jobs: mv libgalacticus.so galacticus/lib/ tar cvfj libgalacticus.tar.bz2 galacticus - name: Upload library - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: galacticus-library path: 'libgalacticus.tar.bz2' @@ -311,7 +311,7 @@ jobs: git config --global --add safe.directory $GALACTICUS_EXEC_PATH ./scripts/doc/Build_Documentation.sh -f yes -p 2 - name: Upload docs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: galacticus-docs path: | @@ -375,7 +375,7 @@ jobs: dynamic/fsps-${fspsVersion}/OUTPUTS \ dynamic/fsps-${fspsVersion}/ISOCHRONES - name: Upload tools - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: galacticus-tools path: ./datasets/tools.tar.bz2 @@ -553,17 +553,17 @@ jobs: zip -r debugSymbolsMacOS.zip Galacticus.exe.dSYM mv Galacticus.exe Galacticus_MacOS.exe - name: Upload Galacticus executable - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: galacticus-exec-MacOS path: 'Galacticus_MacOS.exe' - name: Upload test code executables - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-execs-MacOS path: 'tests.*.exe' - name: Upload Galacticus debug symbols - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: galacticus-debug-MacOS path: 'debugSymbolsMacOS.zip' @@ -751,7 +751,7 @@ jobs: mv libgalacticus.so galacticus/lib/ zip -r libgalacticusMacOS.zip galacticus - name: Upload library - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: galacticus-library-MacOS path: 'libgalacticusMacOS.zip' @@ -956,7 +956,7 @@ jobs: dynamic/fsps-${fspsVersion}/OUTPUTS \ dynamic/fsps-${fspsVersion}/ISOCHRONES - name: Upload Galacticus executable - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: galacticus-tools-MacOS path: './datasets/toolsMacOS.zip' @@ -1003,7 +1003,7 @@ jobs: ./benchmark-darkMatterOnlySubhalos.pl 2>&1 | tee test.log ! grep -q FAIL test.log - name: Upload benchmark result - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: benchmark-darkMatterOnlySubhalos path: testSuite/outputs/benchmark_darkMatterOnlySubhalos.json @@ -1059,7 +1059,7 @@ jobs: ./benchmark-milkyWay.pl 2>&1 | tee test.log ! grep -q FAIL test.log - name: Upload benchmark result - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: benchmark-milkyWay path: testSuite/outputs/benchmark_milkyWay.json @@ -1119,7 +1119,7 @@ jobs: du -sh ./testSuite/outputs/darkMatterOnlySubhalos.perf bzip2 ./testSuite/outputs/darkMatterOnlySubhalos.perf - name: Upload results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: perf-darkMatterOnlySubhalos path: './testSuite/outputs/darkMatterOnlySubhalos.perf.bz2' @@ -1187,7 +1187,7 @@ jobs: find $GALACTICUS_DATA_PATH/dynamic/ -type d \( -path $GALACTICUS_DATA_PATH/dynamic/fsps-${fspsVersion} -o -path $GALACTICUS_DATA_PATH/dynamic/AxionCAMB -o -path $GALACTICUS_DATA_PATH/dynamic/CAMB-${cambVersion} -o -path $GALACTICUS_DATA_PATH/dynamic/RecFast -o -path $GALACTICUS_DATA_PATH/dynamic/class_public-${classVersion} \) -prune -o -type f -anewer mark.time -print find $GALACTICUS_DATA_PATH/dynamic/ -type d \( -path $GALACTICUS_DATA_PATH/dynamic/fsps-${fspsVersion} -o -path $GALACTICUS_DATA_PATH/dynamic/AxionCAMB -o -path $GALACTICUS_DATA_PATH/dynamic/CAMB-${cambVersion} -o -path $GALACTICUS_DATA_PATH/dynamic/RecFast -o -path $GALACTICUS_DATA_PATH/dynamic/class_public-${classVersion} \) -prune -o -type f -not -anewer mark.time -print0 | xargs --no-run-if-empty -0 rm - name: Upload results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: perf-milkyWay path: './testSuite/outputs/milkyWay.perf.bz2' @@ -1255,7 +1255,7 @@ jobs: find $GALACTICUS_DATA_PATH/dynamic/ -type d \( -path $GALACTICUS_DATA_PATH/dynamic/fsps-${fspsVersion} -o -path $GALACTICUS_DATA_PATH/dynamic/AxionCAMB -o -path $GALACTICUS_DATA_PATH/dynamic/CAMB-${cambVersion} -o -path $GALACTICUS_DATA_PATH/dynamic/RecFast -o -path $GALACTICUS_DATA_PATH/dynamic/class_public-${classVersion} \) -prune -o -type f -anewer mark.time -print find $GALACTICUS_DATA_PATH/dynamic/ -type d \( -path $GALACTICUS_DATA_PATH/dynamic/fsps-${fspsVersion} -o -path $GALACTICUS_DATA_PATH/dynamic/AxionCAMB -o -path $GALACTICUS_DATA_PATH/dynamic/CAMB-${cambVersion} -o -path $GALACTICUS_DATA_PATH/dynamic/RecFast -o -path $GALACTICUS_DATA_PATH/dynamic/class_public-${classVersion} \) -prune -o -type f -not -anewer mark.time -print0 | xargs --no-run-if-empty -0 rm - name: Upload results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: perf-milkyWay-SIDM path: './testSuite/outputs/milkyWay_SIDM.perf.bz2' @@ -1303,7 +1303,7 @@ jobs: du -sh ./testSuite/outputs/darkMatterOnlySubhalos.gprof bzip2 ./testSuite/outputs/darkMatterOnlySubhalos.gprof - name: Upload results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: perf-darkMatterOnlySubhalos-gprof path: './testSuite/outputs/darkMatterOnlySubhalos.gprof.bz2' @@ -1372,7 +1372,7 @@ jobs: find $GALACTICUS_DATA_PATH/dynamic/ -type d \( -path $GALACTICUS_DATA_PATH/dynamic/fsps-${fspsVersion} -o -path $GALACTICUS_DATA_PATH/dynamic/AxionCAMB -o -path $GALACTICUS_DATA_PATH/dynamic/CAMB-${cambVersion} -o -path $GALACTICUS_DATA_PATH/dynamic/RecFast -o -path $GALACTICUS_DATA_PATH/dynamic/class_public-${classVersion} \) -prune -o -type f -anewer mark.time -print find $GALACTICUS_DATA_PATH/dynamic/ -type d \( -path $GALACTICUS_DATA_PATH/dynamic/fsps-${fspsVersion} -o -path $GALACTICUS_DATA_PATH/dynamic/AxionCAMB -o -path $GALACTICUS_DATA_PATH/dynamic/CAMB-${cambVersion} -o -path $GALACTICUS_DATA_PATH/dynamic/RecFast -o -path $GALACTICUS_DATA_PATH/dynamic/class_public-${classVersion} \) -prune -o -type f -not -anewer mark.time -print0 | xargs --no-run-if-empty -0 rm - name: Upload results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: perf-milkyWay-gprof path: './testSuite/outputs/milkyWay.gprof.bz2' @@ -1441,7 +1441,7 @@ jobs: find $GALACTICUS_DATA_PATH/dynamic/ -type d \( -path $GALACTICUS_DATA_PATH/dynamic/fsps-${fspsVersion} -o -path $GALACTICUS_DATA_PATH/dynamic/AxionCAMB -o -path $GALACTICUS_DATA_PATH/dynamic/CAMB-${cambVersion} -o -path $GALACTICUS_DATA_PATH/dynamic/RecFast -o -path $GALACTICUS_DATA_PATH/dynamic/class_public-${classVersion} \) -prune -o -type f -anewer mark.time -print find $GALACTICUS_DATA_PATH/dynamic/ -type d \( -path $GALACTICUS_DATA_PATH/dynamic/fsps-${fspsVersion} -o -path $GALACTICUS_DATA_PATH/dynamic/AxionCAMB -o -path $GALACTICUS_DATA_PATH/dynamic/CAMB-${cambVersion} -o -path $GALACTICUS_DATA_PATH/dynamic/RecFast -o -path $GALACTICUS_DATA_PATH/dynamic/class_public-${classVersion} \) -prune -o -type f -not -anewer mark.time -print0 | xargs --no-run-if-empty -0 rm - name: Upload results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: perf-milkyWay-SIDM-gprof path: './testSuite/outputs/milkyWay_SIDM.gprof.bz2' @@ -1483,7 +1483,7 @@ jobs: ./validate-darkMatterOnlySubhalos.pl 2>&1 | tee test.log ! grep -q FAIL test.log - name: Upload validation result - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: validation-darkMatterOnlySubhalos path: | @@ -1537,7 +1537,7 @@ jobs: ./validate-milkyWay.pl 2>&1 | tee test.log ! grep -q FAIL test.log - name: Upload validation result - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: validation-milkyWayModel path: |