doc #23
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ci | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| proof-build-regression: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 180 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Load Pluto baseline | |
| run: >- | |
| grep -v '^[[:space:]]*#' tools/ci/pluto-baseline.env | | |
| grep -v '^[[:space:]]*$' >> "$GITHUB_ENV" | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Build CI image | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| load: true | |
| tags: polcert-ci:gha | |
| build-args: | | |
| PLUTO_IMAGE=${{ env.PLUTO_IMAGE }} | |
| PLUTO_GIT_REMOTE=${{ env.PLUTO_GIT_REMOTE }} | |
| PLUTO_GIT_COMMIT=${{ env.PLUTO_GIT_COMMIT }} | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max | |
| - name: Run clean build, proof checks, polcert tests, and strict polopt suite | |
| run: >- | |
| docker run --rm --entrypoint bash polcert-ci:gha | |
| -lc 'bash /polcert/tools/ci/run_ci.sh' |