-
Notifications
You must be signed in to change notification settings - Fork 14
45 lines (31 loc) · 1.07 KB
/
main.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
name: CI Basic Build
on:
push:
branches: [ "master", "proposed_master", "github_actions_development" ]
pull_request:
branches: [ "master", "proposed_master", "github_actions_development" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install missing packages
run: sudo apt-get -y install automake libreadline-dev docbook-utils build-essential libboost-all-dev pkg-config libsigc++-2.0-dev xsltproc
- 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 tools
run: make tools
- name: Install tools
run: make tools-install
- name: Build saftlib
run: make saftlib -j$(nproc)
- name: Install saftlib
run: sudo make saftlib-install