-
Notifications
You must be signed in to change notification settings - Fork 9
24 lines (23 loc) · 978 Bytes
/
ci.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
name: vRG ci
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: sudo apt-get update && sudo apt-get install -y libnuma-dev linux-headers-$(uname -r) python3-pip git gcc make libtool-bin pkg-config pciutils iproute2 kmod vim net-tools libconfig-dev
- run: sudo pip3 install setuptools meson ninja pyelftools
- run: sudo ${{ github.workspace }}/boot.sh
- run: sudo docker build --no-cache -t vrg:latest .
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: sudo apt-get update && sudo apt-get install -y libnuma-dev linux-headers-$(uname -r) python3-pip git gcc make libtool-bin pkg-config pciutils iproute2 kmod vim net-tools libconfig-dev
- run: sudo pip3 install setuptools meson ninja pyelftools
- run: sudo ${{ github.workspace }}/boot.sh
- run: cd ${{ github.workspace }} && make test