Skip to content

Commit

Permalink
Merge pull request #680 from ocsigen/ci-win
Browse files Browse the repository at this point in the history
Run CI on Windows as well
  • Loading branch information
balat authored Aug 26, 2024
2 parents cb9b632 + b156fd5 commit b50323b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
25 changes: 9 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,27 @@ jobs:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
ocaml-compiler:
- "4.08"
- "4.09"
- "4.10"
- "4.11"
- "4.12"
- "4.13"
- "4.14"
- "5.0"
- "5.1"
- "5.2"
include:
- os: macos-latest
ocaml-compiler: "4.14"
- os: macos-latest
ocaml-compiler: "5.2"
- os: ubuntu-latest
ocaml-compiler: "4.08"

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

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

- name: Set-up Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*

- name: Set-up OCaml
uses: ocaml/setup-ocaml@v3
with:
Expand All @@ -45,10 +42,6 @@ jobs:

- run: opam pin add ocsigen-start.dev . --no-action

- name: Re-install OpenSSL on macOS
if: runner.os == 'macOS'
run: brew update && brew reinstall openssl@3

- run: opam install .

- run: mkdir -p template
Expand Down
1 change: 0 additions & 1 deletion opam
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ depends: [
"yojson" {>= "1.6.0"}
"resource-pooling" {>= "1.0" & < "2.0"}
"cohttp-lwt-unix"
"conf-npm" {>= "1"}
"re" {>= "1.7.2"}
]
depexts: [
Expand Down

0 comments on commit b50323b

Please sign in to comment.