File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -33,26 +33,21 @@ jobs:
33
33
34
34
runs-on : ${{matrix.os}}
35
35
36
- container :
37
- image : ghcr.io/rescript-lang/rescript-ci-build:alpine-3.19-ocaml-4.14.1-02
38
-
39
36
steps :
40
- # See https://github.com/actions/runner/issues/801#issuecomment-1374967227.
41
- - name : Workaround for Github actions runner on Alpine arm64
42
- if : runner.arch == 'ARM64'
43
- run : sed -i "s:ID=alpine:ID=NotpineForGHA:" /etc/os-release
44
-
45
37
- name : Checkout
46
38
uses : actions/checkout@v3
47
39
48
40
- name : Build compiler binaries
49
- run : opam exec -- dune build --display quiet --profile static
41
+ uses : docker://ghcr.io/rescript-lang/rescript-ci-build:alpine-3.19-ocaml-4.14.1-02
42
+ with :
43
+ args : opam exec -- dune build --display quiet --profile static
50
44
51
45
- name : Build ninja binary
52
- working-directory : ninja
46
+ uses : docker://ghcr.io/rescript-lang/rescript-ci-build:alpine-3.19-ocaml-4.14.1-02
53
47
env :
54
48
LDFLAGS : -static
55
- run : python3 configure.py --bootstrap --verbose
49
+ with :
50
+ args : sh -c "cd ninja && LDFLAGS=-static python3 configure.py --bootstrap"
56
51
57
52
- name : " Upload artifacts"
58
53
uses : actions/upload-artifact@v3
You can’t perform that action at this time.
0 commit comments