Skip to content

Commit

Permalink
ci: enable ebpf and add static build for riscv64
Browse files Browse the repository at this point in the history
  • Loading branch information
kxxt committed Sep 28, 2024
1 parent b42bbd3 commit c7ea815
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,16 @@ jobs:
target: riscv64gc-unknown-linux-gnu
arch: riscv64
libpath: usr/lib/riscv64-linux-gnu
args: '-F ebpf'
no-default-features: true
- os: ubuntu-24.04
os-arch: riscv64
target: riscv64gc-unknown-linux-gnu
arch: riscv64
libpath: usr/lib/riscv64-linux-gnu
args: '-F ebpf,static,vendored'
no-default-features: true
rust_flags: -C target-feature=+crt-static
runs-on: ${{ matrix.os }}
env:
RUSTFLAGS: ${{ matrix.rust_flags }}
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,16 @@ jobs:
arch: riscv64
libpath: usr/lib/riscv64-linux-gnu
no-default-features: true
features: ebpf
- os: ubuntu-24.04
os-arch: riscv64
target: riscv64gc-unknown-linux-gnu
arch: riscv64
libpath: usr/lib/riscv64-linux-gnu
no-default-features: true
features: ebpf,static,vendored
artifact-suffix: -static
rust_flags: -C target-feature=+crt-static
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit c7ea815

Please sign in to comment.