Skip to content

Commit e55e6c4

Browse files
committed
Cleaning and adapting CI.
1 parent 4ad7e67 commit e55e6c4

File tree

5 files changed

+16
-132
lines changed

5 files changed

+16
-132
lines changed

.github/workflows/ci-libhyps.yml

Lines changed: 10 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -6,47 +6,26 @@ name: CI
66
on:
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
1717
jobs:
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'
@@ -58,8 +37,6 @@ jobs:
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

CoqMakefile.conf

Lines changed: 0 additions & 57 deletions
This file was deleted.

Makefile.local

Lines changed: 0 additions & 33 deletions
This file was deleted.

_CoqProject

Lines changed: 0 additions & 8 deletions
This file was deleted.

coq-libhyps.opam

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ run-test: [
2727
install: [make "install"]
2828

2929
depends: [
30-
"coq" {(>= "8.11" & <= "8.21~") | (= "dev")}
30+
"coq" {(>= "8.11" & <= "8.21~") }
3131
]
3232

3333
tags: [
@@ -52,3 +52,8 @@ or any tactic expecting a hypothesis name as argument.
5252
It also provides the especialize tactic to ease forward reasoning by
5353
instantianting one, several or all premisses of a hypothesis.
5454
"
55+
56+
url {
57+
src: "https://github.com/Matafou/LibHyps/archive/refs/tags/3.0.2.tar.gz"
58+
checksum: "sha512=???"
59+
}

0 commit comments

Comments
 (0)