Skip to content

Reject empty inputs before multi-frame decompression #2724

Reject empty inputs before multi-frame decompression

Reject empty inputs before multi-frame decompression #2724

Workflow file for this run

on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
schedule:
- cron: '30 13 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: { }
jobs:
linux:
runs-on: 'ubuntu-24.04'
env:
# Make all compile warnings fatal.
ZSTD_WARNINGS_AS_ERRORS: '1'
# Activate Python development mode so we get warnings.
PYTHONDEVMODE: '1'
steps:
- name: System Setup
run: |
sudo apt-get install -y libzstd1 libzstd-dev python3-cffi
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: '3.10'
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Build
run: |
python -m pip install --config-settings=--global-option=--system-zstd .
macOS:
runs-on: 'macos-26'
env:
# Make all compile warnings fatal.
ZSTD_WARNINGS_AS_ERRORS: '1'
# Activate Python development mode so we get warnings.
PYTHONDEVMODE: '1'
steps:
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: '3.10'
- name: System Setup
run: |
brew install -v zstd
python -m pip install cffi
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Build
run: |
python -m pip install --config-settings=--global-option=--system-zstd .