-
-
Notifications
You must be signed in to change notification settings - Fork 1
61 lines (58 loc) · 1.97 KB
/
ci.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
name: CI
on:
push:
branches: [ "main" ]
jobs:
linuxbuild:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: apt-update
run: sudo apt-get update -qq
- name: apt get qt
run: sudo apt-get install -y --no-install-recommends build-essential qt6-base-dev libqt6websockets6-dev libqt6svg6-dev qt6-declarative-dev qml6-module-qtquick qml6-module-qtquick-controls qml6-module-qtquick-dialogs qml6-module-qtquick-templates qml6-module-qtquick-window qml6-module-qtquick-layouts qml6-module-qtqml-workerscript qml-qt6 libqt6quick6 libqt6quickcontrols2-6 libqt6opengl6-dev libgl1-mesa-dev
- name: run qmake
run: qmake6 -makefile -o src/Makefile src/ArdorQuery.pro
- name: run make
run: make -C src
macosbuild:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Install Qt dependencies
uses: jurplel/install-qt-action@v4
with:
version: 6.5.3
cache: true
modules: 'qtscxml qt5compat qtshadertools qtimageformats qtwebsockets'
- name: run qmake
run: qmake6 -makefile -o src/Makefile src/ArdorQuery.pro QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64"
- name: run make
run: make -C src
windowsbuild:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Configure MSVC
uses: ilammy/[email protected]
with:
arch: x64
spectre: true
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: 6.6.0
modules: qtscxml qt5compat qtimageformats qtwebsockets
- name: run qmake
run: qmake -makefile -o src/Makefile src/ArdorQuery.pro
- name: run make
run: cd src && nmake /F Makefile
publishdocs:
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v4
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}