Use the one flatbuffer to store all lists #912
Workflow file for this run
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: | |
workflow_dispatch: | |
jobs: | |
ci: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
rust: [stable] | |
include: | |
- os: ubuntu-latest | |
target: Linux | |
- os: macos-latest | |
target: Macos | |
- os: windows-latest | |
target: Windows | |
env: | |
# Deny warnings for all steps | |
# (changing this flag triggers a complete rebuild, so it's helpful to define it globally) | |
RUSTFLAGS: --deny warnings | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Check formatting | |
run: cargo fmt --check | |
- name: Cargo build 'adblock' package | |
run: cargo build --all-features --all-targets | |
- name: Cargo build 'adblock' package (no default features) | |
run: cargo build --no-default-features --all-targets | |
- name: Cargo build 'adblock' package (wasm32) | |
if: matrix.os == 'ubuntu-latest' | |
run: rustup target add wasm32-unknown-unknown && cargo build --target wasm32-unknown-unknown | |
- name: Build npm package | |
run: npm ci | |
- name: Cargo test 'adblock' package | |
run: cargo test --all-features --tests --no-fail-fast | |
- name: Cargo test 'adblock' package (release) | |
run: cargo test --all-features --release --tests --no-fail-fast | |
- name: Cargo test 'adblock' package (no default features) | |
run: cargo test --no-default-features --features embedded-domain-resolver,full-regex-handling --tests --no-fail-fast |