-
Notifications
You must be signed in to change notification settings - Fork 14
46 lines (39 loc) · 941 Bytes
/
ci-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
on:
push:
branches:
- main
pull_request:
jobs:
build:
strategy:
matrix:
no_python: [0, 1]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: 5.15.2
modules: qtwebengine
- name: Install other deps
run: |
sudo apt install -y cmake libasound2-dev
- name: CMake (NO_PYTHON=${{ matrix.no_python }})
run: |
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=~/.local -DNO_PYTHON=${{ matrix.no_python }}
- name: Make
working-directory: build
run: |
make -j4
- name: Build translations
working-directory: build
run: |
make tr
- name: Install
working-directory: build
run: |
make install