You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# We set the supported coq-version from here. In order to use this environment variable correctly, look at how they are used in the following jobs.
9
+
# Coq version configuration
10
+
# - coq-version-supported: The main supported version used for documentation
11
+
# - Other versions are tested but docs are only built with supported version
10
12
env:
11
-
coq-version-supported: '8.19'
13
+
coq-version-supported: '9.0'
14
+
coq-version-9-1: '9.1'
12
15
ocaml-version: '4.14-flambda'
13
16
deployment-branch: 'gh-pages'
14
17
@@ -34,28 +37,21 @@ jobs:
34
37
strategy:
35
38
fail-fast: false
36
39
matrix:
37
-
coq-version-dummy:
38
-
- 'supported'
39
-
- 'latest'
40
-
- 'dev'
40
+
coq-version:
41
+
- '9.0'
42
+
- '9.1'
43
+
- 'dev'
41
44
os:
42
45
- ubuntu-latest
43
-
env:
44
-
coq-version: ${{ matrix.coq-version-dummy }}
45
46
runs-on: ${{ matrix.os }}
46
47
steps:
47
-
# Github actions doesn't let us set workflow level environment variables inside the strategy of a job. Therefore we use the dummy variable coq-version in the matrix to set an environment variable env.coq-version, which uses the globally set coq-version-supported when running the 'supported' case.
# Github actions doesn't let us set workflow level environment variables inside the strategy of a job. Therefore we use the dummy variable coq-version in the matrix to set an environment variable env.coq-version, which uses the globally set coq-version-supported when running the 'supported' case.
# We build on our supported version of coq and the master version
107
-
coq-version-dummy:
108
-
- 'supported'
109
-
- 'latest'
96
+
# We build on supported versions; artifacts used for docs and validation
97
+
coq-version:
98
+
- '9.0'
99
+
- '9.1'
110
100
include:
111
-
- coq-version-dummy: 'dev'
112
-
extra-gh-reportify: '--warnings'
113
-
env:
114
-
coq-version: ${{ matrix.coq-version-dummy }}
101
+
- coq-version: 'dev'
102
+
extra-gh-reportify: '--warnings'
115
103
runs-on: ubuntu-latest
116
104
steps:
117
-
# Github actions doesn't let us set workflow level environment variables inside the strategy of a job. Therefore we use the dummy variable coq-version in the matrix to set an environment variable env.coq-version, which uses the globally set coq-version-supported when running the 'supported' case.
# For some reason, we get a stackoverflow. So we are lax
288
272
# with making these.
@@ -412,33 +396,26 @@ jobs:
412
396
strategy:
413
397
fail-fast: false
414
398
matrix:
415
-
# We build on our supported version of coq and the master version
416
-
coq-version-dummy:
417
-
- 'supported'
418
-
- 'latest'
419
-
- 'dev'
420
-
env:
421
-
coq-version: ${{ matrix.coq-version-dummy }}
399
+
coq-version:
400
+
- '9.0'
401
+
- '9.1'
402
+
- 'dev'
422
403
runs-on: ubuntu-latest
423
404
steps:
424
-
# Github actions doesn't let us set workflow level environment variables inside the strategy of a job. Therefore we use the dummy variable coq-version in the matrix to set an environment variable env.coq-version, which uses the globally set coq-version-supported when running the 'supported' case.
# We build on our supported version of coq and the master version
461
-
coq-version-dummy:
462
-
- 'supported'
463
-
- 'latest'
464
-
- 'dev'
465
-
env:
466
-
coq-version: ${{ matrix.coq-version-dummy }}
437
+
coq-version:
438
+
- '9.0'
439
+
- '9.1'
440
+
- 'dev'
467
441
runs-on: ubuntu-latest
468
442
steps:
469
-
# Github actions doesn't let us set workflow level environment variables inside the strategy of a job. Therefore we use the dummy variable coq-version in the matrix to set an environment variable env.coq-version, which uses the globally set coq-version-supported when running the 'supported' case.
echo "::remove-matcher owner=coq-problem-matcher::" # remove problem matcher installed by Coq docker action, so we don't get duplicate warning annotations
493
463
## Test install target
494
464
make install
495
-
echo 'Require Import HoTT.HoTT.' | coqtop -q
465
+
echo 'Require Import HoTT.HoTT.' | rocq repl -q
496
466
497
467
- name: Revert permissions
498
468
# to avoid a warning at cleanup time - https://github.com/coq-community/docker-coq-action#permissions
0 commit comments