Skip to content

Commit a430320

Browse files
authored
Merge pull request #2 from shimwell/adding-ci
Minimal CI to test building the apptainer image file
2 parents 9f4e8ec + e543ca9 commit a430320

2 files changed

Lines changed: 29 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
build-and-test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: Install Apptainer
17+
uses: eWaterCycle/setup-apptainer@v2
18+
19+
- name: Build container
20+
run: apptainer build code/process_fendl.sif code/process_fendl.def

code/process_fendl.def

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Bootstrap: docker
2-
From: ubuntu:22.04
2+
From: ubuntu:24.04
33

44

55
%environment
@@ -11,14 +11,14 @@ From: ubuntu:22.04
1111
%post
1212

1313
apt update &&
14-
apt install -y git=1:2.34.1-1ubuntu1.10 &&
15-
apt install -y cmake=3.22.1-1ubuntu1.22.04.2 &&
16-
apt install -y gfortran=4:11.2.0-1ubuntu1 &&
17-
apt install -y python-is-python3=3.9.2-2 &&
18-
apt install -y ghostscript=9.55.0~dfsg1-0ubuntu5.6 &&
19-
apt install -y exiftool &&
20-
apt install -y qpdf &&
21-
apt install -y locales &&
14+
apt install -y git=1:2.43.0-1ubuntu7.3 &&
15+
apt install -y cmake=3.28.3-1build7 &&
16+
apt install -y gfortran=4:13.2.0-7ubuntu1 &&
17+
apt install -y python-is-python3=3.11.4-1 &&
18+
apt install -y ghostscript=10.02.1~dfsg1-0ubuntu7.8 &&
19+
apt install -y libimage-exiftool-perl=12.76+dfsg-1 &&
20+
apt install -y qpdf=11.9.0-1.1ubuntu0.1 &&
21+
apt install -y locales=2.39-0ubuntu8.7 &&
2222
cd /opt &&
2323
git clone https://github.com/IAEA-NDS/NJOY2016.git &&
2424
cd NJOY2016 &&

0 commit comments

Comments
 (0)