Extraction: sink applications into lets. #923
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: | |
branches-ignore: | |
- _** | |
pull_request: | |
workflow_dispatch: | |
merge_group: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
opam: | |
name: opam | |
uses: ./.github/workflows/build-opam.yml | |
build: | |
name: build | |
uses: ./.github/workflows/build-ci.yml | |
tests: | |
name: tests | |
needs: build | |
uses: ./.github/workflows/tests.yml | |
nix-build: | |
name: nix | |
uses: ./.github/workflows/nix.yml | |
pulse-build-test: | |
name: pulse | |
needs: build | |
uses: ./.github/workflows/build-pulse.yml | |
# Branch protection points here | |
ciok: | |
runs-on: ubuntu-latest | |
if: ${{ cancelled() || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'failure') }} | |
# ^ Workaround for insane github behavior: https://github.com/actions/runner/issues/2566 | |
needs: | |
- build | |
- tests | |
- opam | |
- nix-build | |
steps: | |
# Note: we only run on failure. Otherwise this is skipped, which counts | |
# as a success. | |
- run: exit 1 |