Skip to content

Merge pull request #84 from CertiCoq/joom/glue-tag-fix #323

Merge pull request #84 from CertiCoq/joom/glue-tag-fix

Merge pull request #84 from CertiCoq/joom/glue-tag-fix #323

Workflow file for this run

name: Test compilation
on:
push:
branches:
- master
- coq-8.17
pull_request:
branches:
- "**"
workflow_dispatch:
inputs:
jobs:
build-matrix:
runs-on: ubuntu-latest
strategy:
matrix:
opam_file:
- 'coq-certicoq.opam'
image:
# - 'mattam82/coq:8.17--ocaml-4.13.1--clang-11--compcert-3.12--extlib-0.11.8--equations-1.3' # comment back in if MetaCoq commit changes
- 'yforster/coq:8.17.0--clang-11--compcert-3.12--extlib-0.11.8--equations-1.3--elpi.1.17.1-metacoq-8.17.dev.e0794e3'
fail-fast: false # don't stop jobs if one fails
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: coq-community/docker-coq-action@v1
with:
custom_image: ${{ matrix.image }}
opam_file: ${{ matrix.opam_file }}
# before_install: | # comment back in if MetaCoq commit changes
# startGroup "fix permission issues"
# sudo chown -R coq:coq .
# endGroup
# startGroup "opam pin"
# opam pin -n -y submodules/metacoq
# endGroup
before_script: |
startGroup "fix permission issues"
sudo chown -R coq:coq .
endGroup
startGroup "Copy repo (for later benchmarking)"
cp -r `pwd` ~/repo
endGroup
after_script: |
startGroup "List installed packages"
opam list
endGroup
startGroup "Run benchmarks"
make -C ~/repo/benchmarks all
endGroup
startGroup "Test bootstrapped plugins"
cd repo && ./configure.sh global
make -C ~/repo/bootstrap test
endGroup