Skip to content

Commit 581dd36

Browse files
committed
Add GitHub Actions Linux build workflow to validate library and examples.
1 parent 78f3502 commit 581dd36

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/linux-build.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Linux build
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
16+
- name: Install dependencies
17+
run: |
18+
sudo apt-get update
19+
sudo apt-get install -y build-essential pkg-config libssl-dev
20+
21+
- name: Build
22+
run: make
23+
24+
- name: Verify examples
25+
run: |
26+
test -f build/libhlqueryclient.a
27+
test -x ./basic_usage
28+
test -x ./flush
29+
test -x ./hits_api_usage

0 commit comments

Comments
 (0)