Skip to content

Commit f7cbe76

Browse files
committed
Add OPENMP build to CI
1 parent ea5140f commit f7cbe76

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

.github/workflows/ubuntu.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
name: [ "Build Bionic", "Build Focal", "Build Jammy" ]
20+
name: [ "Build Bionic", "Build Focal", "Build Jammy", "Build Jammy OMP" ]
2121
include:
2222

2323
- name: "Build Bionic"
@@ -29,6 +29,9 @@ jobs:
2929
- name: "Build Jammy"
3030
release: jammy
3131

32+
- name: "Build Jammy OMP"
33+
release: jammy-omp
34+
3235
steps:
3336

3437
- name: Check Out Repo
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
FROM fluidity/baseimages:jammy
2+
3+
USER root
4+
5+
RUN apt-get -y update && \
6+
apt-get -y dist-upgrade && \
7+
apt-get -y install sudo && \
8+
rm -rf /var/cache/apt/archives && \
9+
rm -rf /var/lib/apt/lists
10+
11+
RUN adduser fluidity sudo
12+
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
13+
14+
COPY . /home/fluidity
15+
RUN chown -R fluidity /home/fluidity
16+
17+
USER fluidity
18+
19+
RUN ./configure --enable-2d-adaptivity --enable-omp
20+
RUN make makefiles
21+
RUN test -z "$(git status --porcelain */Makefile.dependencies)"
22+
RUN make
23+
RUN make fltools
24+
RUN make manual
25+
26+
# Python module 'assess' is required for some longtests
27+
RUN python3 -m pip install assess

0 commit comments

Comments
 (0)