Skip to content

Commit 9fbf061

Browse files
committed
[Stub] test cross-compile
1 parent 9ef1820 commit 9fbf061

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/upload.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
zip: windows
4848
token: ${{ secrets.PAT }}
4949
archive: $bin-cli_$tag_$target
50-
build-tool: cargo
50+
build-tool: cross
5151

5252
release-formula:
5353
needs: upload-assets

Cross.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[target.x86_64-unknown-linux-gnu]
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+
]

0 commit comments

Comments
 (0)