-
Notifications
You must be signed in to change notification settings - Fork 59
75 lines (60 loc) · 1.7 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
name: build
on: [push]
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: prerequisites
run: sudo apt update && sudo apt install build-essential qttools5-dev-tools qt6-base-dev libgl1-mesa-dev
- name: qmake
run: qmake6
- name: make
run: make
linux-cmake-deepzoom:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: prerequisites
run: sudo apt update && sudo apt install build-essential qt6-base-dev qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools linguist-qt6 libgl1-mesa-dev
- name: cmake
run: mkdir cbuild; cd cbuild; cmake -DDEEPZOOM=ON ..
- name: make
run: cd cbuild; make
mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: install-qt
uses: jurplel/install-qt-action@v3
with:
version: '6.2.4'
- name: qmake
run: qmake
- name: make
run: make
mac-cmake:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: install-qt
uses: jurplel/install-qt-action@v3
with:
version: '6.2.4'
- name: cmake
run: mkdir cbuild; cd cbuild; cmake ..
- name: make
run: cd cbuild; make
# This requires too much disk space (more than 40 GB), so it is disabled for now:
# wasm:
#
# runs-on: ubuntu-latest
#
# steps:
# - uses: actions/checkout@v1
# - name: prerequisites
# run: sudo apt update && sudo apt install build-essential libclang-13-dev cmake ninja-build libgl-dev libegl-dev libfontconfig-dev
# - name: compile-qt-web
# run: cd tools && ./compile-qt-web
# - name: compile-xaos-web
# run: cd tools && ./compile-xaos-web