Skip to content

Commit

Permalink
Update OCaml compiler in CI and don't run on main push
Browse files Browse the repository at this point in the history
  • Loading branch information
filipeom committed Mar 1, 2025
1 parent 030a5d6 commit 8a73a37
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 18 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Build

on:
push:
branches:
- main
pull_request:
branches:
- main
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
- name: Save .git
run: mv .git /tmp/gitdir-smtml

- name: Setup OCaml 4.14
- name: Setup OCaml 5.3
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "4.14"
ocaml-compiler: "5.3"
dune-cache: true

- name: Setup Pages
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-alt-ergo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
- name: Remove .git
run: rm -rf .git

- name: Setup OCaml 4.14
- name: Setup OCaml 5.3
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "4.14"
ocaml-compiler: "5.3"
dune-cache: true

- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-bitwuzla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
- name: Remove .git
run: rm -rf .git

- name: Setup OCaml 4.14
- name: Setup OCaml 5.3
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "4.14"
ocaml-compiler: "5.3"
dune-cache: false

- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-colibri2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
- name: Remove .git
run: rm -rf .git

- name: Setup OCaml 4.14
- name: Setup OCaml 5.3
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "4.14"
ocaml-compiler: "5.3"
dune-cache: true

- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-cvc5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
- name: Remove .git
run: rm -rf .git

- name: Setup OCaml 4.14
- name: Setup OCaml 5.3
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "4.14"
ocaml-compiler: "5.3"
dune-cache: true

- name: Install dependencies
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/test-z3.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Test Z3

on:
push:
branches:
- main
pull_request:
branches:
- main
Expand All @@ -22,10 +19,10 @@ jobs:
- name: Remove .git
run: rm -rf .git

- name: Setup OCaml 4.14
- name: Setup OCaml 5.3
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "4.14"
ocaml-compiler: "5.3"
dune-cache: true

- name: Install dependencies
Expand Down

0 comments on commit 8a73a37

Please sign in to comment.