Add Dependabot, Update Dependencies and Workflows (#1440)

Build may fail because of some major dependency updates. Needs changes,
changes/fixes welcomed.

Main goal is keeping all things up-to-date.

---------

Co-authored-by: weishu <twsxtd@gmail.com>
This commit is contained in:
Caner Karaca
2024-03-20 07:52:34 +03:00
committed by GitHub
parent 2b0d19928a
commit 8f33926aa0
22 changed files with 981 additions and 1273 deletions

View File

@@ -28,10 +28,9 @@ jobs:
run: |
cp android*-lkm/*_kernelsu.ko ./userspace/ksud/bin/aarch64/
# cross build failed after Rust 1.68, see https://github.com/cross-rs/cross/issues/1222
- name: Setup rustup
run: |
rustup default 1.67.0
rustup update stable
rustup target add x86_64-apple-darwin
rustup target add aarch64-apple-darwin
- uses: Swatinem/rust-cache@v2
@@ -40,10 +39,11 @@ jobs:
cache-targets: false
- name: Install cross
run: cargo install cross --locked
run: |
cargo install cross --git https://github.com/cross-rs/cross --rev 66845c1
- name: Build ksud
run: cross build --target ${{ inputs.target }} --release --manifest-path ./userspace/ksud/Cargo.toml
run: CROSS_NO_WARNINGS=0 cross build --target ${{ inputs.target }} --release --manifest-path ./userspace/ksud/Cargo.toml
- name: Upload ksud artifact
uses: actions/upload-artifact@v4