@@ -123,36 +123,6 @@ jobs:
123
123
name : dist-x86_64-unknown-linux-gnu
124
124
path : ./dist
125
125
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
-
156
126
dist-aarch64-unknown-linux-gnu :
157
127
name : dist (aarch64-unknown-linux-gnu)
158
128
runs-on : ubuntu-20.04
@@ -189,6 +159,36 @@ jobs:
189
159
name : dist-aarch64-unknown-linux-gnu
190
160
path : ./dist
191
161
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
+
192
192
dist-x86_64-apple-darwin :
193
193
name : dist (x86_64-apple-darwin)
194
194
runs-on : macos-latest
0 commit comments