Only do one full build per target on PR builds
This commit is contained in:
parent
512e0fe9b4
commit
d4de0513b5
1 changed files with 14 additions and 1 deletions
15
.github/workflows/pr.yml
vendored
15
.github/workflows/pr.yml
vendored
|
@ -18,7 +18,18 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
target: [win64,linux64,linuxarm64]
|
target: [win64,linux64,linuxarm64]
|
||||||
variant: [gpl,lgpl,gpl 4.4,gpl 5.1,lgpl 4.4,lgpl 5.1,gpl-shared,lgpl-shared,gpl-shared 4.4,gpl-shared 5.1,lgpl-shared 4.4,lgpl-shared 5.1]
|
variant: [lgpl,gpl 4.4,gpl 5.1,lgpl 4.4,lgpl 5.1,gpl-shared,lgpl-shared,gpl-shared 4.4,gpl-shared 5.1,lgpl-shared 4.4,lgpl-shared 5.1]
|
||||||
|
quickbuild: [1]
|
||||||
|
include:
|
||||||
|
- target: win64
|
||||||
|
variant: gpl
|
||||||
|
quickbuild: ''
|
||||||
|
- target: linux64
|
||||||
|
variant: gpl
|
||||||
|
quickbuild: ''
|
||||||
|
- target: linuxarm64
|
||||||
|
variant: gpl
|
||||||
|
quickbuild: ''
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
@ -29,6 +40,8 @@ jobs:
|
||||||
driver: docker
|
driver: docker
|
||||||
- name: Build Image
|
- name: Build Image
|
||||||
run: ./makeimage.sh ${{ matrix.target }} ${{ matrix.variant }}
|
run: ./makeimage.sh ${{ matrix.target }} ${{ matrix.variant }}
|
||||||
|
env:
|
||||||
|
QUICKBUILD: ${{ matrix.quickbuild }}
|
||||||
- name: Build ffmpeg
|
- name: Build ffmpeg
|
||||||
run: ./build.sh ${{ matrix.target }} ${{ matrix.variant }}
|
run: ./build.sh ${{ matrix.target }} ${{ matrix.variant }}
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
|
|
Loading…
Reference in a new issue