Skip to content

Commit

Permalink
build linux-arm64 with prebuilt openssl installation
Browse files Browse the repository at this point in the history
  • Loading branch information
selimseker committed Sep 6, 2024
1 parent 40c7655 commit 4b0af06
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build_prod_exe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
# - { runner: macos-latest, osname: macOS, arch: amd64, target: x86_64-apple-darwin, command: build }
# - { runner: macos-latest, osname: macOS, arch: arm64, target: aarch64-apple-darwin, command: build }
# - { runner: ubuntu-latest, osname: linux, arch: amd64, target: x86_64-unknown-linux-gnu, command: build }
# - { runner: ubuntu-latest, osname: linux, arch: arm64, target: aarch64-unknown-linux-gnu, command: build }
- { runner: ubuntu-latest, osname: linux, arch: arm64, target: aarch64-unknown-linux-gnu, command: build }
# - { runner: windows-latest, osname: windows, arch: amd64, target: x86_64-pc-windows-msvc, command: build, extension: ".exe" }
- { runner: windows-latest, osname: windows, arch: arm64, target: aarch64-pc-windows-msvc, command: build, extension: ".exe", toolchain: nightly }
# - { runner: windows-latest, osname: windows, arch: arm64, target: aarch64-pc-windows-msvc, command: build, extension: ".exe", toolchain: nightly }

steps:
- name: Checkout code
Expand All @@ -34,7 +34,6 @@ jobs:
uses: houseabsolute/actions-rust-cross@v0
with:
command: ${{ matrix.command }}
toolchain: ${{ matrix.toolchain }}
target: ${{ matrix.target }}
args: "--locked --release"
strip: true
Expand Down
5 changes: 5 additions & 0 deletions Cross.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[target.aarch64-unknown-linux-gnu]
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH"
]

0 comments on commit 4b0af06

Please sign in to comment.