@@ -3,7 +3,7 @@ on: [push, pull_request]
33env :
44 MOAB_CACHE_KEY : " MOAB-5.3.0"
55 MOAB_INSTALL_PREFIX : " ${{ github.workspace }}/moab"
6- CATCH2_CACHE_KEY : " Catch2-3.0 .0"
6+ CATCH2_CACHE_KEY : " Catch2-3.8 .0"
77 CATCH2_INSTALL_PREFIX : " ${{ github.workspace }}/catch2"
88 TCLAP_CACHE_KEY : " TCLAP-1.4.0-rc1"
99 TCLAP_INSTALL_PREFIX : " ${{ github.workspace }}/tclap"
1515 MGARD_BUILD_DIR : " ${{ github.workspace }}/build"
1616jobs :
1717 build-MOAB :
18- runs-on : ubuntu-20 .04
18+ runs-on : ubuntu-24 .04
1919 steps :
2020 - run : sudo apt-get install mpich libmpich-dev liblapack-dev
2121 - name : cache-MOAB
2222 id : cache-MOAB
23- uses : actions/cache@v2.1.6
23+ uses : actions/cache@v4
2424 with :
2525 key : " ${{ env.MOAB_CACHE_KEY }}"
2626 path : " ${{ env.MOAB_INSTALL_PREFIX }}"
@@ -35,30 +35,30 @@ jobs:
3535 cmake --install "build"
3636
3737 build-Catch2 :
38- runs-on : ubuntu-20 .04
38+ runs-on : ubuntu-24 .04
3939 steps :
4040 - name : cache-Catch2
4141 id : cache-Catch2
42- uses : actions/cache@v2.1.6
42+ uses : actions/cache@v4
4343 with :
4444 key : " ${{ env.CATCH2_CACHE_KEY }}"
4545 path : " ${{ env.CATCH2_INSTALL_PREFIX }}"
4646 - name : build-Catch2
4747 if : steps.cache-Catch2.outputs.cache-hit != 'true'
4848 run : |
49- wget https://github.com/catchorg/Catch2/archive/v3.0.0-preview3 .tar.gz
50- gunzip "v3.0.0-preview3 .tar.gz"
51- tar --file "v3.0.0-preview3 .tar" --extract
52- cmake -S "Catch2-3.0.0-preview3 " -B "build" -DCMAKE_INSTALL_PREFIX="${{ env.CATCH2_INSTALL_PREFIX }}"
49+ wget https://github.com/catchorg/Catch2/archive/refs/tags/ v3.8.0 .tar.gz
50+ gunzip "v3.8.0 .tar.gz"
51+ tar --file "v3.8.0 .tar" --extract
52+ cmake -S "Catch2-3.8.0 " -B "build" -DCMAKE_INSTALL_PREFIX="${{ env.CATCH2_INSTALL_PREFIX }}"
5353 cmake --build "build" --parallel
5454 cmake --install "build"
5555
5656 build-TCLAP :
57- runs-on : ubuntu-20 .04
57+ runs-on : ubuntu-24 .04
5858 steps :
5959 - name : cache-TCLAP
6060 id : cache-TCLAP
61- uses : actions/cache@v2.1.6
61+ uses : actions/cache@v4
6262 with :
6363 key : " ${{ env.TCLAP_CACHE_KEY }}"
6464 path : " ${{ env.TCLAP_INSTALL_PREFIX }}"
@@ -73,11 +73,11 @@ jobs:
7373 cmake --install "build"
7474
7575 build-ZSTD :
76- runs-on : ubuntu-20 .04
76+ runs-on : ubuntu-24 .04
7777 steps :
7878 - name : cache-ZSTD
7979 id : cache-ZSTD
80- uses : actions/cache@v2.1.6
80+ uses : actions/cache@v4
8181 with :
8282 key : " ${{ env.ZSTD_CACHE_KEY }}"
8383 path : " ${{ env.ZSTD_INSTALL_PREFIX }}"
@@ -95,28 +95,28 @@ jobs:
9595
9696 build-MGARD :
9797 needs : [build-MOAB, build-Catch2, build-TCLAP, build-ZSTD]
98- runs-on : ubuntu-20 .04
98+ runs-on : ubuntu-24 .04
9999 steps :
100- - run : sudo apt-get install mpich doxygen libmpich-dev liblapack-dev libzstd1 libzstd-dev libtclap-dev protobuf-compiler libprotobuf17 libprotobuf-dev
100+ - run : sudo apt-get install mpich doxygen libmpich-dev liblapack-dev libzstd1 libzstd-dev libtclap-dev protobuf-compiler libprotobuf-dev
101101 - name : checkout
102- uses : actions/checkout@v2.3.4
102+ uses : actions/checkout@v4
103103 - name : fetch-MOAB
104- uses : actions/cache@v2.1.6
104+ uses : actions/cache@v4
105105 with :
106106 key : " ${{ env.MOAB_CACHE_KEY }}"
107107 path : " ${{ env.MOAB_INSTALL_PREFIX }}"
108108 - name : fetch-Catch2
109- uses : actions/cache@v2.1.6
109+ uses : actions/cache@v4
110110 with :
111111 key : " ${{ env.CATCH2_CACHE_KEY }}"
112112 path : " ${{ env.CATCH2_INSTALL_PREFIX }}"
113113 - name : fetch-TCLAP
114- uses : actions/cache@v2.1.6
114+ uses : actions/cache@v4
115115 with :
116116 key : " ${{ env.TCLAP_CACHE_KEY }}"
117117 path : " ${{ env.TCLAP_INSTALL_PREFIX }}"
118118 - name : fetch-ZSTD
119- uses : actions/cache@v2.1.6
119+ uses : actions/cache@v4
120120 with :
121121 key : " ${{ env.ZSTD_CACHE_KEY }}"
122122 path : " ${{ env.ZSTD_INSTALL_PREFIX }}"
@@ -129,7 +129,7 @@ jobs:
129129 - name : install
130130 run : cmake --install "${{ env.MGARD_BUILD_DIR }}"
131131 - name : cache-MGARD
132- uses : actions/cache@v2.1.6
132+ uses : actions/cache@v4
133133 with :
134134 key : " ${{ env.MGARD_CACHE_KEY }}"
135135 path : " ${{ env.MGARD_INSTALL_PREFIX }}"
0 commit comments