@@ -16,10 +16,6 @@ concurrency:
16
16
17
17
jobs :
18
18
build :
19
- strategy :
20
- matrix :
21
- version : [4.14.1]
22
-
23
19
24
20
runs-on : ubuntu-22.04
25
21
49
45
- name : Run tests
50
46
working-directory : rems-project/casemate
51
47
run : |
52
- make checks
48
+ make check-examples
49
+
50
+ build_rocq :
51
+ strategy :
52
+ matrix :
53
+ version : [4.12.4]
54
+
55
+ runs-on : ubuntu-22.04
56
+
57
+ steps :
58
+
59
+ - run : mkdir -p rems-project
60
+
61
+ - uses : actions/checkout@v3
62
+ with :
63
+ path : rems-project/casemate
64
+
65
+ - name : System dependencies (ubuntu)
66
+ run : |
67
+ sudo apt update
68
+ sudo apt install build-essential opam
69
+
70
+ - name : Restore OPAM cache
71
+ id : cache-opam-restore
72
+ uses : actions/cache/restore@v4
73
+ with :
74
+ path : ~/.opam
75
+ key : ${{ matrix.version }}
76
+
77
+ - name : Setup OPAM
78
+ if : steps.cache-opam-restore.outputs.cache-hit != 'true'
79
+ working-directory : rems-project/casemate/src/casemate-check-rocq
80
+ run : |
81
+ opam init --yes --no-setup --shell=sh --compiler=${{ matrix.version }}
82
+ eval $(opam env --switch=${{ matrix.version }})
83
+ opam repo add --yes iris-dev https://gitlab.mpi-sws.org/iris/opam.git
84
+ opam pin add --yes --no-action https://github.com/tchajed/coq-record-update.git
85
+ opam install --deps-only --yes .
86
+ opam install --yes .
87
+
88
+ - name : Save OPAM cache
89
+ uses : actions/cache/save@v4
90
+ if : steps.cache-opam-restore.outputs.cache-hit != 'true'
91
+ with :
92
+ path : ~/.opam
93
+ key : ${{ matrix.version }}
94
+
95
+ - name : Install Casemate-rocq
96
+ working-directory : rems-project/casemate/src/casemate-check-rocq
97
+ run : |
98
+ opam switch ${{ matrix.version }}
99
+ eval $(opam env --switch=${{ matrix.version }})
100
+ opam install --yes .
101
+
102
+ - name : Run Rocq checks
103
+ working-directory : rems-project/casemate
104
+ run : |
105
+ opam switch ${{ matrix.version }}
106
+ eval $(opam env --switch=${{ matrix.version }})
107
+ make check-rocq
0 commit comments