File tree Expand file tree Collapse file tree 1 file changed +26
-6
lines changed
Expand file tree Collapse file tree 1 file changed +26
-6
lines changed Original file line number Diff line number Diff line change 22
33name : CI
44
5- # Controls when the action will run. Triggers the workflow on push or pull request
6- # events but only for the master branch
5+ # Controls when the action will run.
6+ # cf. https://help.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#filtering-for-specific-branches-tags-and-paths
7+ # Triggers the workflow on push events or pull request events for the
8+ # master branch only:
79on :
810 push :
9- branches : [ master ]
11+ branches :
12+ - master
1013 pull_request :
11- branches : [ master ]
14+ branches :
15+ - master
1216
1317# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1418jobs :
1519 # This workflow contains a single job called "build"
1620 build :
17- # The type of runner that the job will run on
21+ # The type of runner that the job will run on;
22+ # the OS must be GNU/Linux to be able to use the docker-coq-action
1823 runs-on : ubuntu-latest
1924
2025 # Steps represent a sequence of tasks that will be executed as part of the job
2732 with :
2833 opam_file : ' coq-demo.opam'
2934 coq_version : ' 8.11'
30- ocaml_version : ' 4.09-flambda'
35+ ocaml_version : ' 4.07-flambda'
36+ custom_script : |
37+ startGroup Print opam config
38+ opam config list; opam repo list; opam list
39+ endGroup
40+ startGroup Fetch dependencies
41+ opam pin add -n -y -k path $PACKAGE .
42+ opam update -y
43+ endGroup
44+ startGroup Build
45+ opam install -y -v -j 2 $PACKAGE
46+ opam list
47+ endGroup
48+ startGroup Uninstallation test
49+ opam remove $PACKAGE
50+ endGroup
You can’t perform that action at this time.
0 commit comments