Skip to content

Commit 217bad8

Browse files
committed
ci: fix ci
1 parent d8f9376 commit 217bad8

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/test_upload.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,24 @@ jobs:
3636
# Native builds
3737
- target: x86_64-unknown-linux-gnu
3838
os: ubuntu-latest
39+
build_tool: cargo
3940
- target: x86_64-pc-windows-msvc
4041
os: windows-latest
42+
build_tool: cargo
4143
- target: i686-pc-windows-msvc
4244
os: windows-latest
45+
build_tool: cargo
4346
- target: universal-apple-darwin
4447
os: macos-latest
48+
build_tool: cargo
4549

4650
# Builds using cross
4751
- target: x86_64-unknown-linux-musl
4852
os: ubuntu-latest
53+
build_tool: cross
4954
- target: aarch64-unknown-linux-gnu
5055
os: ubuntu-latest
56+
build_tool: cross
5157
# - target: x86_64-unknown-freebsd
5258
# os: ubuntu-latest
5359
# - target: x86_64-unknown-illumos
@@ -71,6 +77,7 @@ jobs:
7177
bin: git-semver-tags
7278
archive: $bin-${{github.event.inputs.tags || steps.tag.outputs.tag}}-$target
7379
target: ${{ matrix.target }}
80+
build_tool: ${{ matrix.build_tool }}
7481
tar: all
7582
zip: windows
7683
token: ${{ secrets.GITHUB_TOKEN }}

Cross.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
[target.x86_64-unknown-linux-gnu]
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+
7+
[target.aarch64-unknown-linux-gnu]
28
pre-build = [
39
"dpkg --add-architecture $CROSS_DEB_ARCH",
410
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH"

0 commit comments

Comments
 (0)