|
85 | 85 |
|
86 | 86 | dist-x86_64-unknown-linux-gnu:
|
87 | 87 | name: dist (x86_64-unknown-linux-gnu)
|
88 |
| - runs-on: ubuntu-18.04 |
| 88 | + runs-on: ubuntu-20.04 |
89 | 89 | env:
|
90 | 90 | RA_TARGET: x86_64-unknown-linux-gnu
|
91 | 91 |
|
@@ -123,39 +123,9 @@ 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-20.04 |
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 |
| - runs-on: ubuntu-18.04 |
| 128 | + runs-on: ubuntu-20.04 |
159 | 129 | env:
|
160 | 130 | RA_TARGET: aarch64-unknown-linux-gnu
|
161 | 131 | CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
|
@@ -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
|
@@ -256,7 +256,7 @@ jobs:
|
256 | 256 |
|
257 | 257 | publish:
|
258 | 258 | name: publish
|
259 |
| - runs-on: ubuntu-18.04 |
| 259 | + runs-on: ubuntu-latest |
260 | 260 | needs: ['dist-x86_64-pc-windows-msvc', 'dist-aarch64-pc-windows-msvc', 'dist-x86_64-unknown-linux-gnu', 'dist-x86_64-unknown-linux-musl', 'dist-aarch64-unknown-linux-gnu', 'dist-x86_64-apple-darwin', 'dist-aarch64-apple-darwin']
|
261 | 261 | steps:
|
262 | 262 | - name: Install Nodejs
|
|
0 commit comments