-
Notifications
You must be signed in to change notification settings - Fork 70
58 lines (47 loc) · 1.01 KB
/
build-test.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
50
51
52
53
54
55
56
57
name: Build test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
Linux2004:
name: Build on Ubuntu 20.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Install libpcap-dev
run: sudo apt install -y libpcap-dev
- name: make
run: make
Linux2204:
name: Build on Ubuntu 22.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install libpcap-dev
run: sudo apt install -y libpcap-dev
- name: make
run: make
MacOS11:
name: Build MacOS Big Sur 11
runs-on: macos-11
steps:
- uses: actions/checkout@v3
- name: Install libpcap
run: |
brew update
brew install libpcap
- name: make
run: make
MacOS12:
name: Build MacOS Monterey 12
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- name: Install libpcap
run: |
brew update
brew install libpcap
- name: make
run: make