Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
ci: fix arm64 builds (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega authored Dec 24, 2023
1 parent a551288 commit cbc9757
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,9 @@ jobs:

- release_for: Linux-GNU-armv7
os: ubuntu-latest
target: "armv7-unknown-linux-gnueabihf"
target: "aarch64-unknown-linux-gnu"
arch: arm64
args: "--locked --release --features vendored-openssl"

# - release_for: Windows-x86_64
# os: windows-latest
# target: x86_64-pc-windows-msvc
# bin: controller.exe
# name: precious-Windows-x86_64.zip
# command: both

# - release_for: macOS-x86_64
# os: macOS-latest
# target: x86_64-apple-darwin
# bin: controller
# name: precious-Darwin-x86_64.tar.gz
# command: both
args: "--locked --release"

runs-on: ${{ matrix.os }}

Expand Down
8 changes: 8 additions & 0 deletions Cross.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[target.aarch64-unknown-linux-gnu]
image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:edge"
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update",
"apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH",
"apt-get install --assume-yes --no-install-recommends libclang-10-dev clang-10",
]

0 comments on commit cbc9757

Please sign in to comment.