Skip to content

Commit

Permalink
🐷
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow3aaa committed Nov 15, 2023
1 parent a8e183b commit 736cac8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,19 @@ jobs:
- uses: nttld/[email protected]
with:
ndk-version: r26b
add-to-path: false
local-cache: true
- run: |
rustup default nightly
rustup target add aarch64-linux-android armv7-linux-androideabi x86_64-linux-android i686-linux-android
- run: cargo install cargo-ndk
- run: |
sudo apt update
sudo apt upgrade
sudo apt install gcc-multilib git-lfs
- run: git lfs pull
# - name: check codes
# run: |
# cargo ndk -t arm64-v8a --platform=29 check --verbose --target aarch64-linux-android
# cd zygisk/rust && cargo ndk -t arm64-v8a --platform=29 check --verbose --target aarch64-linux-android
- name: build
run: |
chmod +x ./build.sh
./build.sh --release
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
6 changes: 2 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,12 @@ clean | --clean)
r | -r | release | --release)
RR build --release --target aarch64-linux-android
zygisk/build.sh --release

ls -l output/.temp

cp -f target/aarch64-linux-android/release/fas-rs $TEMPDIR/fas-rs
cp -f zygisk/output/arm64-v8a.so $TEMPDIR/zygisk/arm64-v8a.so

strip $TEMPDIR/fas-rs
strip $TEMPDIR/zygisk/arm64-v8a.so
# strip $TEMPDIR/fas-rs
# strip $TEMPDIR/zygisk/arm64-v8a.so

cd $TEMPDIR
zip -9 -rq ../fas-rs.zip .
Expand Down

0 comments on commit 736cac8

Please sign in to comment.