File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -63,14 +63,14 @@ jobs:
6363 path : /tmp/ocaml.tar.zst
6464 retention-days : 1
6565
66- cross-arm-linux -zig :
66+ cross-arm-macos -zig :
6767 runs-on : ubuntu-latest
6868 needs : non-cross
6969 env :
7070 ZIGPATH : /home/runner/zig
7171 ZIGURL : https://ziglang.org/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz
72- TARGET : aarch64-linux-gnu
73- ZTARGET : aarch64-linux-gnu.2.34
72+ TARGET : aarch64-apple-darwin
73+ ZTARGET : aarch64-macos
7474 steps :
7575 - name : Download Artifact
7676 uses : actions/download-artifact@v4
8383 rm -f ocaml.tar.zst
8484 echo "$HOME/.local/bin" >> "$GITHUB_PATH"
8585 echo "$ZIGPATH" >> "$GITHUB_PATH"
86- sudo apt-get install -y libc6-arm64-cross qemu-user
8786 - name : Restore the zig compiler from cache
8887 uses : actions/cache/restore@v4
8988 id : cache
@@ -134,7 +133,3 @@ jobs:
134133 set -x
135134 cat example.ml
136135 $HOME/cross/bin/ocamlopt.opt -I $HOME/cross/lib/ocaml/compiler-libs/ ocamlcommon.cmxa ocamloptcomp.cmxa example.ml -o example -verbose
137- - name : Run the small example program
138- run : |
139- set -x
140- qemu-aarch64 -L /usr/aarch64-linux-gnu example
You can’t perform that action at this time.
0 commit comments