Skip to content

Commit

Permalink
Add OPENMP build to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stephankramer committed Jun 20, 2023
1 parent ea5140f commit f7cbe76
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
name: [ "Build Bionic", "Build Focal", "Build Jammy" ]
name: [ "Build Bionic", "Build Focal", "Build Jammy", "Build Jammy OMP" ]
include:

- name: "Build Bionic"
Expand All @@ -29,6 +29,9 @@ jobs:
- name: "Build Jammy"
release: jammy

- name: "Build Jammy OMP"
release: jammy-omp

steps:

- name: Check Out Repo
Expand Down
27 changes: 27 additions & 0 deletions docker/actions/Dockerfile.actions.jammy-omp
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
FROM fluidity/baseimages:jammy

USER root

RUN apt-get -y update && \
apt-get -y dist-upgrade && \
apt-get -y install sudo && \
rm -rf /var/cache/apt/archives && \
rm -rf /var/lib/apt/lists

RUN adduser fluidity sudo
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers

COPY . /home/fluidity
RUN chown -R fluidity /home/fluidity

USER fluidity

RUN ./configure --enable-2d-adaptivity --enable-omp
RUN make makefiles
RUN test -z "$(git status --porcelain */Makefile.dependencies)"
RUN make
RUN make fltools
RUN make manual

# Python module 'assess' is required for some longtests
RUN python3 -m pip install assess

0 comments on commit f7cbe76

Please sign in to comment.