-
Notifications
You must be signed in to change notification settings - Fork 12
35 lines (33 loc) · 977 Bytes
/
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
name: Build
on: [push, pull_request]
jobs:
linux-gcc:
name: GCC (Linux)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: |
sudo apt update
sudo apt install -y qstat intltool cmake libgtk2.0-dev libgeoip-dev libminizip-dev
- name: cmake
run: CC=gcc CXX=g++ cmake -DWITH_QSTAT=/usr/bin/quakestat -DCMAKE_C_FLAGS=-Werror .
- name: make
run: make
- name: make install
run: sudo make install
linux-clang:
name: Clang (Linux)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: |
sudo apt update
sudo apt install -y qstat intltool cmake libgtk2.0-dev libgeoip-dev libminizip-dev
- name: cmake
run: CC=clang CXX=clang++ cmake -DWITH_QSTAT=/usr/bin/quakestat -DCMAKE_C_FLAGS=-Werror .
- name: make
run: make
- name: make install
run: sudo make install