Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
command: |
apt-get install -y pkgconf cmake capnproto
apt-get install -y libclang-dev
apt-get install -y libssl-dev libc-ares-dev libjemalloc-dev
apt-get install -y libssl-dev libc-ares-dev libjemalloc-dev libbpf-dev linux-bpf-dev
apt-get install -y python3-dev liblua5.4-dev
- restore_cache:
name: Restore source tarball
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
dnf install -y 'dnf-command(config-manager)'
dnf config-manager --set-enabled devel
dnf install -y pkgconf gcc make cmake
dnf install -y openssl-devel c-ares-devel
dnf install -y openssl-devel c-ares-devel libbpf-devel
dnf install -y python3-devel lua-devel
- when:
condition:
Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:
name: Install dev tools and libs
command: |
zypper install -y pkgconf gcc make cmake
zypper install -y openssl-devel c-ares-devel
zypper install -y openssl-devel c-ares-devel libbpf-devel
zypper install -y python3-devel lua-devel
- restore_cache:
name: Restore source tarball
Expand Down
56 changes: 51 additions & 5 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ env:
jobs:
lib-unit-test:
name: lib unit test
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
steps:
- name: Checkout sources
uses: actions/checkout@v7
Expand All @@ -45,12 +45,14 @@ jobs:
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install capnproto libjemalloc-dev libmimalloc-dev libc-ares-dev libssl-dev liblua5.4-dev
sudo apt-get install capnproto libjemalloc-dev libmimalloc-dev libc-ares-dev libssl-dev libpython3-dev liblua5.4-dev
sudo apt-get install libbpf-dev linux-bpf-dev
- name: Install binutils
run: |
cargo install cargo-binutils@0.3.6
- name: run unit test
run: |
cargo clean
./scripts/coverage/lib_unit_test.sh
- name: Upload coverage data
uses: codecov/codecov-action@v7
Expand All @@ -62,9 +64,43 @@ jobs:
name: lib-unit-test
token: ${{ secrets.CODECOV_TOKEN }}
verbose: false
lib-reuseport:
name: reuseport test
runs-on: ubuntu-26.04
steps:
- name: Checkout sources
uses: actions/checkout@v7
with:
submodules: true
- name: Install rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: llvm-tools
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install libbpf-dev linux-bpf-dev
- name: Install binutils
run: |
cargo install cargo-binutils@0.3.6
- name: run unit test
run: |
cargo clean
./scripts/coverage/lib_reuseport.sh
- name: Upload coverage data
uses: codecov/codecov-action@v7
with:
fail_ci_if_error: true
disable_search: true
files: output.lcov
flags: reuseport
name: lib-reuseport
token: ${{ secrets.CODECOV_TOKEN }}
verbose: false
vey-mkcert-test:
name: vey-mkcert test
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
steps:
- name: Checkout sources
uses: actions/checkout@v7
Expand Down Expand Up @@ -97,7 +133,7 @@ jobs:
verbose: false
vey-keyless-test:
name: vey-keyless test
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
steps:
- name: Checkout sources
uses: actions/checkout@v7
Expand Down Expand Up @@ -148,6 +184,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install capnproto libjemalloc-dev libc-ares-dev libssl-dev libpython3-dev liblua5.4-dev
sudo apt-get install libbpf-dev linux-bpf-dev
- name: Install CA Certificates
run: |
sudo apt-get install ca-certificates
Expand All @@ -165,6 +202,9 @@ jobs:
- name: Install netcat-openbsd
run: |
sudo apt-get install netcat-openbsd
- name: Install wait4x
run: |
sudo apt-get install wait4x
- name: Listen udpdump port
run: |
nc -u -l -k 127.0.0.1 5555 >/dev/null &
Expand Down Expand Up @@ -233,6 +273,9 @@ jobs:
- name: Install netcat-openbsd
run: |
sudo apt-get install netcat-openbsd
- name: Install wait4x
run: |
sudo apt-get install wait4x
- name: Install thrift compiler
run: |
sudo apt-get install thrift-compiler
Expand Down Expand Up @@ -269,7 +312,7 @@ jobs:
verbose: false
vey-statsd-test:
name: vey-statsd test
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
steps:
- name: Checkout sources
uses: actions/checkout@v7
Expand All @@ -290,6 +333,9 @@ jobs:
- name: Install netcat-openbsd
run: |
sudo apt-get install netcat-openbsd
- name: Install wait4x
run: |
sudo apt-get install wait4x
- name: Install and run fluent-bit
run: |
sudo curl https://raw.githubusercontent.com/fluent/fluent-bit/master/install.sh | sh
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/linux-basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install capnproto libjemalloc-dev libmimalloc-dev libc-ares-dev libssl-dev liblua5.4-dev
sudo apt-get install libbpf-dev linux-bpf-dev
- name: Cargo build
run: cargo build --features jemalloc,lua54
run: cargo build --features jemalloc,ebpf,lua54
- name: Cargo test
run: cargo test --workspace --features jemalloc,lua54
clippy:
Expand All @@ -73,5 +74,6 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install capnproto libjemalloc-dev libmimalloc-dev libc-ares-dev libssl-dev liblua5.4-dev
sudo apt-get install libbpf-dev linux-bpf-dev
- name: Cargo clippy
run: cargo clippy --tests --workspace --features jemalloc,lua54 -- --deny warnings
run: cargo clippy --tests --workspace --features jemalloc,ebpf,lua54 -- --deny warnings
2 changes: 1 addition & 1 deletion .github/workflows/macos-basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ jobs:
- name: Cargo clippy
run: cargo clippy --tests --features jemalloc,lua55 -- --deny warnings
- name: Cargo test
run: cargo test --workspace --features jemalloc,lua55 --exclude vey-journal
run: cargo test --workspace --features jemalloc,lua55 --exclude vey-journal --exclude vey-reuseport
12 changes: 8 additions & 4 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ jobs:
strategy:
matrix:
feature:
- vendored-openssl,rustls-ring
- vendored-tongsuo,rustls-ring
# aws-lc won't link with a c++ runtime library
- vendored-aws-lc,rustls-aws-lc
- vendored-aws-lc-fips,rustls-aws-lc-fips
Expand All @@ -77,12 +79,13 @@ jobs:
- name: Install dependencies
run: |
apk add --no-cache musl-dev linux-headers libc++-dev llvm-libunwind-static
apk add --no-cache clang lld capnproto-dev clang-libclang cmake make
apk add --no-cache autoconf automake argp-standalone musl-fts-dev musl-obstack-dev musl-libintl gettext-tiny flex bison gawk
apk add --no-cache clang lld capnproto-dev clang-libclang cmake make perl nasm
- name: Install Go for AWS-LC-FIPS
if: contains(matrix.feature, 'vendored-aws-lc-fips')
run: apk add --no-cache go perl nasm
run: apk add --no-cache go
- name: Cargo build
run: cargo $UNSTABLE_OPTIONS build --no-default-features --features secure-vendored-mimalloc,${{ matrix.feature }},quic,vendored-c-ares
run: cargo $UNSTABLE_OPTIONS build --no-default-features --features secure-vendored-mimalloc,vendored-ebpf,${{ matrix.feature }},quic,vendored-c-ares
musl-clang-libcxx:
name: musl-clang-libc++
runs-on: ubuntu-latest
Expand Down Expand Up @@ -112,9 +115,10 @@ jobs:
- name: Install dependencies
run: |
apk add --no-cache musl-dev linux-headers libc++-dev libc++-static llvm-libunwind-static
apk add --no-cache autoconf automake argp-standalone musl-fts-dev musl-obstack-dev musl-libintl gettext-tiny flex bison gawk
apk add --no-cache clang lld capnproto-dev clang-libclang cmake make
- name: Cargo build
run: cargo $UNSTABLE_OPTIONS build --no-default-features --features secure-vendored-mimalloc,${{ matrix.feature }},quic,vendored-c-ares
run: cargo $UNSTABLE_OPTIONS build --no-default-features --features secure-vendored-mimalloc,vendored-ebpf,${{ matrix.feature }},quic,vendored-c-ares
msvc-vcpkg:
name: msvc-vcpkg
runs-on: windows-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ jobs:
- name: Cargo clippy
run: cargo clippy --no-default-features --features $env:WIN_FEATURES --tests -- --deny warnings
- name: Cargo test
run: cargo test --no-default-features --features $env:WIN_FEATURES --workspace --exclude vey-journal
run: cargo test --no-default-features --features $env:WIN_FEATURES --workspace --exclude vey-journal --exclude vey-reuseport
Loading
Loading