Skip to content

Commit b769418

Browse files
Max Lvclaude
authored andcommitted
Fix CI: install NDK and fix rustfmt import ordering
- Add NDK 27.2.12479018 installation step to android-test and build jobs - Fix import ordering in protect.rs for rustfmt compliance Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4d947a4 commit b769418

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ jobs:
101101
java-version: '17'
102102
distribution: 'temurin'
103103

104+
- name: Install NDK
105+
run: echo "y" | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "ndk;27.2.12479018"
106+
104107
- name: Setup Gradle
105108
uses: gradle/actions/setup-gradle@v4
106109

@@ -131,6 +134,9 @@ jobs:
131134
java-version: '17'
132135
distribution: 'temurin'
133136

137+
- name: Install NDK
138+
run: echo "y" | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "ndk;27.2.12479018"
139+
134140
- name: Install Rust toolchain
135141
uses: dtolnay/rust-toolchain@stable
136142
with:

app/src/main/rust/qtun

Submodule qtun updated 1 file

0 commit comments

Comments
 (0)