File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 36
36
include :
37
37
- os : ubuntu-22.04
38
38
target : x86_64-unknown-linux-musl
39
+ - os : ubuntu-22.04
40
+ target : x86_64-unknown-linux-gnu
39
41
- os : ubuntu-22.04-arm
40
42
target : aarch64-unknown-linux-musl
43
+ - os : ubuntu-22.04-arm
44
+ target : aarch64-unknown-linux-gnu
41
45
- os : macos-latest
42
46
target : x86_64-apple-darwin
43
47
- os : macos-latest
67
71
shared-key : ${{ matrix.target }}
68
72
69
73
- name : prep for musl
70
- if : runner.os == 'Linux'
74
+ if : endsWith(matrix.target, '-musl')
71
75
run : |
72
76
sudo apt-get update
73
77
sudo apt-get install -y musl-tools
@@ -146,7 +150,7 @@ jobs:
146
150
if [[ "${{ runner.os }}" == "Windows" ]]; then
147
151
echo "LIB_TARGET=x86_64-pc-windows-gnu" >>"$GITHUB_ENV"
148
152
elif [[ "${{ runner.os }}" == "Linux" ]]; then
149
- echo "LIB_TARGET=$(uname -m)-unknown-linux-musl " >>"$GITHUB_ENV"
153
+ echo "LIB_TARGET=$(uname -m)-unknown-linux-gnu " >>"$GITHUB_ENV"
150
154
else
151
155
echo "LIB_TARGET=$(rustc -vV | grep host | cut -d' ' -f2)" >>"$GITHUB_ENV"
152
156
fi
You can’t perform that action at this time.
0 commit comments