Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDevMinerTV committed Aug 16, 2024
1 parent 41b68b9 commit 4581b0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ jobs:

- name: Install Cross
# We need a nightly version of cross for `cross-util`.
run: cargo install cross --git https://github.com/cross-rs/cross --rev 085092c
run: cargo install cross --git https://github.com/cross-rs/cross --rev 1901fd7

- name: Compile
run: |
Expand Down
8 changes: 2 additions & 6 deletions Cross.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,12 @@ pre-build = [
# Enable multiarch and install the necessary dependencies
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update",
"apt-get -y install libclang-8-dev clang-8 zlib1g-dev:$CROSS_DEB_ARCH",
"apt-get -y install libclang-8-dev zlib1g-dev:$CROSS_DEB_ARCH",

"curl -sL https://sentry.io/get-cli/ | sh",
]

[target.aarch64-unknown-linux-gnu]
# We're using a nightly `cross`, let's still use a stable image.
image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:edge"
env.passthrough = [
"CMAKE_TOOLCHAIN_FILE_aarch64_unknown_linux_gnu=",
"CXX=/usr/aarch64-linux-gnu/bin/g++",
"CC=/usr/aarch64-linux-gnu/bin/gcc",
]
env.passthrough = ["CMAKE_TOOLCHAIN_FILE_aarch64_unknown_linux_gnu="]

0 comments on commit 4581b0d

Please sign in to comment.