Skip to content

Commit 5922357

Browse files
committed
Add dkml-host-abi/dkml-target-abi during testing
1 parent f0ed1bc commit 5922357

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,20 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
os:
16-
- macos-latest
17-
- ubuntu-latest
15+
include:
16+
- os: macos-latest
17+
ocaml-compiler: dkml-base-compiler
18+
dkml-host-abi: darwin_arm64
19+
dkml-target-abi: darwin_arm64
20+
- os: ubuntu-latest
21+
ocaml-compiler: dkml-base-compiler
22+
dkml-host-abi: linux_x86_64
23+
dkml-target-abi: linux_x86_64
1824
# No Windows because ...
1925
# Initialise the opam repositories
2026
# D:\cygwin\bin\opam.exe repository add default https://opam.ocaml.org --all-switches --set-default
2127
# [ERROR] Could not update repository "default": Failed to extract archive C:/Users/RUNNER~1/AppData/Local/Temp/opam-5188-5a61c5/index.tar.gz: "C:\\Windows\\system32\\tar.exe xfz /cygdrive/c/Users/RUNNER~1/AppData/Local/Temp/opam-5188-5a61c5/index.tar.gz -C /cygdrive/d/.opam/repo/default.new" exited with code 1 "tar.exe: Error opening archive: Failed to open '/cygdrive/c/Users/RUNNER~1/AppData/Local/Temp/opam-5188-5a61c5/index.tar.gz'"
2228
# - windows-latest
23-
ocaml-compiler:
24-
- dkml-base-compiler
2529

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

@@ -32,7 +36,7 @@ jobs:
3236
- name: Use OCaml ${{ matrix.ocaml-compiler }}
3337
uses: ocaml/setup-ocaml@v2
3438
with:
35-
ocaml-compiler: ${{ matrix.ocaml-compiler }}
39+
ocaml-compiler: ${{ matrix.ocaml-compiler }},dkml-host-abi-${{ matrix.dkml-host-abi }},dkml-target-abi-${{ matrix.dkml-target-abi }}
3640
opam-depext: false
3741
opam-repositories: |
3842
diskuv: git+https://github.com/diskuv/diskuv-opam-repository.git#main

0 commit comments

Comments
 (0)