File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -103,23 +103,27 @@ jobs:
103103 os : [ubuntu-latest, buildjet-2vcpu-ubuntu-2204-arm]
104104
105105 runs-on : ${{matrix.os}}
106- container : ghcr.io/rescript-lang/rescript-ci-build:alpine-3.20-ocaml-5.2.0-01
107106
108107 steps :
109108 - name : Checkout
110109 uses : actions/checkout@v4
111110
111+ - name : Setup Python for ninja build
112+ uses : actions/setup-python@v5
113+ with :
114+ python-version : ' 3.10'
115+
112116 - name : Build compiler binaries
113- run : |
114- opam exec -- dune build --display quiet --profile static
117+ uses : docker://ghcr.io/rescript-lang/rescript-ci-build:alpine-3.20-ocaml-5.2.0-01
118+ with :
119+ args : opam exec -- dune build --display quiet --profile static
115120
116121 - name : Build ninja binary
117- run : |
118- cd ninja
119- LDFLAGS=-static python configure.py --bootstrap
120- cd ..
122+ uses : docker://ghcr.io/rescript-lang/rescript-ci-build:alpine-3.20-ocaml-5.2.0-01
123+ with :
124+ args : sh -c "cd ninja && LDFLAGS=-static python configure.py --bootstrap"
121125
122- - name : Upload artifacts
126+ - name : " Upload artifacts"
123127 uses : actions/upload-artifact@v4
124128 with :
125129 name : static-binaries-linux-${{runner.arch}}
You can’t perform that action at this time.
0 commit comments