Skip to content

Commit 8daf0f7

Browse files
committed
ci: fix ci
1 parent 1743bd1 commit 8daf0f7

File tree

3 files changed

+6
-15
lines changed

3 files changed

+6
-15
lines changed

.github/workflows/test_upload.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ jobs:
4747
- target: universal-apple-darwin
4848
os: macos-latest
4949
build_tool: cargo
50+
- target: aarch64-apple-darwin
51+
os: macos-latest
52+
build_tool: cargo
53+
- target: x86_64-apple-darwin
54+
os: macos-latest
55+
build_tool: cargo
5056

5157
# Builds using cross
5258
- target: x86_64-unknown-linux-musl
@@ -65,8 +71,6 @@ jobs:
6571
with:
6672
persist-credentials: false
6773
- uses: dtolnay/rust-toolchain@stable
68-
with:
69-
target: ${{ matrix.target }}
7074
- name: Get tag
7175
if: github.event.inputs.tags == ''
7276
id: tag

Cargo.toml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,3 @@ rustdoc-args = ["--cfg", "docsrs"]
3939
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ version }-{ target }.tar.gz"
4040
bin-dir = "{ bin }{ binary-ext }"
4141
pkg-fmt = "tgz"
42-
43-
# Mac x86_64 and aarch64 use the same universal binary.
44-
[package.metadata.binstall.overrides.x86_64-apple-darwin]
45-
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ version }-universal-apple-darwin.tar.gz"
46-
47-
[package.metadata.binstall.overrides.aarch64-apple-darwin]
48-
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ version }-universal-apple-darwin.tar.gz"

Cross.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
[target.x86_64-unknown-linux-musl]
2-
pre-build = [
3-
"dpkg --add-architecture $CROSS_DEB_ARCH",
4-
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH"
5-
]
6-
71
[target.aarch64-unknown-linux-gnu]
82
pre-build = [
93
"dpkg --add-architecture $CROSS_DEB_ARCH",

0 commit comments

Comments
 (0)