Skip to content

Commit

Permalink
update CI'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sudha247 committed Aug 29, 2022
1 parent 2793478 commit 91b99d1
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions .github/workflows/ci.yml
@@ -1,25 +1,37 @@
name: CI
name: main

on:
pull_request:
push:
schedule:
# Prime the caches every Monday
- cron: 0 1 * * MON

jobs:
build:
runs-on:
- ubuntu-latest
- macos-latest
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
ocaml-compiler:
- ocaml-base-compiler.5.0.0~alpha1

runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use OCaml 5.0.0+trunk

- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ocaml-variants.5.0.0+trunk
ocaml-compiler: ${{ matrix.ocaml-compiler }}
opam-repositories: |
default: https://github.com/ocaml/opam-repository.git
ocaml-alpha-repository: https://github.com/kit-ty-kate/ocaml-alpha-repository.git
alpha: git+https://github.com/kit-ty-kate/opam-alpha-repository
opam-depext: false

- run: opam install . --deps-only --with-test
- run: opam exec -- dune build

- run: opam exec -- dune build

0 comments on commit 91b99d1

Please sign in to comment.