Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: CMake


on:
pull_request:
branches: [ "Mathias" ]
Expand All @@ -18,20 +19,21 @@ jobs:
build:
strategy:
matrix:
compiler: [g++,clang++]
compiler: [g++]
runs-on: ubuntu-latest
environment: onApproval
container:
image: ghcr.io/mathiaswagner/dockertest:main
credentials:
username: ${{ github.actor }}
password: ${{ secrets.MWDOCK }}
image: nvcr.io/nvidia/cuda:12.1.1-devel-ubuntu22.04
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix


steps:
- name: Install software
run: |
apt-get update -y
apt-get install -y --no-install-recommends ninja-build cmake libopenmpi-dev gfortran
- uses: actions/checkout@v3

- name: Ccache for gh actions
Expand Down