Skip to content

Commit

Permalink
Get rid of bash hack on Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <[email protected]>
  • Loading branch information
smorimoto committed Dec 27, 2024
1 parent 28ba000 commit f891448
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,26 @@ jobs:
os:
- macos-latest
- windows-latest
ocaml-compiler:
- 5

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

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

- name: Use OCaml ${{ matrix.ocaml-compiler }}
- name: Set-up OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
ocaml-compiler: 5

- name: Install Cap'n Proto (on Windows)
if: runner.os == 'Windows'
shell: bash
env:
CAPNP_VERSION: 1.1.0
SHELLOPTS: igncr
run: |
curl -LO https://capnproto.org/capnproto-c++-win32-$CAPNP_VERSION.zip && \
unzip -j capnproto-c++-win32-$CAPNP_VERSION.zip capnproto-tools-win32-$CAPNP_VERSION/capnp.exe -d /usr/bin
env:
CAPNP_VERSION: 1.1.0

- run: opam install . --deps-only --with-test

Expand Down

0 comments on commit f891448

Please sign in to comment.