Use latest rust-netlink #18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
push: | |
branches: | |
- main | |
jobs: | |
ci: | |
name: CI (stable) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Rust Stable | |
run: | | |
rustup override set stable | |
rustup update stable | |
- name: Test with default feature | |
env: | |
# Needed root permission to modify MPTCP | |
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER: "sudo -E" | |
run: cargo test | |
- name: Test with tokio feature | |
env: | |
# Needed root permission to modify MPTCP | |
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER: "sudo -E" | |
run: cargo test --features tokio_socket | |
- name: Test with smol_socket feature | |
env: | |
# Needed root permission to modify MPTCP | |
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER: "sudo -E" | |
run: cargo test --features smol_socket |