Skip to content

Commit

Permalink
feat: update Rust setup in release workflow and specify Android targe…
Browse files Browse the repository at this point in the history
…ts in rust-toolchain.toml
  • Loading branch information
nneewwoo committed Nov 28, 2024
1 parent 4889b65 commit fcf861c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ jobs:

- name: Setup Rust nightly
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
rust-toolchain: true
targets: |
${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
${{ matrix.platform == 'ubuntu-22.04' && 'aarch64-linux-android,armv7-linux-androideabi,i686-linux-android,x86_64-linux-android' || '' }}

- name: Rust cache
uses: swatinem/rust-cache@v2
Expand Down
7 changes: 6 additions & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,10 @@ components = [
"rust-src",
"llvm-tools-preview",
]

profile = "minimal"
targets = [
"aarch64-linux-android",
"armv7-linux-androideabi",
"i686-linux-android",
"x86_64-linux-android",
]

0 comments on commit fcf861c

Please sign in to comment.