Skip to content

Commit b5e533c

Browse files
committed
Need the arch variable to get qtifw + self hosted mac does not have aria2c installed
1 parent 6353789 commit b5e533c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/app_build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ jobs:
7070
SDKROOT: /Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
7171
QT_OS_NAME: mac
7272
QT_ARCH: clang_64
73+
arch: x86_64
7374
- os: macos-arm64
7475
SELF_HOSTED: true
7576
PLATFORM_NAME: Darwin
@@ -81,6 +82,7 @@ jobs:
8182
SDKROOT: /Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
8283
QT_OS_NAME: mac
8384
QT_ARCH: arm_64
85+
arch: arm64
8486

8587
steps:
8688

@@ -241,6 +243,7 @@ jobs:
241243
242244
# Download my patched QtIFW
243245
mkdir QtIFW && cd QtIFW
246+
brew list aria2 || brew install aria2
244247
aria2c https://github.com/jmarrec/QtIFW-fixup/releases/download/v5.0.0-dev-with-fixup/QtIFW-5.0.0-${{ matrix.arch }}.zip
245248
xattr -r -d com.apple.quarantine ./QtIFW-5.0.0-${{ matrix.arch }}.zip
246249
unzip QtIFW-5.0.0-${{ matrix.arch }}.zip

0 commit comments

Comments
 (0)