workflows: set default arch for macOS bundle

This commit is contained in:
selsta 2023-04-17 19:24:56 +02:00
parent f650e96363
commit a9e0affe59
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

View file

@ -75,19 +75,22 @@ jobs:
run: python3 monero-gui/.github/qt_helper.py mac_x64 desktop 5.15.2 clang_64 c384008156fe63cc183bade0316828c598ff3e5074397c0c9ccc588d6cdc5aca run: python3 monero-gui/.github/qt_helper.py mac_x64 desktop 5.15.2 clang_64 c384008156fe63cc183bade0316828c598ff3e5074397c0c9ccc588d6cdc5aca
working-directory: ../ working-directory: ../
- name: build - name: build
run: CMAKE_PREFIX_PATH=/Users/runner/work/monero-gui/5.15.2/clang_64 make release -j3 run: |
mkdir build && cd build
cmake -D CMAKE_BUILD_TYPE=Release -D ARCH=default -D CMAKE_PREFIX_PATH=/Users/runner/work/monero-gui/5.15.2/clang_64 ..
make
- name: deploy - name: deploy
run: make deploy run: make deploy
working-directory: build/release working-directory: build
- name: test qml - name: test qml
run: build/release/bin/monero-wallet-gui.app/Contents/MacOS/monero-wallet-gui --test-qml run: build/bin/monero-wallet-gui.app/Contents/MacOS/monero-wallet-gui --test-qml
- name: create .tar - name: create .tar
run: tar -cf monero-wallet-gui.tar monero-wallet-gui.app run: tar -cf monero-wallet-gui.tar monero-wallet-gui.app
working-directory: build/release/bin working-directory: build/bin
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
name: ${{ github.job }} name: ${{ github.job }}
path: build/release/bin/monero-wallet-gui.tar path: build/bin/monero-wallet-gui.tar
docker-linux-static: docker-linux-static:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04