From 1cbf582966092abce1b8a340f8422d0576a87e88 Mon Sep 17 00:00:00 2001 From: plata Date: Sun, 3 Dec 2023 12:12:53 +0100 Subject: [PATCH] Add GitHub actions CI --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..9f13bad13 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: CI +on: + pull_request: + push: + branches: + - master + +jobs: + build-linux: + name: Build (Linux) + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Build + run: | + createDebFromSourceUbuntu.bash --deps-only + bootStrap.bash --with-system-libass + build-macos: + name: Build (macOS) + runs-on: macos-latest + steps: + - uses: actions/checkout@v3 + - name: Build + run: | + brew install cmake nasm yasm qt xvid x264 x265 libvpx aom opus fdk-aac lame libass mp4v2 a52dec + export MACOSX_DEPLOYMENT_TARGET=$(xcrun --sdk macosx --show-sdk-version) + bash bootStrapOsx_Catalina.bash --enable-qt6