Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add win test #1095

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 12 additions & 26 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
os:
- ubuntu-latest
- macos-latest
ocaml-compiler:
- "5"
- windows-latest
local-packages:
- |
*.opam
Expand All @@ -37,10 +36,10 @@ jobs:
- name: Checkout tree
uses: actions/checkout@v4

- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
- name: Set-up OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
ocaml-compiler: 5
dune-cache: true
opam-local-packages: ${{ matrix.local-packages }}

Expand All @@ -64,8 +63,7 @@ jobs:
os:
- ubuntu-latest
- macos-latest
ocaml-compiler:
- "5"
- windows-latest
local-packages:
- |
*.opam
Expand All @@ -84,10 +82,10 @@ jobs:
- name: Checkout tree
uses: actions/checkout@v4

- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
- name: Set-up OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
ocaml-compiler: 5
dune-cache: true
opam-local-packages: ${{ matrix.local-packages }}

Expand All @@ -111,8 +109,7 @@ jobs:
os:
- ubuntu-latest
- macos-latest
ocaml-compiler:
- "5"
- windows-latest
local-packages:
- |
http.opam
Expand All @@ -125,10 +122,10 @@ jobs:
- name: Checkout tree
uses: actions/checkout@v4

- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
- name: Set-up OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
ocaml-compiler: 5
dune-cache: true
opam-local-packages: ${{ matrix.local-packages }}
opam-repositories: |
Expand All @@ -141,29 +138,18 @@ jobs:

build-test-cohttp-bench:
if: github.event.pull_request.draft == false
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
ocaml-compiler:
- "5"
local-packages:
- |
*.opam

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

steps:
- name: Checkout tree
uses: actions/checkout@v4

- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
- name: Set-up OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
ocaml-compiler: 5
dune-cache: true
opam-local-packages: ${{ matrix.local-packages }}
opam-repositories: |
default: https://github.com/ocaml/opam-repository.git
alpha: https://github.com/kit-ty-kate/opam-alpha-repository.git
Expand Down
Loading