Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/build_pat.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build_PAT

on:
workflow_dispatch:
pull_request:
types:
- opened
Expand All @@ -18,6 +19,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

permissions:
contents: read

jobs:
pat_build:
name: Build ${{ matrix.name }}
Expand Down Expand Up @@ -72,7 +76,8 @@ jobs:
sudo apt install cmake
elif [ "$RUNNER_OS" == "macOS" ]; then
if [ "$GITHUB_EVENT_NAME" != "pull_request" ]; then
curl -L -O https://download.qt.io/archive/qt-installer-framework/4.3.0/QtInstallerFramework-macOS-x64-4.3.0.dmg
curl -fL -O https://download.qt.io/archive/qt-installer-framework/4.3.0/QtInstallerFramework-macOS-x64-4.3.0.dmg
echo "8c72d42414071d4f2c60825613f90fd52cd42a63e72a76b0c391fdd13d9ed0be QtInstallerFramework-macOS-x64-4.3.0.dmg" | shasum -a 256 -c -
hdiutil attach -mountpoint ./qtfiw_installer QtInstallerFramework-macOS-x64-4.3.0.dmg
echo "ls ./qtfiw_installer"
sudo ./qtfiw_installer/QtInstallerFramework-macOS-x64-4.3.0.app/Contents/MacOS/QtInstallerFramework-macOS-x64-4.3.0 --verbose --script ./ci/install_script_qtifw.qs
Expand All @@ -83,7 +88,8 @@ jobs:
# echo CMAKE_MACOSX_DEPLOYMENT_TARGET='-DCMAKE_OSX_DEPLOYMENT_TARGET=$MACOSX_DEPLOYMENT_TARGET' >> $GITHUB_ENV
elif [ "$RUNNER_OS" == "Windows" ]; then
if [ "$GITHUB_EVENT_NAME" != "pull_request" ]; then
curl -L -O https://download.qt.io/archive/qt-installer-framework/4.3.0/QtInstallerFramework-windows-x86-4.3.0.exe
curl -fL -O https://download.qt.io/archive/qt-installer-framework/4.3.0/QtInstallerFramework-windows-x86-4.3.0.exe
echo "b8857048b2bb9eb0b390c78d99e858a036d671fa83c6a8c58c66548decde6bc7 QtInstallerFramework-windows-x86-4.3.0.exe" | sha256sum -c -
./QtInstallerFramework-windows-x86-4.3.0.exe --verbose --script ./ci/install_script_qtifw.qs
dir "C:/Qt/"
echo "C:/Qt/QtIFW-4.3.0/bin" >> $GITHUB_PATH
Expand Down
Loading