From 1aba69c319388af1750f756d0245961a2c5fdaa1 Mon Sep 17 00:00:00 2001 From: Dongxu Li Date: Fri, 3 May 2024 13:53:33 -0400 Subject: [PATCH] Update build-all.yml --- .github/workflows/build-all.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-all.yml b/.github/workflows/build-all.yml index a09f688a3d..79dcce7750 100644 --- a/.github/workflows/build-all.yml +++ b/.github/workflows/build-all.yml @@ -94,10 +94,12 @@ jobs: uses: jurplel/install-qt-action@v3 with: version: '5.15.*' - - - name: Install boost dependencies + + - name: update Qt5 run: | - brew install boost + cat $Qt5_Dir/mkspecs/features/toolchain.prf + sed -i'' -e 's:isEmpty(QMAKE_DEFAULT_LIBDIRS):isEmpty("$HOME"):' $Qt5_Dir/mkspecs/features/toolchain.prf + cat $Qt5_Dir/mkspecs/features/toolchain.prf - name: Build and packaging run: | @@ -105,6 +107,7 @@ jobs: #bash -c 'ls -l "$(find /Users/runner/work/LibreCAD/Qt -name toolchain.prf -print)"' #bash -c 'cat "$(find /Users/runner/work/LibreCAD/Qt -name toolchain.prf -print)"' sed -i'' -e 's:isEmpty(QMAKE_DEFAULT_LIBDIRS):isEmpty("$HOME"):' $Qt5_Dir/mkspecs/features/toolchain.prf + cat $Qt5_Dir/mkspecs/features/toolchain.prf scripts/build-osx.sh mv LibreCAD.dmg LibreCAD-`git describe --always`.dmg