Skip to content

Commit

Permalink
Merge branch 'main' into compression-ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
brayniac committed Apr 10, 2024
2 parents b756b8b + ed01ba7 commit cd813eb
Show file tree
Hide file tree
Showing 9 changed files with 420 additions and 104 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,19 @@ jobs:
- name: cargo check
run: |
cargo check --all-targets
check-powerset:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- uses: swlynch99/cargo-sweep-action@v1
- uses: taiki-e/install-action@cargo-hack

- name: check powerset
run: |
cargo hack --feature-powerset check --locked
clippy:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -116,16 +129,16 @@ jobs:
- name: build
shell: bash
run: |
cargo build --workspace --all-features --all-targets --locked ${{ env.FLAGS }}
cargo build --workspace --all-targets --locked ${{ env.FLAGS }}
- name: test
shell: bash
run: |
cargo test --workspace --all-features --tests --bins --locked ${{ env.FLAGS }}
cargo test --workspace --tests --bins --locked ${{ env.FLAGS }}
- name: doctests
if: ${{ matrix.profile == 'debug' }}
shell: bash
run: |
cargo test --workspace --all-features --locked -- --test-threads 16
cargo test --workspace --locked -- --test-threads 16
- name: generate bin artifact
if: ${{ matrix.profile == 'release' && matrix.os == 'ubuntu-latest' }}
Expand Down Expand Up @@ -157,7 +170,7 @@ jobs:
- name: build
shell: bash
run: |
cargo build --workspace --all-features --all-targets --locked --release
cargo build --workspace --all-targets --locked --release
- name: test
shell: bash
run: |
Expand Down
Loading

0 comments on commit cd813eb

Please sign in to comment.