-
Notifications
You must be signed in to change notification settings - Fork 111
35 lines (27 loc) · 813 Bytes
/
c-cpp.yml
File metadata and controls
35 lines (27 loc) · 813 Bytes
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
name: Build CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: apt-update
run: sudo apt update
- name: prepare
run: sudo apt install python3 python3-yaml libelf-dev libbpf-dev linux-headers-`uname -r` clang llvm gcc linux-tools-`uname -r` linux-tools-generic -y
- name: make
run: make all
build-legacy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: apt-update
run: sudo apt update
- name: prepare
run: sudo apt install python3 python3-yaml libelf-dev libbpf-dev linux-headers-`uname -r` clang llvm gcc linux-tools-`uname -r` linux-tools-generic -y
- name: make
run: make COMPAT=1 all