-
Notifications
You must be signed in to change notification settings - Fork 234
37 lines (29 loc) · 890 Bytes
/
c-cpp.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: compile
on:
push:
branches: [ master ]
pull_request:
workflow_dispatch:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v4
with:
submodules: recursive
- name: Update packages
run: sudo apt-get update
- name: Install dependencies
run: >
sudo apt-get -y -q install git clang devscripts doxygen
libhugetlbfs-bin build-essential gcc-multilib linux-headers-`uname -r`
libmnl0 libmnl-dev libkmod2 libkmod-dev libnuma-dev libelf1 libelf-dev
libc6-dev-i386 autoconf flex bison libncurses5-dev libreadline-dev
python python3-pyelftools libcap-dev libcap2 meson ninja-build
pkg-config
- name: Setup Gatekeeper
run: sudo ./setup.sh
- name: Build Gatekeeper
run: make -j