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
36 changes: 31 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-D warnings"

jobs:
build-x402-core:
Expand All @@ -26,12 +27,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
# adjust to your feature list
features:
- "" # no extra features
- "facilitator-client"
- "evm-signer"
- "svm-signer"
- "evm"
- "svm"
- "paywall"
- "axum"
- "actix-web"
Expand All @@ -52,11 +52,37 @@ jobs:
cargo build -p x402-kit --release --no-default-features --features "${{ matrix.features }}"
fi

build-x402-signer:
runs-on: ubuntu-latest
strategy:
matrix:
features:
- "" # no extra features
- "evm"
- "svm"
- "solana-rpc"
- "reqwest"
- "all" # marker for all features
steps:
- uses: actions/checkout@v6
- name: Set up Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Build with features = ${{ matrix.features }}
run: |
if [ "${{ matrix.features }}" = "all" ]; then
cargo build -p x402-signer --release --all-features
elif [ "${{ matrix.features }}" = "" ]; then
cargo build -p x402-signer --release --no-default-features
else
cargo build -p x402-signer --release --no-default-features --features "${{ matrix.features }}"
fi

build-x402-paywall:
runs-on: ubuntu-latest
strategy:
matrix:
# adjust to your feature list
features:
- "" # no extra features
- "tracing"
Expand Down Expand Up @@ -148,7 +174,7 @@ jobs:
RUSTDOCFLAGS: -D warnings

test-docs:
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
Expand Down
Loading
Loading