Skip to content

Commit a921e2e

Browse files
committed
Use different architectures for debs
1 parent a1bd169 commit a921e2e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docker.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ jobs:
6565
cat <<- 'EOF' > Cross.toml
6666
[target.x86_64-unknown-linux-musl]
6767
pre-build = [
68-
"dpkg --add-architecture $CROSS_DEB_ARCH",
69-
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH"
68+
"dpkg --add-architecture amd64",
69+
"apt-get update && apt-get install --assume-yes libssl-dev:amd64"
7070
]
7171
7272
[target.aarch64-unknown-linux-musl]
7373
pre-build = [
74-
"dpkg --add-architecture $CROSS_DEB_ARCH",
75-
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH"
74+
"dpkg --add-architecture arm64",
75+
"apt-get update && apt-get install --assume-yes libssl-dev:arm64"
7676
]
7777
EOF
7878
cross build --release --target ${{ matrix.rust_arch }} --features optimizations

0 commit comments

Comments
 (0)