diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 125b74be05..a96fa9ddd4 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -1,5 +1,6 @@ name: CMake + on: pull_request: branches: [ "Mathias" ] @@ -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