fix: fail with a better error if sendfile isn't supported (#187) #742
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"jobs": { | |
"macos-latest": { | |
"runs-on": "macos-latest", | |
"steps": [ | |
{ | |
"uses": "actions/checkout@v2", | |
"with": { | |
"submodules": "recursive" | |
} | |
}, | |
{ | |
"uses": "cachix/install-nix-action@v22", | |
"with": { | |
"extra_nix_config": "extra-substituters = https://anmonteiro.nix-cache.workers.dev\nextra-trusted-public-keys = ocaml.nix-cache.com-1:/xI2h2+56rwFfKyyFVbkJSeGqSIYMC/Je+7XXqGKDIY=\n" | |
} | |
}, | |
{ | |
"name": "Run nix-build", | |
"run": "nix-build ./nix/ci/test.nix -A native --argstr ocamlVersion ${{ matrix.ocamlVersion }}" | |
} | |
], | |
"strategy": { | |
"fail-fast": false, | |
"matrix": { | |
"ocamlVersion": [ | |
"5_0", | |
"5_1" | |
] | |
} | |
} | |
}, | |
"ubuntu-latest": { | |
"runs-on": "ubuntu-latest", | |
"steps": [ | |
{ | |
"uses": "actions/checkout@v2", | |
"with": { | |
"submodules": "recursive" | |
} | |
}, | |
{ | |
"uses": "cachix/install-nix-action@v22", | |
"with": { | |
"extra_nix_config": "extra-substituters = https://anmonteiro.nix-cache.workers.dev\nextra-trusted-public-keys = ocaml.nix-cache.com-1:/xI2h2+56rwFfKyyFVbkJSeGqSIYMC/Je+7XXqGKDIY=\n" | |
} | |
}, | |
{ | |
"name": "Run nix-build", | |
"run": "nix-build ./nix/ci/test.nix -A native -A musl64 --argstr ocamlVersion ${{ matrix.ocamlVersion }}" | |
} | |
], | |
"strategy": { | |
"fail-fast": false, | |
"matrix": { | |
"ocamlVersion": [ | |
"5_0", | |
"5_1" | |
] | |
} | |
} | |
} | |
}, | |
"name": "Build", | |
"on": { | |
"pull_request": null, | |
"push": { | |
"branches": [ | |
"master" | |
] | |
} | |
} | |
} |