Skip to content

Commit e708565

Browse files
authored
call scripts through sh (#189)
because scripts installed by opam/dune in the share section are not executable
1 parent 2d590ab commit e708565

3 files changed

Lines changed: 12 additions & 11 deletions

File tree

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ updates:
44
- package-ecosystem: github-actions
55
directory: /
66
schedule:
7-
interval: weekly
7+
interval: monthly

.github/workflows/main.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,14 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
dune-version: [3.19.1]
19+
dune-version: [3.20.2]
2020
ocaml-version: [5.3.0]
2121
camlp5-version: [8.03.06]
22-
hol-light-version: [3.1.0]
23-
hol-light-commit: [master]
22+
hol-light-version: [3.0.0]
23+
hol-light-commit: [72b2b70]
2424
lambdapi-version: [master] # >= 3.0.0
25-
rocq-version: [9.0.0]
2625
dedukti-version: [2.7]
27-
mapping: [mappings_N]
26+
#rocq-version: [9.0.0]
2827
runs-on: ubuntu-latest
2928
steps:
3029
# actions/checkout must be done BEFORE avsm/setup-ocaml
@@ -41,24 +40,26 @@ jobs:
4140
eval `opam env`
4241
dune build
4342
dune install
44-
- name: Install dependencies
43+
- name: Install dedukti
4544
run: |
46-
opam install -y --deps-only hol_light.${{ matrix.hol-light-version }}
47-
opam install -y dedukti.${{ matrix.dedukti-version }} rocq-prover.${{ matrix.rocq-version }}
45+
opam install -y dedukti.${{ matrix.dedukti-version }}
4846
- name: Install lambdapi
4947
run: |
5048
git clone --depth 1 -b ${{ matrix.lambdapi-version }} https://github.com/Deducteam/lambdapi
5149
sudo apt-get install -y libev-dev
5250
opam pin lambdapi lambdapi
5351
opam install -y lambdapi
52+
- name: Install HOL-Light dependencies
53+
run: |
54+
opam install -y --deps-only hol_light.${{ matrix.hol-light-version }}
5455
- name: Get hol-light and patch it
5556
run: |
5657
eval `opam env`
5758
export HOL2DK_DIR=`pwd`
5859
export HOLLIGHT_DIR=`pwd`/hol-light
5960
git clone https://github.com/jrh13/hol-light
6061
cd hol-light
61-
#git checkout ${{ matrix.hol-light-commit }}
62+
git checkout ${{ matrix.hol-light-commit }}
6263
make
6364
hol2dk patch
6465
- name: Dump proofs

main.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ let print_hstats() =
305305
let call_script s args =
306306
match Sys.getenv_opt "HOL2DK_DIR" with
307307
| None -> err "set $HOL2DK_DIR first\n"; exit 1
308-
| Some d -> exit (Sys.command (d^"/"^s^" "^String.concat " " args))
308+
| Some d -> exit (Sys.command ("sh "^d^"/"^s^" "^String.concat " " args))
309309
;;
310310

311311
let print_env_var n =

0 commit comments

Comments
 (0)