Skip to content

Commit

Permalink
Refactored the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Nangah Amandine Chi authored and Nangah Amandine Chi committed Oct 26, 2023
1 parent e339094 commit 509cb37
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
name: main

on:
pull_request:
push:
branches:
- main

- main

jobs:
build:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
ocaml-compiler: ["ocaml.5.0.0", "ocaml-option-mingw"]

steps:
- name: Checkout code
Expand All @@ -23,7 +22,7 @@ jobs:
with:
opam-pin: false
opam-depext: false
ocaml-compiler: ocaml.5.0.0,ocaml-option-mingw
ocaml-compiler: ${{ matrix.ocaml-compiler }}
opam-repositories: |
dra27: https://github.com/dra27/opam-repository.git#windows-5.0
default: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset
Expand Down

0 comments on commit 509cb37

Please sign in to comment.