Skip to content

Commit

Permalink
CI mac: enforce use of Qt5 even if Qt6 present
Browse files Browse the repository at this point in the history
fixes failed run
<https://github.com/CESNET/UltraGrid/actions/runs/5925739298/job/16065753514>

From some point, it seems that Qt6 (Homebrew port _qt_) is already
installed but it doesn't bundle successfully. So enforce using Qt5
(previous symlink command didn't replace the `/usr/local/opt/qt` symlink
if already present).

+ copy the link instead of linking it to prevent:

        Error: /usr/local/opt/qt@5 is not a valid keg
  • Loading branch information
MartinPulec committed Aug 21, 2023
1 parent 4e16bab commit 4ca544c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/scripts/macOS/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ brew install qt@5
brew install glm
curl -L https://raw.githubusercontent.com/miniupnp/libnatpmp/master/natpmp_declspec.h -o /usr/local/include/natpmp_declspec.h

sudo ln -s /usr/local/opt/qt@5 /usr/local/opt/qt
rm -f /usr/local/opt/qt
cp -af /usr/local/opt/qt@5 /usr/local/opt/qt

.github/scripts/macOS/install_dylibbundler_v2.sh

Expand Down

0 comments on commit 4ca544c

Please sign in to comment.