Skip to content

Work around failures on platforms where the number of files open at once is limited #4251

Work around failures on platforms where the number of files open at once is limited

Work around failures on platforms where the number of files open at once is limited #4251

Workflow file for this run

name: Builds, tests & co
on:
pull_request:
push:
schedule:
# Prime the caches every Monday
- cron: 0 1 * * MON
permissions: read-all
jobs:
hygiene:
name: Hygiene
runs-on: ubuntu-latest
steps:
- name: Checkout tree
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set-up Node.js
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
check-latest: true
node-version-file: .nvmrc
- run: corepack enable
- run: yarn install --immutable
- if: always()
run: yarn lint
- if: always()
run: yarn typecheck
- name: Ensure dist directory is up-to-date
if: always()
run: yarn build && git diff --exit-code --ignore-cr-at-eol
test:
name: Test
needs: hygiene
strategy:
fail-fast: false
matrix:
os:
- ubuntu-24.04
- ubuntu-24.04-arm
- macos-15
- windows-2025
ocaml-compiler:
- "5.3"
allow-prerelease-opam:
- false
include:
- os: ubuntu-24.04
ocaml-compiler: ocaml-variants.5.3.0+options,ocaml-option-flambda
allow-prerelease-opam: false
- os: ubuntu-24.04
ocaml-compiler: "5.3"
allow-prerelease-opam: true
runs-on: ${{ matrix.os }}
steps:
- name: Checkout tree
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
uses: ./
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
allow-prerelease-opam: ${{ matrix.allow-prerelease-opam }}
- run: opam install ssl