-
Notifications
You must be signed in to change notification settings - Fork 31
41 lines (32 loc) · 1013 Bytes
/
macOS-Intel.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: macOS Intel Release
on:
workflow_dispatch:
branches: [ "master" ]
env:
SOURCE_DIR: ${{ github.workspace }}/platform
QTDIR: /usr/local/Cellar/qt@5/5.15.13/bin
ARTIFACT: ${{ github.workspace }}/platform/build/MLV\ App.dmg
jobs:
build:
runs-on: macos-12
steps:
- uses: actions/checkout@master
- name: Install llvm & Qt & OpenSSL
continue-on-error: true
uses: ConorMacBride/[email protected]
with:
brew: llvm qt5 openssl
- name: Create build directory
run: mkdir ${{ env.SOURCE_DIR }}/build
- name: Build
working-directory: ${{ env.SOURCE_DIR }}/build
run: |
${{ env.QTDIR }}/qmake -r ${{ env.SOURCE_DIR }}/qt/MLVApp.pro
make -j8
ls -al
${{ env.QTDIR }}/macdeployqt MLV\ App.app -dmg
- name: Save build artifact
uses: actions/upload-artifact@master
with:
name: MLVApp macOS Intel
path: ${{ env.ARTIFACT }}