-
Notifications
You must be signed in to change notification settings - Fork 27
46 lines (35 loc) · 848 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
with:
go-version: 1.19.x
- uses: actions/checkout@v2
- name: install-deps
run: sudo apt-get install libpcap-dev
- name: run go test
run: make test
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
with:
go-version: 1.19.x
- uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build e2e test env
run: make up
- name: Build docker image
run: make docker
- name: Install meshnet with VXLAN link
run: make install
- name: Run tests
run: make e2e