Skip to content

Commit

Permalink
fix: aarch64 binary artifact (comtrya#360)
Browse files Browse the repository at this point in the history
attempt to fix aarch64 binary artifact in CI
  • Loading branch information
martintc committed Nov 8, 2023
1 parent f64d2e1 commit e3ceaa2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ jobs:
fail-fast: false
matrix:
job:
- { os: ubuntu-22.04, target: aarch64-unknown-linux-gnu }
- { os: ubuntu-22.04, target: x86_64-unknown-linux-gnu }
- { os: ubuntu-20.04, target: aarch64-unknown-linux-gnu, use-cross: true }
- { os: ubuntu-20.04, target: x86_64-unknown-linux-gnu }

- { os: macos-12, target: x86_64-apple-darwin }
- { os: macos-12, target: aarch64-apple-darwin }
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --release
args: --release --target=${{ matrix.job.target }}

- name: Rename Binary
if: matrix.job.target != 'x86_64-pc-windows-msvc'
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --release
args: --release --target=${{ matrix.job.target }}

- name: Rename Binary
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
# target: aarch64-unknown-linux-gnu,
# use-cross: true,
# }
- { os: ubuntu-22.04, target: x86_64-unknown-linux-gnu }
- { os: ubuntu-20.04, target: x86_64-unknown-linux-gnu }
# - {
# os: ubuntu-20.04,
# target: x86_64-unknown-linux-musl,
Expand Down
4 changes: 4 additions & 0 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ whoami = "1.4"
[target.'cfg(unix)'.dependencies]
uzers = "0.11"

[dependencies.openssl-sys]
version = "0.9"
features = ["vendored"]

[dev-dependencies]
tempfile = "3.8"
pretty_assertions = "1.3"

0 comments on commit e3ceaa2

Please sign in to comment.