更新 Cargo.lock 中多个依赖项的版本至最新 #17
This file contains 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_test | |
on: | |
push: | |
branches: [ "**"] | |
permissions: | |
contents: write | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
bpf: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: build static | |
if: github.event_name == 'push' && github.ref == 'refs/heads/master' | |
id: build_static | |
uses: arloor/rust_musl_action@latest | |
with: | |
use_musl: false | |
extra_deps: cmake zlib1g-dev libelf-dev clang pkg-config make | |
after_install: | | |
find /usr -name libelf.a | |
find /usr -name libz.a | |
export LIBBPF_SYS_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu | |
echo -e "\e[31mLIBBPF_SYS_LIBRARY_PATH=$LIBBPF_SYS_LIBRARY_PATH\e[0m" | |
args: -p socket_filter -p cgroup_traffic --features static -v | |
apt_mirror: mirrors.mit.edu | |
rust_flags: -C target-feature=+crt-static | |
debug: false | |
- name: build vendored | |
if: github.event_name == 'push' && github.ref == 'refs/heads/master' | |
id: build_vendored | |
uses: arloor/rust_musl_action@latest | |
with: | |
use_musl: false | |
extra_deps: cmake clang pkg-config make autoconf autopoint flex bison gawk | |
args: -p socket_filter -p cgroup_traffic --features vendored -v | |
apt_mirror: mirrors.mit.edu | |
rust_flags: -C target-feature=+crt-static | |
debug: false |