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:
103
103
os : [ubuntu-latest, buildjet-2vcpu-ubuntu-2204-arm]
104
104
105
105
runs-on : ${{matrix.os}}
106
- container : ghcr.io/rescript-lang/rescript-ci-build:alpine-3.20-ocaml-5.2.0-01
107
106
108
107
steps :
109
108
- name : Checkout
110
109
uses : actions/checkout@v4
111
110
111
+ - name : Setup Python for ninja build
112
+ uses : actions/setup-python@v5
113
+ with :
114
+ python-version : ' 3.10'
115
+
112
116
- 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
115
120
116
121
- 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"
121
125
122
- - name : Upload artifacts
126
+ - name : " Upload artifacts"
123
127
uses : actions/upload-artifact@v4
124
128
with :
125
129
name : static-binaries-linux-${{runner.arch}}
You can’t perform that action at this time.
0 commit comments