-
Notifications
You must be signed in to change notification settings - Fork 14
49 lines (38 loc) · 1.14 KB
/
ci-firmware-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
45
46
47
48
49
name: CI Firmware Build
on:
push:
branches:
- "master"
- "proposed_master"
- "fallout"
- "github-actions-development"
pull_request:
branches:
- "master"
- "proposed_master"
- "fallout"
- "github-actions-development"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04]
steps:
- uses: actions/checkout@v3
- name: Update
run: sudo apt-get update
- name: Install missing packages
run: sudo apt-get -y install automake libreadline-dev build-essential libboost-all-dev docbook-utils pkg-config libsigc++-2.0-dev --fix-missing
- name: Set PKG_CONFIG_PATH
run: export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
- name: Create symlinks
run: sudo ln -s /usr/lib/x86_64-linux-gnu/libmpfr.so.6 /usr/lib/x86_64-linux-gnu/libmpfr.so.4
- name: Setup repository
run: make
- name: Build etherbone
run: make etherbone
- name: Install etherbone
run: sudo make etherbone-install
- name: Build burst generator
run: make bg