-
Notifications
You must be signed in to change notification settings - Fork 14
37 lines (35 loc) · 853 Bytes
/
ubuntu.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
name: ubuntu
on:
push:
paths:
- "**.cpp"
- "**.h"
- "**.yml"
- "**.build"
pull_request:
paths:
- "**.cpp"
- "**.h"
- "**.yml"
- "**.build"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Update repositories
run: sudo apt update
- name: Install dependencies
run: sudo apt install meson pkgconf libgtkmm-3.0-dev nlohmann-json3-dev libgtk-layer-shell-dev clang gcc gobject-introspection libgirepository1.0-dev libwayland-dev
- name: Setup clang build
env:
CXX: clang++
run: meson setup clang_build
- name: Setup gcc build
env:
CXX: g++
run: meson setup gcc_build
- name: Build with clang
run: ninja -C clang_build
- name: Build with gcc
run: ninja -C gcc_build