Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
This fixes the ci workflows.
For now it is configured to runs exclusively on ocaml version`5.0.0`,
unlike the upstream which also uses `4.08.1`.
Support for earlier versions will be added gradually.
  • Loading branch information
snapdgn committed Jun 11, 2024
1 parent 1974cc5 commit b8a0d54
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
build:
strategy:
matrix:
version: [4.08.1, 5.0.0]
version: [5.0.0]
os: [ubuntu-latest, macOS-latest]

runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
# GitHub allows matrix variables in more places than env variables
strategy:
matrix:
version: [4.08.1]
version: [5.0.0]
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}
Expand Down
43 changes: 43 additions & 0 deletions sail_json_backend.opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.17"
synopsis: "Sail to JSON formatting"
maintainer: ["Sail Devs <[email protected]>"]
authors: [
"Alasdair Armstrong"
"Thomas Bauereiss"
"Brian Campbell"
"Shaked Flur"
"Jonathan French"
"Kathy Gray"
"Robert Norton"
"Christopher Pulte"
"Peter Sewell"
"Mark Wassell"
]
license: "BSD-2-Clause"
homepage: "https://github.com/rems-project/sail"
bug-reports: "https://github.com/rems-project/sail/issues"
depends: [
"dune" {>= "3.0"}
"libsail" {= version}
"omd" {>= "1.3.1" & < "1.4.0"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"--promote-install-files=false"
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
["dune" "install" "-p" name "--create-install-files" name]
]
dev-repo: "git+https://github.com/rems-project/sail.git"

0 comments on commit b8a0d54

Please sign in to comment.