From d17035ad86fdd19429568c9cbe0b8ccdfa31bdb4 Mon Sep 17 00:00:00 2001 From: NextFire Date: Sat, 1 Jun 2024 16:26:58 +0200 Subject: [PATCH] macOS arm64 release and enable bestsource for all macOS builds --- .github/workflows/ci.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27f9f98d7..13481360f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -98,10 +98,16 @@ jobs: -Dbestsource=enabled -Dvapoursynth=enabled - { - name: macOS Release, + name: macOS (amd64) Release, os: macos-13, buildtype: release, - args: -Ddefault_library=static -Dbuild_osx_bundle=true -Dlocal_boost=true -Dvapoursynth=enabled --force-fallback-for=ffms2 + args: -Ddefault_library=static -Dbuild_osx_bundle=true -Dlocal_boost=true -Dvapoursynth=enabled --force-fallback-for=ffms2 -Dbestsource=enabled + } + - { + name: macOS (arm64) Release, + os: macos-latest, + buildtype: release, + args: -Ddefault_library=static -Dbuild_osx_bundle=true -Dlocal_boost=true -Dvapoursynth=enabled --force-fallback-for=ffms2 -Dbestsource=enabled } steps: @@ -170,6 +176,7 @@ jobs: run: meson compile -C build - name: Run test + if: matrix.config.os != 'macos-latest' run: meson test -C build --verbose "gtest main" # Windows artifacts @@ -203,8 +210,9 @@ jobs: - name: Generate macOS installer if: startsWith(matrix.config.os, 'macos-') run: | - meson compile osx-bundle -C build - meson compile osx-build-dmg -C build + sudo meson compile osx-bundle -C build + sudo xattr -c build/Aegisub.app + sudo meson compile osx-build-dmg -C build - name: Upload artifacts - macOS dmg uses: actions/upload-artifact@v4