forked from Linutronix/RTC-Testbench
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (30 loc) · 734 Bytes
/
Copy pathbuild.yml
File metadata and controls
35 lines (30 loc) · 734 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
35
---
#
# Copyright (C) 2024 Linutronix GmbH
# Author Kurt Kanzenbach <kurt@linutronix.de>
#
# SPDX-License-Identifier: BSD-2-Clause
#
name: Build code
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Install dependencies
uses: awalsh128/cache-apt-pkgs-action@v1.5.3
with:
packages: >-
clang llvm cmake pkg-config libbpf-dev libyaml-dev libc6-dev build-essential libxdp-dev
libssl-dev libmosquitto-dev bash sphinx python3-sphinx-rtd-theme
version: 1.0
- name: Build code
run: ./tools/ci/build.sh