Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
2 changes: 0 additions & 2 deletions .github/scripts/jni.rs → .github/scripts/jni.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
cd FoxhunterJNI/foxhunterjni-rs

cargo ndk -t armeabi-v7a -t arm64-v8a build
# Ensure check on the native platform works (check for breakage between cargo ndk and rust-analyzer)
cargo check
cargo fmt -- --check
cargo ndk -t armeabi-v7a -t arm64-v8a clippy
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
name: rust
on: [push]
jobs:
build_jni:
android:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: "nix develop .#jni_ci --command bash ./.github/scripts/jni.rs"
- run: "nix develop .#android --command bash ./.github/scripts/jni.sh"

test_rust:
desktop:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: "nix develop .#ci --command bash ./.github/scripts/desktop.rs"
- run: "nix develop .#desktop --command bash ./.github/scripts/desktop.sh"

6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ local.properties
**/.androidsdk

/data

peda-session-*.txt
.gdb_history

# Allow putting firmware files in working dir for easy bladerf-cli debugging with autoloading of FPGA image
hostedx*.rbf
Loading