Skip to content

Commit

Permalink
more test
Browse files Browse the repository at this point in the history
  • Loading branch information
alloncm committed Dec 21, 2024
1 parent 60600b8 commit 0c909ce
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.73.0, nightly-2023-10-05
target: aarch64-linux-android
# toolchain: 1.73.0, nightly-2023-10-05
# target: aarch64-linux-android
rustflags: ""
cache-directories: "/home/runner/.cargo/bin
C:\\Users\\runneradmin\\.cargo\\bin"
Expand Down
7 changes: 6 additions & 1 deletion Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,9 @@ args = ["build", "--release", "--package", "magenboy_libretro"]
install_crate = {crate_name = "cargo-ndk", binary = "cargo", test_arg = "ndk"}
install_crate_args=["--locked", "--version", "3.5.4"]
command = "cargo"
args = ["ndk", "--target=aarch64-linux-android", "build", "--release", "--package", "magenboy_libretro"]
args = ["ndk", "--target=aarch64-linux-android", "build", "--release", "--package", "magenboy_libretro"]
dependencies = ["add_android_target"]

[tasks.add_android_target]
command = "rustup"
args = ["target", "install", "aarch64-linux-android"]
3 changes: 1 addition & 2 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[toolchain]
channel = "1.73.0"
components = [ "rust-src" ]
profile = "minimal"
targets = ["aarch64-linux-android", "armv7a-none-eabihf"]
profile = "minimal"

0 comments on commit 0c909ce

Please sign in to comment.