mirror of
https://github.com/cfal/shoes.git
synced 2026-11-06 16:14:11 +00:00
Update Rust dependencies for current fixes, including ML-KEM's removal of secret-dependent table lookups, and refresh the BLAKE3 fork while retaining binary-context key derivation. Allow wildcard GotaTun updates with source-notice validation, replace unmaintained test-only PEM parsing, and update Android and CI tooling with current AGP source-set APIs. Preserve Web PKI protections and required fork patches; defer YAML parser migration.
45 lines
1019 B
YAML
45 lines
1019 B
YAML
name: Kernel TUN
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
CARGO_BUILD_JOBS: 1
|
|
RUST_BACKTRACE: 1
|
|
|
|
jobs:
|
|
kernel-tun:
|
|
name: Linux kernel TUN
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 30
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
|
|
- name: Check kernel test prerequisites
|
|
run: |
|
|
sudo -n true
|
|
test -c /dev/net/tun
|
|
command -v ip
|
|
ip -j -6 address show dev lo | jq --exit-status 'any(.[].addr_info[]; .local == "::1")'
|
|
|
|
- name: Install Rust
|
|
uses: dtolnay/rust-toolchain@stable
|
|
|
|
- name: Cache Rust build
|
|
uses: actions/cache@v6
|
|
with:
|
|
path: |
|
|
~/.cargo/registry
|
|
~/.cargo/git
|
|
target
|
|
key: ${{ runner.os }}-tun-kernel-cargo-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
- name: Run kernel TUN tests
|
|
run: >-
|
|
cargo test -p shoes --locked --features privileged-tests
|
|
--test privileged tun_kernel:: --verbose -- --test-threads=1
|