forked from timschneeb/DDCToolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (38 loc) · 845 Bytes
/
mac-unit-tests.yml
File metadata and controls
46 lines (38 loc) · 845 Bytes
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
46
name: Unit tests (macOS)
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
release:
types:
- published
- prereleased
jobs:
build-mac64:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
version: '5.15.2'
- name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "10.3"
- name: Initialize project
run: |
mkdir build
cd build
qmake ../DDCToolbox.pro "CONFIG += CI" "CONFIG += no_app"
- name: Build
run: |
cd build
make
- name: Run unit tests
run: |
cd build
make check