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
|
||||
matrix:
|
||||
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:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
@ -29,6 +40,8 @@ jobs:
|
|||
driver: docker
|
||||
- name: Build Image
|
||||
run: ./makeimage.sh ${{ matrix.target }} ${{ matrix.variant }}
|
||||
env:
|
||||
QUICKBUILD: ${{ matrix.quickbuild }}
|
||||
- name: Build ffmpeg
|
||||
run: ./build.sh ${{ matrix.target }} ${{ matrix.variant }}
|
||||
- name: Upload artifacts
|
||||
|
|
Loading…
Reference in a new issue