From 869dd78b7b9bc72e81e3b4e8e8022d053a524a27 Mon Sep 17 00:00:00 2001 From: BtbN Date: Sun, 20 Sep 2020 18:08:01 +0200 Subject: [PATCH] Add pull request workflow --- .github/workflows/pr.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/pr.yml diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 0000000..7f7d32b --- /dev/null +++ b/.github/workflows/pr.yml @@ -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/*