forked from intel/intel-cmt-cat
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (38 loc) · 938 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
36
37
38
39
40
41
42
43
44
name: github/build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-gcc:
name: Build with gcc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: sudo apt install gcc
- name: Build gcc
run: make
- name: Install
run: sudo make install
- name: Build gcc debug
run: make DEBUG=y clean all
build-clang:
name: Build with clang
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: sudo apt install clang
- name: Build clang
run: CC=clang make clean all
scan-build:
name: scan-build - Clang static analyzer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: sudo apt install clang-tools
- name: Scan Build
run: scan-build --status-bugs make