Skip to content

Commit a92d1b2

Browse files
committed
add github ci workflow
1 parent 1ac5a5d commit a92d1b2

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build-and-test:
11+
strategy:
12+
matrix:
13+
os: [ubuntu-latest, windows-latest, macos-latest]
14+
build_type: [Release, Debug]
15+
16+
runs-on: ${{ matrix.os }}
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- name: Configure CMake
22+
run: cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
23+
24+
- name: Build
25+
run: cmake --build build --config ${{ matrix.build_type }}
26+
27+
- name: Run Tests
28+
working-directory: build
29+
run: ctest -C ${{ matrix.build_type }} --output-on-failure

CHANGELOG

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# v1.0.2.2 - 2025-10-04
22
- Fixed size calculation in shared memory mapping to use reserved_info struct
33
- Added server-client shared memory test case
4+
- Added GitHub CI workflow for automated testing across Ubuntu, Windows, and macOS
45

56
# v1.0.2.1 - 2025-10-01
67
- Fixed buffer wrap read logic to properly retry from wrapped position

0 commit comments

Comments
 (0)