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:
3333
3434 runs-on : ${{matrix.os}}
3535
36- container :
37- image : ghcr.io/rescript-lang/rescript-ci-build:alpine-3.19-ocaml-4.14.1-02
38-
3936 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-
4537 - name : Checkout
4638 uses : actions/checkout@v3
4739
4840 - 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
5044
5145 - 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
5347 env :
5448 LDFLAGS : -static
55- run : python3 configure.py --bootstrap --verbose
49+ with :
50+ args : sh -c "cd ninja && LDFLAGS=-static python3 configure.py --bootstrap"
5651
5752 - name : " Upload artifacts"
5853 uses : actions/upload-artifact@v3
You can’t perform that action at this time.
0 commit comments