diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 8df9cd7..f6a63d9 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -66,15 +66,6 @@ jobs: needs: test container: ghcr.io/gravity-sim/deps:latest steps: - - uses: actions/checkout@v4 - - name: Install dependencies - run: | - sudo apt-get update - sudo apt-get install -y build-essential libgl1-mesa-dev libglew-dev libglfw3-dev libopenmpi-dev - - name: Build - run: make - - name: Test - run: make test - uses: actions/checkout@v4 - name: Restore build cache uses: actions/cache@v3 diff --git a/README.md b/README.md index 5370b9c..8fad535 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,9 @@ four sequential jobs: **Installing Dependencies**, **Build**, **Test**, and **Make**. Compiled object files are cached between jobs to speed up subsequent steps. +The `docker-publish` workflow builds this container image and pushes it to the +GitHub Container Registry so it can be reused by the CI jobs. + ## Usage To run the simulation: