Fix Huffman decoding table construction with long tables. #126
Workflow file for this run
This file contains 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
# Copyright (c) the JPEG XL Project Authors. All rights reserved. | |
# | |
# Use of this source code is governed by a BSD-style | |
# license that can be found in the LICENSE file. | |
# Workflow to run pull-requests specific checks. | |
name: PR | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
env: | |
CARGO_TERM_COLOR: always | |
RUST_BACKTRACE: 1 | |
jobs: | |
# Run source tests: author list, copyright notice and merge conflicts. | |
authors: | |
runs-on: [ubuntu-latest] | |
steps: | |
- name: Checkout the source | |
uses: actions/checkout@v4 | |
- name: Check AUTHORS file | |
run: | |
./ci/pull_request_checks.sh | |
rust: | |
name: Test, Format and Clippy | |
runs-on: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install latest rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy, rustfmt | |
- name: Build artefact caching | |
uses: Swatinem/[email protected] | |
- name: Format | |
run: cargo fmt --all -- --check | |
- name: Clippy | |
run: cargo clippy --release --all-targets --all-features --tests --all -- -D warnings | |
- name: Clippy with default features | |
run: cargo clippy --release --all-targets --tests --all -- -D warnings | |
- name: Run tests | |
run: cargo test --release --all --no-fail-fast --all-features | |
- name: Run tests with default features | |
run: cargo test --release --all --no-fail-fast |