@@ -123,36 +123,6 @@ jobs:
123123 name : dist-x86_64-unknown-linux-gnu
124124 path : ./dist
125125
126- dist-x86_64-unknown-linux-musl :
127- name : dist (x86_64-unknown-linux-musl)
128- runs-on : ubuntu-latest
129- env :
130- RA_TARGET : x86_64-unknown-linux-musl
131- # For some reason `-crt-static` is not working for clang without lld
132- RUSTFLAGS : " -C link-arg=-fuse-ld=lld -C target-feature=-crt-static"
133- container :
134- image : rust:alpine
135- volumes :
136- - /usr/local/cargo/registry
137-
138- steps :
139- - name : Install dependencies
140- run : apk add --no-cache git clang lld musl-dev
141-
142- - name : Checkout repository
143- uses : actions/checkout@v2
144- with :
145- fetch-depth : ${{ env.FETCH_DEPTH }}
146-
147- - name : Dist
148- run : cargo xtask dist
149-
150- - name : Upload artifacts
151- uses : actions/upload-artifact@v1
152- with :
153- name : dist-x86_64-unknown-linux-musl
154- path : ./dist
155-
156126 dist-aarch64-unknown-linux-gnu :
157127 name : dist (aarch64-unknown-linux-gnu)
158128 runs-on : ubuntu-20.04
@@ -189,6 +159,36 @@ jobs:
189159 name : dist-aarch64-unknown-linux-gnu
190160 path : ./dist
191161
162+ dist-x86_64-unknown-linux-musl :
163+ name : dist (x86_64-unknown-linux-musl)
164+ runs-on : ubuntu-latest
165+ env :
166+ RA_TARGET : x86_64-unknown-linux-musl
167+ # For some reason `-crt-static` is not working for clang without lld
168+ RUSTFLAGS : " -C link-arg=-fuse-ld=lld -C target-feature=-crt-static"
169+ container :
170+ image : rust:alpine
171+ volumes :
172+ - /usr/local/cargo/registry
173+
174+ steps :
175+ - name : Install dependencies
176+ run : apk add --no-cache git clang lld musl-dev
177+
178+ - name : Checkout repository
179+ uses : actions/checkout@v2
180+ with :
181+ fetch-depth : ${{ env.FETCH_DEPTH }}
182+
183+ - name : Dist
184+ run : cargo xtask dist
185+
186+ - name : Upload artifacts
187+ uses : actions/upload-artifact@v1
188+ with :
189+ name : dist-x86_64-unknown-linux-musl
190+ path : ./dist
191+
192192 dist-x86_64-apple-darwin :
193193 name : dist (x86_64-apple-darwin)
194194 runs-on : macos-latest
0 commit comments