mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 10:58:58 +00:00
CI: optimize builds to run short jobs with less concurrency
This commit is contained in:
parent
c439cb3fbc
commit
d108b859c1
52
.github/workflows/main.yml
vendored
52
.github/workflows/main.yml
vendored
@ -104,35 +104,18 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: distribution
|
name: distribution
|
||||||
path: distribution
|
path: distribution
|
||||||
Linux32:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: Prebuild
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: 'Linux 32-bit'
|
|
||||||
run: build-scripts/build-linux32
|
|
||||||
pikepdf:
|
pikepdf:
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
max-parallel: 1
|
||||||
|
matrix:
|
||||||
|
future: ['', 'future']
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: Prebuild
|
needs: Prebuild
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: 'pikepdf'
|
- name: 'pikepdf'
|
||||||
run: build-scripts/test-pikepdf
|
run: build-scripts/test-pikepdf ${{ matrix.future }}
|
||||||
pikepdf-future:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
# Run after pikepdf to save concurrent runners
|
|
||||||
needs: pikepdf
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: 'qpdf + pikepdf with FUTURE'
|
|
||||||
run: build-scripts/test-pikepdf future
|
|
||||||
Fuzzers:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: Prebuild
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: 'Build Fuzzer'
|
|
||||||
run: build-scripts/build-fuzzer
|
|
||||||
Sanitizers:
|
Sanitizers:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: Prebuild
|
needs: Prebuild
|
||||||
@ -140,18 +123,19 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: 'Sanitizer Tests'
|
- name: 'Sanitizer Tests'
|
||||||
run: build-scripts/test-sanitizers
|
run: build-scripts/test-sanitizers
|
||||||
UnsignedChar:
|
QuickJobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: Prebuild
|
needs: Prebuild
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
max-parallel: 3
|
||||||
|
matrix:
|
||||||
|
script:
|
||||||
|
- build-fuzzer
|
||||||
|
- build-linux32
|
||||||
|
- test-unsigned-char
|
||||||
|
- test-c++-next
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: 'Unsigned Char Tests'
|
- name: ${{ matrix.script }}
|
||||||
run: build-scripts/test-unsigned-char
|
run: build-scripts/${{ matrix.script }}
|
||||||
CxxNext:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
# Build after Fuzzers to save concurrent runners
|
|
||||||
needs: Fuzzers
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: 'Build with Next C++ standard'
|
|
||||||
run: build-scripts/test-c++-next
|
|
||||||
|
Loading…
Reference in New Issue
Block a user