Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 19 additions & 10 deletions .github/workflows/coq.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,42 @@
name: Docker CI

on:
push:
branches:
- master
pull_request:
branches:
- '**'
push:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
coq_version:
- '8.15.2'
- "9.0"
ocaml_version:
- '4.14.0-flambda'
- "4.14-flambda"
max-parallel: 4
fail-fast: false

steps:
- uses: actions/checkout@v2
- uses: coq-community/docker-coq-action@v1
- name: Checkout
uses: actions/checkout@v4

- name: Compile under docker
uses: coq-community/docker-coq-action@v1
with:
opam_file: 'coq-ctree.opam'
opam_file: 'rocq-ctree.opam'
coq_version: ${{ matrix.coq_version }}
ocaml_version: ${{ matrix.ocaml_version }}
export: 'OPAMWITHTEST'
before_install: |
startGroup "Workaround permission issue"
sudo chown -R 1000:1000 .
endGroup
startGroup "Generate Opam File"
dune build rocq-ctree.opam
endGroup
startGroup "Print opam config"
opam config list; opam repo list; opam list
endGroup
env:
OPAMWITHTEST: 'true'

Loading