Skip to content

Commit

Permalink
fix: remove aarch64 bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
ikrivosheev committed Jun 21, 2022
1 parent 1914877 commit 5f050c7
Showing 1 changed file with 0 additions and 41 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/bindings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,44 +62,3 @@ jobs:
with:
path: ./out/yara-${{ matrix.target }}.rs

aarch64_bindings:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Generate bindings
shell: bash
run: |
mkdir out
- uses: uraimo/run-on-arch-action@v2
with:
arch: aarch64
distro: ubuntu_latest
githubToken: ${{ github.token }}

install: |
# Install systemd dependecies
apt update -q -y
apt install -y --no-install-recommends curl ca-certificates llvm-dev libclang-dev clang
# Install rustup
curl --fail --proto '=https' -o /tmp/rustup-init --tlsv1.2 -sSf https://static.rust-lang.org/rustup/dist/aarch64-unknown-linux-gnu/rustup-init
chmod +x /tmp/rustup-init
/tmp/rustup-init -y --target aarch64-unknown-linux-gnu --profile minimal
dockerRunArgs: |
--volume "${PWD}:/usr/src/yara/"
run: |
export PATH="$HOME/.cargo/bin:$PATH"
cd /usr/src/yara/
cargo build --verbose --no-default-features --features vendored,bindgen
find . -name 'bindings.rs'
cp "$(find . -name bindings.rs)" "./out/yara-aarch64-unknown-linux-gnu.rs"
ls ./out
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
path: ./out/yara-aarch64-unknown-linux-gnu.rs

4 comments on commit 5f050c7

@msuiche
Copy link

@msuiche msuiche commented on 5f050c7 Sep 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Hugal31
Copy link
Owner

@Hugal31 Hugal31 commented on 5f050c7 Sep 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think he tried but couldn't make it work, I don't know why.

@ikrivosheev
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got timeout on pipeline execution...

@Hugal31
Copy link
Owner

@Hugal31 Hugal31 commented on 5f050c7 Sep 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if they changed anything, but I got it working: https://github.com/Hugal31/yara-rust/actions/runs/6119140466

Please sign in to comment.