@@ -6,47 +6,26 @@ name: CI
66on :
77 # Triggers the workflow on push or pull request events but only for the "master" branch
88 push :
9- branches : [ "master " ]
9+ branches : [ "coq-8 " ]
1010 pull_request :
11- branches : [ "master " ]
11+ branches : [ "coq-8 " ]
1212
1313 # Allows you to run this workflow manually from the Actions tab
1414 workflow_dispatch :
1515
1616# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1717jobs :
18- # This workflow contains a single job called "build"
19- build :
20- # The type of runner that the job will run on
21- runs-on : ubuntu-latest
22- strategy :
23- matrix :
24- image :
25- - ' coqorg/coq:dev'
26- - ' coqorg/coq:8.20'
27- - ' coqorg/coq:8.19'
28- - ' coqorg/coq:8.18'
29- - ' coqorg/coq:8.17'
30- - ' coqorg/coq:8.16'
31- # Steps represent a sequence of tasks that will be executed as part of the job
32- steps :
33- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
34- - uses : actions/checkout@v3
35- - uses : coq-community/docker-coq-action@v1
36- with :
37- opam_file : ' coq-libhyps.opam'
38- custom_image : ${{ matrix.image }}
39- env :
40- OPAMWITHTEST : ' true'
41-
42- # This workflow contains a single job called "build"
43- test :
18+ # this builds libhyps and also runs the tests
19+ build-and-test :
4420 # The type of runner that the job will run on
4521 runs-on : ubuntu-latest
22+ # this shell variable is detected by "opam install" and triggers
23+ # the "run-test" part of the opam project file
24+ env :
25+ OPAMWITHTEST : ' true'
4626 strategy :
4727 matrix :
4828 image :
49- - ' coqorg/coq:dev'
5029 - ' coqorg/coq:8.20'
5130 - ' coqorg/coq:8.19'
5231 - ' coqorg/coq:8.18'
5837 - uses : actions/checkout@v3
5938 - uses : coq-community/docker-coq-action@v1
6039 with :
61- opam_file : ' coq -libhyps.opam'
40+ opam_file : ' rocq -libhyps.opam'
6241 custom_image : ${{ matrix.image }}
63- export : ' OPAMWITHTEST' # space-separated list of variables
64- env :
65- OPAMWITHTEST : ' true'
42+ # export: 'OPAMWITHTEST' # space-separated list of variables
0 commit comments