diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index be6ae3dc32..e897f35cfa 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -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" @@ -29,6 +29,9 @@ jobs: - name: "Build Jammy" release: jammy + - name: "Build Jammy OMP" + release: jammy-omp + steps: - name: Check Out Repo diff --git a/docker/actions/Dockerfile.actions.jammy-omp b/docker/actions/Dockerfile.actions.jammy-omp new file mode 100644 index 0000000000..6a50b5e084 --- /dev/null +++ b/docker/actions/Dockerfile.actions.jammy-omp @@ -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