Skip to content

Commit b41496f

Browse files
authored
Merge pull request #2 from erikmd/feature-timegroup
Implement time-group feature
2 parents f40c27d + 508e177 commit b41496f

File tree

1 file changed

+26
-6
lines changed

1 file changed

+26
-6
lines changed

.github/workflows/build-coq-demo.yml

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,24 @@
22

33
name: 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:
79
on:
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
1418
jobs:
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
@@ -27,4 +32,19 @@ jobs:
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

0 commit comments

Comments
 (0)