From 5a99f21e0600bfa2a13356508325828b8ce8ca28 Mon Sep 17 00:00:00 2001 From: itsmattkc <34096995+itsmattkc@users.noreply.github.com> Date: Sun, 30 Jan 2022 13:05:07 -0800 Subject: [PATCH] ci: force correct qt platform plugin --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f41edf68b..a92d6d827 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -408,6 +408,13 @@ jobs: mv Olive.sym "$SYM_DIR" fi + if [ "${{ matrix.os-arch }}" == "arm64" ] + then + # macdeployqt is smart enough to pull the right libraries, but not the right platform + # plugin. We have to replace it with the correct arm64 one. + cp $DEP_LOCATION/plugins/platforms/libqcocoa.dylib $BUNDLE_NAME/Contents/PlugIns/platforms + fi + - name: Deploy Packages working-directory: ${{ runner.workspace }}/build shell: bash