forked from wolfSSL/wolfip
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (36 loc) · 979 Bytes
/
linux.yml
File metadata and controls
46 lines (36 loc) · 979 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
36
37
38
39
40
41
42
43
44
45
name: Linux interop tests
on:
push:
branches: [ 'master', 'main', 'release/**' ]
pull_request:
branches: [ '*' ]
jobs:
linux_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Update repo
run: |
sudo apt-get update
sudo apt-get install -y libwolfssl-dev
sudo modprobe tun
- name: Build linux tests
run: |
mkdir -p build/port
make
- name: Run standalone "event loop" test
run: |
sudo ./build/test-evloop
sudo killall tcpdump || true
- name: Run standalone wolfssl test
run: |
sudo ./build/test-wolfssl
sudo killall tcpdump || true
- name: Run standalone forwarding test
run: |
sudo ./build/test-wolfssl-forwarding
- name: Run standalone TTL expired test
run: |
./build/test-ttl-expired