Merge branch '8.19' into 8.20_cleanup #155
This file contains 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: Test compilation | |
on: | |
push: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- ready_for_review | |
workflow_dispatch: | |
inputs: | |
jobs: | |
build-matrix: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
opam_file: | |
- 'coq-wasm.opam' | |
coq_version: | |
- '8.20' | |
fail-fast: true | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: coq-community/docker-coq-action@v1 | |
with: | |
opam_file: ${{ matrix.opam_file }} | |
coq_version: ${{ matrix.coq_version }} | |
before_install: | | |
startGroup "install dependencies" | |
sudo apt update | |
sudo apt install nano --yes | |
sudo chmod 777 ~/. -R | |
sudo chmod 777 . -R | |
endGroup | |
after_script: | | |
startGroup "List installed packages" | |
opam list | |
endGroup | |
startGroup "Test suites" | |
dune test | |
endGroup | |
startGroup "Test import" | |
cd .ci/ | |
coqc import_test.v | |
cd .. | |
endGroup |