Skip to content

Commit

Permalink
chore(ci): update rust workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
iahmadgad committed Oct 25, 2024
1 parent 5a10bda commit a980841
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,14 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install Android NDK
uses: nttld/setup-ndk@v1
with:
ndk-version: r25c

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}

- name: Install cargo-binstall
shell: bash
run: curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash

- name: Install cross
shell: bash
run: echo "y" | cargo binstall cross
run: cargo install cross --git https://github.com/cross-rs/cross

- name: Build - ${{ matrix.target }}
shell: bash
Expand Down

0 comments on commit a980841

Please sign in to comment.