File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -103,27 +103,23 @@ 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
106
107
107
108
steps :
108
109
- name : Checkout
109
110
uses : actions/checkout@v4
110
111
111
- - name : Setup Python for ninja build
112
- uses : actions/setup-python@v5
113
- with :
114
- python-version : ' 3.10'
115
-
116
112
- name : Build compiler binaries
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
113
+ run : |
114
+ opam exec -- dune build --display quiet --profile static
120
115
121
116
- name : Build ninja binary
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"
117
+ run : |
118
+ cd ninja
119
+ LDFLAGS=-static python configure.py --bootstrap
120
+ cd ..
125
121
126
- - name : " Upload artifacts"
122
+ - name : Upload artifacts
127
123
uses : actions/upload-artifact@v4
128
124
with :
129
125
name : static-binaries-linux-${{runner.arch}}
You can’t perform that action at this time.
0 commit comments