Replace defn/chan with calls to the channel model #2330
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: | |
| branches: ["master"] | |
| pull_request: | |
| branches: ["master"] | |
| schedule: | |
| # every day at 9am UTC (4am EST). | |
| - cron: "0 9 * * *" | |
| # allow running action manually. | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| coq_version: | |
| - dev | |
| - "9.1" | |
| max-parallel: 4 | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| submodules: true | |
| - uses: coq-community/docker-coq-action@v1 | |
| with: | |
| coq_version: ${{ matrix.coq_version }} | |
| ocaml_version: "default" | |
| install: | | |
| startGroup Install dependencies | |
| sudo apt-get update | |
| sudo apt-get install -y python3 python3-pandas sqlite3 | |
| endGroup | |
| # for permissions issue, see: | |
| # https://github.com/coq-community/docker-coq-action#permissions. | |
| before_script: | | |
| sudo chown -R 1000:1000 . | |
| script: | | |
| startGroup Build | |
| make -j4 -k ci | |
| endGroup | |
| after_script: | | |
| startGroup Create timing report | |
| ./etc/timing-report.py --max-files 50 | |
| endGroup | |
| uninstall: | | |
| make clean | |
| - name: Revert permissions | |
| if: ${{ always() }} | |
| run: sudo chown -R 1001:116 . | |
| check-goose: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| submodules: true | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: "1.24" | |
| # repo doesn't have go.sum file. nothing to cache. | |
| cache: false | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| cache: "pip" | |
| - run: pip install . | |
| - name: build ci-use-goose-pr | |
| run: | | |
| cd etc/ci-use-goose-pr | |
| go install . | |
| - name: check that Goosed files are clean | |
| run: | | |
| if [ "${{ github.event_name }}" = "pull_request" ]; then | |
| ci-use-goose-pr -pr ${{ github.event.number }} -verbose | |
| ./etc/ci-goose-check.py --new-goose-url "$( ci-use-goose-pr -pr ${{ github.event.number }} )" | |
| else | |
| ./etc/ci-goose-check.py | |
| fi | |
| check-grackle: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| submodules: true | |
| - name: Install protoc | |
| run: sudo apt-get install protobuf-compiler -y | |
| - name: Install Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: "1.24" | |
| cache: false | |
| - name: Install Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| cache: "pip" | |
| - name: Check Grackle | |
| run: | | |
| ./etc/ci-grackle-check.py | |
| git diff --exit-code | |
| python: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| cache: "pip" | |
| - run: pip install . | |
| - name: Format | |
| run: ruff format --diff ./ | |
| - name: Lint | |
| run: ruff check ./ |