Skip to content

Commit

Permalink
faster CI
Browse files Browse the repository at this point in the history
  • Loading branch information
filipeom committed Dec 24, 2023
1 parent 840bd6e commit 55b27c5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ jobs:
fail-fast: true
matrix:
os:
- self-hosted
- ubuntu-latest
- macos-latest
ocaml-compiler:
- "4.14"
- "5.1"
Expand All @@ -26,6 +27,8 @@ jobs:
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
dune-cache: true
allow-prerelease-opam: true
- name: Install dependencies
run: opam install -y . --deps-only --with-test
- name: Build
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@ concurrency:

jobs:
build:
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup OCaml 4.14
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: "4.14"
dune-cache: true
allow-prerelease-opam: true
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
Expand Down

0 comments on commit 55b27c5

Please sign in to comment.