Skip to content

Commit c811f4e

Browse files
Merge pull request #4 from stefanDeveloper/adapt-fields
Fix missing ignore fields and geoip filtering
2 parents bdc8e40 + 4b97ab0 commit c811f4e

23 files changed

+2067
-357
lines changed

.github/workflows/build-linux.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Linux Build
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
os: [ubuntu-latest]
15+
16+
env:
17+
CMAKE_BUILD_TYPE: Release
18+
19+
steps:
20+
- name: Checkout code
21+
uses: actions/checkout@v4
22+
23+
- name: Set up CMake
24+
uses: lukka/[email protected]
25+
26+
- name: Cache APT packages
27+
uses: actions/cache@v4
28+
with:
29+
path: |
30+
/var/cache/apt/archives
31+
key: ${{ runner.os }}-apt-${{ hashFiles('**/CMakeLists.txt') }}
32+
restore-keys: |
33+
${{ runner.os }}-apt-${{ hashFiles('**/CMakeLists.txt') }}
34+
35+
- name: Install dependencies
36+
run: |
37+
sudo apt-get update
38+
sudo apt-get install -y \
39+
libgtest-dev
40+
41+
- name: Build
42+
run: |
43+
cd heidpi-logger
44+
cmake .
45+
make
46+
47+
- name: Test
48+
run: |
49+
cd heidpi-logger
50+
ctest

0 commit comments

Comments
 (0)