|
92 | 92 | sudo apt install -y apptainer-suid |
93 | 93 |
|
94 | 94 | - name: Get container image |
95 | | - shell: bash |
96 | | - working-directory: devel-tools |
97 | | - run: | |
98 | | - apptainer pull texlive.sif oras://ghcr.io/colvars/devel-containers:texlive |
| 95 | + run: devel-tools/get_container texlive |
99 | 96 |
|
100 | 97 | - name: Checkout website repository |
101 | 98 | uses: actions/checkout@v4 |
@@ -191,10 +188,7 @@ jobs: |
191 | 188 | sudo apt install -y apptainer-suid |
192 | 189 |
|
193 | 190 | - name: Get container images for build dependencies |
194 | | - shell: bash |
195 | | - working-directory: devel-tools |
196 | | - run: | |
197 | | - apptainer pull CentOS9-devel.sif oras://ghcr.io/colvars/devel-containers:CentOS9-devel |
| 191 | + run: devel-tools/get_container CentOS9-devel |
198 | 192 |
|
199 | 193 | - name: Run build with Clang static analyser |
200 | 194 | env: |
@@ -252,10 +246,7 @@ jobs: |
252 | 246 | sudo apt install -y apptainer-suid |
253 | 247 |
|
254 | 248 | - name: Get container images for build dependencies |
255 | | - shell: bash |
256 | | - working-directory: devel-tools |
257 | | - run: | |
258 | | - apptainer pull CentOS9-devel.sif oras://ghcr.io/colvars/devel-containers:CentOS9-devel |
| 249 | + run: devel-tools/get_container CentOS9-devel |
259 | 250 |
|
260 | 251 | - name: Build with Clang and address sanitizer |
261 | 252 | env: |
@@ -307,11 +298,8 @@ jobs: |
307 | 298 | sudo apt update |
308 | 299 | sudo apt install -y apptainer-suid |
309 | 300 |
|
310 | | - - name: Get container images for build environment |
311 | | - shell: bash |
312 | | - working-directory: devel-tools |
313 | | - run: | |
314 | | - apptainer pull CentOS9-devel.sif oras://ghcr.io/colvars/devel-containers:CentOS9-devel |
| 301 | + - name: Get container images for build dependencies |
| 302 | + run: devel-tools/get_container CentOS9-devel |
315 | 303 |
|
316 | 304 | - name: GCC 11, C++11 (CentOS 9) |
317 | 305 | env: |
@@ -447,10 +435,7 @@ jobs: |
447 | 435 | sudo apt install -y apptainer-suid |
448 | 436 |
|
449 | 437 | - name: Get container images for build dependencies |
450 | | - shell: bash |
451 | | - working-directory: devel-tools |
452 | | - run: | |
453 | | - apptainer pull CentOS9-oneAPI.sif oras://ghcr.io/colvars/devel-containers:CentOS9-oneAPI |
| 438 | + run: devel-tools/get_container CentOS9-devel-oneAPI |
454 | 439 |
|
455 | 440 | - name: Intel oneAPI 2024.2, C++11 |
456 | 441 | shell: bash |
@@ -573,10 +558,7 @@ jobs: |
573 | 558 | sudo apt install -y apptainer-suid |
574 | 559 |
|
575 | 560 | - name: Get container images for build dependencies |
576 | | - shell: bash |
577 | | - working-directory: devel-tools |
578 | | - run: | |
579 | | - apptainer pull CentOS9-devel-arm64.sif oras://ghcr.io/colvars/devel-containers:CentOS9-devel-arm64 |
| 561 | + run: devel-tools/get_container CentOS9-devel-arm64 |
580 | 562 |
|
581 | 563 | - name: GCC 11, C++20 (CentOS 9) |
582 | 564 | env: |
|
0 commit comments