-
Notifications
You must be signed in to change notification settings - Fork 11
53 lines (46 loc) · 1.12 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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.19.2'
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