Skip to content

Commit

Permalink
Try ocaml on normal linux
Browse files Browse the repository at this point in the history
  • Loading branch information
SquidDev committed Feb 7, 2024
1 parent 5c1680c commit 0d2d697
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,35 +27,35 @@ jobs:
fail-fast: false
matrix:
include:
- name: Windows
uses: windows-latest
ocaml:
ocaml-compiler: ocaml-variants.5.1.1+options,ocaml-option-mingw
# Copied from https://github.com/ocaml-multicore/eio/blob/main/.github/workflows/main.yml
opam-depext: false
opam-repositories: |
dra27: https://github.com/dra27/opam-repository.git#windows-5.0
normal: https://github.com/ocaml/opam-repository.git
input-file: illuaminate.exe
output-file: illuaminate-windows-x86_64.exe
dune-flags:
# - name: Windows
# uses: windows-latest
# ocaml:
# ocaml-compiler: ocaml-variants.5.1.1+options,ocaml-option-mingw
# # Copied from https://github.com/ocaml-multicore/eio/blob/main/.github/workflows/main.yml
# opam-depext: false
# opam-repositories: |
# dra27: https://github.com/dra27/opam-repository.git#windows-5.0
# normal: https://github.com/ocaml/opam-repository.git
# input-file: illuaminate.exe
# output-file: illuaminate-windows-x86_64.exe
# dune-flags:

- name: Linux
uses: ubuntu-latest
# We don't use flambda as that ends up much buliker than without.
ocaml:
ocaml-compiler: ocaml-variants.5.1.1+options,ocaml-option-musl
input-file: illuaminate
output-file: illuaminate-linux-x86_64
dune-flags: --workspace dune-workspace.release

- name: macOS
uses: macos-latest
ocaml:
ocaml-compiler: "5.1.1"
input-file: illuaminate
output-file: illuaminate-macos-x86_64
dune-flags:
output-file: illuaminate-linux-x86_64
dune-flags: # --workspace dune-workspace.release

# - name: macOS
# uses: macos-latest
# ocaml:
# ocaml-compiler: "5.1.1"
# input-file: illuaminate
# output-file: illuaminate-macos-x86_64
# dune-flags:

name: Build ${{ matrix.name }}
runs-on: ${{ matrix.uses }}
Expand Down

0 comments on commit 0d2d697

Please sign in to comment.