Skip to content

Commit

Permalink
Add a GitHub action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aportale authored and qyot27 committed Jul 13, 2020
1 parent 70293e8 commit 954db7b
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build AviSynth+

on: [push]

jobs:
build:
name: ${{ matrix.config.name }}
runs-on: ${{ matrix.config.os }}
strategy:
matrix:
config:
- {name: "Windows Latest x64", os: windows-latest, cmake-parameters: "-A x64"}
- {name: "Windows Latest x86", os: windows-latest, cmake-parameters: "-A Win32"}
- {name: "Ubuntu 18.04 x64 (fs compat)", os: ubuntu-18.04, checkout-submodules: true}
- {name: "Ubuntu 20.04 x64", os: ubuntu-20.04}
- {name: "macOS Latest x64", os: macos-latest}

steps:
- uses: actions/checkout@v2
with:
submodules: ${{ matrix.config.checkout-submodules }}

- name: configure
run: |
cmake -S . -B avisynth-build ${{ matrix.config.cmake-parameters }}
- name: build
run: |
cmake --build avisynth-build --config Release -j 2

0 comments on commit 954db7b

Please sign in to comment.