File tree 3 files changed +463
-0
lines changed
3 files changed +463
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ' Download Qt'
2
+ description : ' Downloads Qt'
3
+ inputs :
4
+ version :
5
+ description : ' Qt version'
6
+ required : false
7
+ default : ' 6.6.0'
8
+ target :
9
+ description : ' Qt target (desktop, ios, android)'
10
+ required : false
11
+ default : ' desktop'
12
+ toolchain :
13
+ description : ' Qt toolchain'
14
+ required : true
15
+ runs :
16
+ using : " composite"
17
+ steps :
18
+ - name : Install Qt
19
+ run : |
20
+ QT_DIR=$(./scripts/install-qt.sh -d $HOME/Qt --version ${{ inputs.version }} --target ${{ inputs.target }} --toolchain ${{ inputs.toolchain }} qtbase)
21
+ (cygpath -w ${QTC_DIR} 2>/dev/null || echo ${QT_DIR}) >> ${GITHUB_PATH}
22
+ shell : bash
Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ on :
4
+ push :
5
+
6
+ jobs :
7
+ build-macos :
8
+ name : Build on macOS
9
+ runs-on : macos-12
10
+ steps :
11
+ - uses : actions/checkout@v1
12
+ - name : Install Qt
13
+ uses : ./.github/actions/download-qt
14
+ with :
15
+ toolchain : clang_64
16
+ - name : Install Qbs
17
+ run : brew install qbs
18
+ - name : Setup Qbs
19
+ run : |
20
+ qbs setup-toolchains --detect
21
+ qbs setup-qt --detect
22
+ qbs config profiles.qt.baseProfile xcode_13_2_1-macosx-x86_64
23
+ qbs config defaultProfile qt
24
+ qbs config --list
25
+ - name : Build
26
+ run : |
27
+ qbs resolve
28
+ qbs build
29
+
You can’t perform that action at this time.
0 commit comments