Skip to content

Commit

Permalink
[CI] Add newer Coq
Browse files Browse the repository at this point in the history
Update coq.yml

Update coq.yml

Update coq.yml

Move 8.16 job to docker
  • Loading branch information
JasonGross committed Sep 19, 2023
1 parent 37eaa9b commit 7f2f02b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/coq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
env:
- { COQ_VERSION: "8.17.1", COQ_PACKAGE: "coq-8.17.1 libcoq-8.17.1-ocaml-dev", SKIP_VALIDATE: "" , PPA: "ppa:jgross-h/many-coq-versions-ocaml-4-11" }
# Ltac2 is broken in the 8.16 package
#- { COQ_VERSION: "8.16.1", COQ_PACKAGE: "coq-8.16.1 libcoq-8.16.1-ocaml-dev", SKIP_VALIDATE: "" , PPA: "ppa:jgross-h/many-coq-versions-ocaml-4-11" }
- { COQ_VERSION: "8.15.2", COQ_PACKAGE: "coq-8.15.2 libcoq-8.15.2-ocaml-dev", SKIP_VALIDATE: "" , PPA: "ppa:jgross-h/many-coq-versions-ocaml-4-08" }
include:
- env: { COQ_VERSION: "8.15.0", COQ_PACKAGE: "coq-8.15.0 libcoq-8.15.0-ocaml-dev", SKIP_VALIDATE: "" , PPA: "ppa:jgross-h/many-coq-versions-ocaml-4-08" }
os: ubuntu-latest
- env: { COQ_VERSION: "v8.15" , COQ_PACKAGE: "coq libcoq-ocaml-dev" , SKIP_VALIDATE: "" , PPA: "ppa:jgross-h/coq-8.15-daily" }
os: ubuntu-20.04

Expand Down
22 changes: 19 additions & 3 deletions .github/workflows/docker-coq.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI (Coq, docker, dev)
name: CI (Coq, docker)

on:
push:
Expand All @@ -7,7 +7,13 @@ on:
- cron: '0 0 1 * *'

jobs:
build-dev:
build-docker:

strategy:
fail-fast: false
matrix:
coq-version: [ 'dev' , '8.16' ]

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -16,7 +22,7 @@ jobs:
- name: all
uses: coq-community/docker-coq-action@v1
with:
coq_version: dev
coq_version: ${{ matrix.coq-version }}
ocaml_version: default
custom_script: |
sudo chmod -R a=u .
Expand All @@ -30,3 +36,13 @@ jobs:
echo '::remove-matcher owner=coq-problem-matcher::'
etc/ci/github-actions-make.sh --warnings -j2 all
etc/ci/github-actions-make.sh --warnings -j2 perf-Sanity
check-all-docker:
runs-on: ubuntu-latest
needs: build-docker
if: always()
steps:
- run: echo 'The triggering workflow passed'
if: ${{ needs.build.result == 'success' }}
- run: echo 'The triggering workflow failed' && false
if: ${{ needs.build.result != 'success' }}

0 comments on commit 7f2f02b

Please sign in to comment.