blob: a09a852129d74c008cc949525c3949b4c7e124e9 (
about) (
plain) (
blame)
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@v4
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
key: build-linux-qt6-release
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: 6.10.0
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 .
|