Skip to content

Commit df697b6

Browse files
committed
Add simple Ubuntu build and test workflow
1 parent ddfc5cb commit df697b6

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/build.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: ["*"]
6+
pull_request:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
timeout-minutes: 10
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v6
15+
16+
- name: Install dependencies
17+
run: |
18+
sudo apt-get update
19+
sudo apt-get install -y \
20+
autoconf automake libtool pkg-config \
21+
libev-dev libpcre2-dev libc-ares-dev \
22+
libssl-dev libseccomp-dev libbsd-dev
23+
24+
- name: Build
25+
run: |
26+
./autogen.sh
27+
./configure
28+
make -j$(nproc)
29+
30+
- name: Test
31+
run: make check

0 commit comments

Comments
 (0)