Add pull request workflow
This commit is contained in:
parent
745db8c050
commit
869dd78b7b
1 changed files with 25 additions and 0 deletions
25
.github/workflows/pr.yml
vendored
Normal file
25
.github/workflows/pr.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
name: Test Full Build
|
||||
on: pull_request
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build ffmpeg
|
||||
needs: build_targets
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
target: [win64]
|
||||
variant: [gpl,lgpl,gpl-vulkan,lgpl-vulkan,gpl-4.3,lgpl-4.3]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build Image
|
||||
run: ./makeimage.sh ${{ matrix.target }} ${{ matrix.variant }}
|
||||
- name: Build ffmpeg
|
||||
run: ./build.sh ${{ matrix.target }} ${{ matrix.variant }}
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ffmpeg
|
||||
path: artifacts/*
|
Loading…
Reference in a new issue