-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (36 loc) · 985 Bytes
/
build.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
42
43
44
45
name: "Build"
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: "0 10 * * 6"
jobs:
build:
name: "Build"
runs-on: macos-latest
defaults:
run:
shell: bash
env:
QT_VERSION: 5.12.11
steps:
- name: "Checkout repository"
uses: actions/checkout@v3
- name: "Install additional packages"
run: |
bash tools/install-qt.sh --version "$QT_VERSION" --target ios --toolchain ios --directory "$HOME/Qt" qtbase qtdeclarative qtquickcontrols2 qtlocation qtpurchasing
- name: "Run build"
env:
QMAKE_CFLAGS_ENV: "-Werror"
QMAKE_CXXFLAGS_ENV: ""
QMAKE_OBJECTIVE_CFLAGS_ENV: "-Werror"
run: |
export PATH="$HOME/Qt/$QT_VERSION/ios/bin:$PATH"
mkdir .build
cd .build
qmake ../vkgeo.pro
make XCODEBUILD_FLAGS="CODE_SIGN_IDENTITY=\"\" CODE_SIGNING_REQUIRED=NO -UseModernBuildSystem=NO" debug-device