From 1b3eaf7faf359c1f856f2304f1c62adecba3c31c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= Date: Sat, 21 Dec 2024 20:49:35 +0100 Subject: [PATCH] CI: Added macOS build --- .github/workflows/build.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c5daa27..a4968b2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,3 +55,32 @@ jobs: -DUSE_SHARED_HARFBUZZ=on cmake --build build --config Release sudo cmake --install build --config Release + + macos: + name: macOS + runs-on: macos-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + submodules: 'recursive' + + - name: Setup ccache + uses: hendrikmuhs/ccache-action@v1 + with: + max-size: 50M + + - name: Install Qt + uses: jurplel/install-qt-action@v4 + with: + version: 6.8.1 + arch: clang_64 + cache: true + + - name: Build + run: | + cmake -B build -DCMAKE_BUILD_TYPE=Release \ + -DUSE_SHARED_ZLIB=on + cmake --build build --config Release + sudo cmake --install build --config Release