Skip to content

Commit 28d4273

Browse files
committed
Build OBuilder on Windows in GHA
1 parent 79a90c4 commit 28d4273

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/main.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,27 @@ jobs:
5252
sudo wget https://github.com/opencontainers/runc/releases/download/$RUNC_VERSION/runc.amd64 -O /usr/local/bin/runc
5353
5454
- run: ./.run-gha-tests.sh
55+
56+
windows:
57+
strategy:
58+
fail-fast: false
59+
matrix:
60+
os:
61+
- windows-latest
62+
ocaml-compiler:
63+
- 4.14.x
64+
65+
runs-on: ${{ matrix.os }}
66+
67+
steps:
68+
- name: Checkout code
69+
uses: actions/checkout@v3
70+
71+
- name: Use OCaml ${{ matrix.ocaml-compiler }}
72+
uses: ocaml/setup-ocaml@v2
73+
with:
74+
ocaml-compiler: ${{ matrix.ocaml-compiler }}
75+
76+
- run: opam install . --deps-only --with-test
77+
78+
- run: opam exec -- dune build

0 commit comments

Comments
 (0)