Compare commits

..

7 commits

Author SHA1 Message Date
Arthur Bit-Monnot
5482bbc818
Merge pull request #8 from ignyx/ci-update-cache
ci: update deprecated actions
2025-12-08 18:10:20 +01:00
Paul ALNET
136dcdb7b6
ci: update avsm/setup-ocaml to v3
was also breaking
2025-11-24 16:06:10 +01:00
Paul ALNET
49696e4efe
ci: update ocaml to 4.14.2 2025-11-24 15:59:42 +01:00
Paul ALNET
dde1b52189
ci: update actions/cache to v4
v2 is deprecated and failing build CIs.
2025-11-24 15:51:53 +01:00
Arthur Bit-Monnot
310c42d911 Merge branch 'fix-ci' 2023-11-27 13:16:18 +01:00
Arthur Bit-Monnot
b7d19974e2 ci: change to use latest ubuntu version with ocaml 4.14 2023-11-24 16:40:26 +01:00
Arthur Bit-Monnot
4d08e292c2 ci: change to use latest ubuntu version with ocaml 4.14 2023-11-24 15:56:29 +01:00
2 changed files with 7 additions and 12 deletions

View file

@ -11,11 +11,10 @@ jobs:
matrix:
os:
# - macos-latest
# - ubuntu-latest
- ubuntu-latest
# - windows-latest
- ubuntu-18.04
ocaml-version:
- 4.11.0
- 4.14.2
# - 4.10.1
# - 4.09.1
# - 4.08.1
@ -29,17 +28,17 @@ jobs:
- name: Try to restore opam cache
if: runner.os != 'Windows'
id: opam-cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: "~/.opam"
key: ${{ matrix.os }}-${{ matrix.ocaml-version }}
- name: Use OCaml ${{ matrix.ocaml-version }}
uses: avsm/setup-ocaml@v1
uses: avsm/setup-ocaml@v3
with:
ocaml-version: ${{ matrix.ocaml-version }}
ocaml-compiler: ${{ matrix.ocaml-version }}
- run: opam install ocamlbuild
- run: opam install dune
- name: Build project
run: eval $(opam env) && make build
- name: Run demo

View file

@ -3,9 +3,5 @@
"*.ml": "ocaml",
"*.mli": "ocaml"
},
"editor.formatOnSave": true,
"ocaml.sandbox": {
"kind": "custom",
"template": "opam exec --root /mnt/commetud/GEI/OCaml/.opam -- $prog $args",
}
"editor.formatOnSave": true
}