fix macOS packaging in CI build using official Qt (#178)

This commit is contained in:
Cyano Hao 2024-01-18 10:43:24 +08:00 committed by GitHub
parent 5cf21bcc27
commit 8d056116d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 4 deletions

View File

@ -299,13 +299,17 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Setup - name: Setup
run: | uses: jurplel/install-qt-action@v3
brew install qt@5 with:
version: '5.15.2'
host: mac
target: desktop
arch: clang_64
archives: qtbase qtsvg qttools
tools: tools_qtcreator,qt.tools.qtcreator
- name: Build - name: Build
run: | run: |
export PATH="/usr/local/opt/qt@5/bin:$PATH"
mkdir build && pushd build mkdir build && pushd build
qmake PREFIX=$GITHUB_WORKSPACE/pkg $GITHUB_WORKSPACE/Red_Panda_CPP.pro qmake PREFIX=$GITHUB_WORKSPACE/pkg $GITHUB_WORKSPACE/Red_Panda_CPP.pro
make -j$(nproc) make -j$(nproc)