-
Notifications
You must be signed in to change notification settings - Fork 21
73 lines (73 loc) · 1.8 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"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"
]
}
}
}