-
Notifications
You must be signed in to change notification settings - Fork 44
45 lines (43 loc) · 1.07 KB
/
main.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
name: Main
on:
push:
branches-ignore:
- 'releases/**'
paths-ignore:
- '**.md'
- '.github/workflows/release.yml'
- '.gitignore'
- 'data/translations/**'
pull_request:
paths-ignore:
- '**.md'
- '.github/workflows/release.yml'
- '.gitignore'
- 'data/translations/**'
jobs:
Main:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
include:
- os: ubuntu-20.04
CXXFLAGS: '-Wall -Wextra -pedantic -Werror'
steps:
- name: Clone repo
uses: actions/checkout@v2.2.0
with:
submodules: recursive
- name: Install dependent apt packages
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install qttools5-dev libpolkit-qt5-1-dev
wget http://launchpadlibrarian.net/590905036/extra-cmake-modules_5.92.0-0ubuntu1_amd64.deb
sudo dpkg -i extra-cmake-modules_5.92.0-0ubuntu1_amd64.deb
- name: Build
run: |
mkdir build
cd build
cmake ..
cmake --build . --parallel 2