Derive PCX band count from the image, not the line width #2925
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: CIFuzz | |
| on: | |
| push: | |
| branches: | |
| - "**" | |
| paths: &paths | |
| - ".github/dependencies.json" | |
| - ".github/workflows/cifuzz.yml" | |
| - ".github/workflows/wheels-dependencies.sh" | |
| - "**.c" | |
| - "**.h" | |
| pull_request: | |
| paths: *paths | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| FORCE_COLOR: 1 | |
| jobs: | |
| Fuzzing: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Build Fuzzers | |
| id: build | |
| uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@5c437ffb9e5945151b70cdd31ae7feeeeb43afd0 # master | |
| with: | |
| oss-fuzz-project-name: 'pillow' | |
| language: python | |
| dry-run: false | |
| - name: Run Fuzzers | |
| id: run | |
| uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@5c437ffb9e5945151b70cdd31ae7feeeeb43afd0 # master | |
| with: | |
| oss-fuzz-project-name: 'pillow' | |
| fuzz-seconds: 600 | |
| language: python | |
| dry-run: false | |
| - name: Upload New Crash | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| if: failure() && steps.build.outcome == 'success' | |
| with: | |
| name: artifacts | |
| path: ./out/artifacts | |
| - name: Upload Legacy Crash | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| if: steps.run.outcome == 'success' | |
| with: | |
| name: crash | |
| path: ./out/crash* | |
| - name: Fail on legacy crash | |
| if: success() | |
| run: | | |
| [ ! -e out/crash-* ] | |
| echo No legacy crash detected |