-
Notifications
You must be signed in to change notification settings - Fork 74
49 lines (42 loc) · 1.01 KB
/
build_linux_qt6.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
name: Build Linux Qt6
on:
push:
branches:
- master
paths-ignore:
- '**.md'
tags:
- '*'
pull_request:
paths-ignore:
- '**.md'
jobs:
build-linux-qt6:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
key: build-linux-qt6-release
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: 6.6.2
modules: qt5compat qtmultimedia
- name: Install other prerequisites
run: |
sudo apt update
sudo apt install -y enchant-2 libenchant-2-dev libperl-dev
- name: Configure CMake
run: |
cd '${{github.workspace}}'
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache ..
- name: Build
run: |
cd '${{github.workspace}}'
cd build
cmake --build .