Skip to content

Commit

Permalink
Fix github runner tag (#210)
Browse files Browse the repository at this point in the history
* Fix github runner tag

* Fix MacOS build
  • Loading branch information
drunkbatya authored Jan 10, 2024
1 parent bfce851 commit 51196a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
retention-days: 1

build_mac:
runs-on: [self-hosted, ARM64, macOS]
runs-on: [self-hosted, ARM64, macOS, qFlipper]
env:
MAC_OS_KEYCHAIN_NAME: ${{ secrets.MAC_OS_KEYCHAIN_NAME }}
MAC_OS_KEYCHAIN_PASSWORD: ${{ secrets.MAC_OS_KEYCHAIN_PASSWORD }}
Expand All @@ -61,7 +61,7 @@ jobs:
run: ./build_mac.sh

- name: Publish application
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: qflipper.dmg
path: |
Expand All @@ -84,7 +84,7 @@ jobs:
run: .\build_windows.bat

- name: Publish application
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: qFlipperSetup-64bit.exe
path: |
Expand Down
3 changes: 2 additions & 1 deletion build_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ qmake \
CONFIG+="release qtquickcompiler" \
-o Makefile \
../$PROJECT.pro \
QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64";
QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64" \
-early QMAKE_DEFAULT_LIBDIRS="$(xcrun -show-sdk-path)/usr/lib";

make qmake_all;
make "-j$(sysctl -n hw.ncpu)" > /dev/null 2>&1;
Expand Down

0 comments on commit 51196a2

Please sign in to comment.