Skip to content
This repository was archived by the owner on Oct 12, 2026. It is now read-only.

Commit 9a951f2

Browse files
committed
ci/cd: new cmake-ci.yml
1 parent 187bddb commit 9a951f2

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

‎.github/workflows/cmake-ci.yml‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Test examples on debug-build
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Install dependencies
18+
run: |
19+
sudo apt-get update
20+
sudo apt-get install -y cmake python3
21+
22+
- name: Configure CMake
23+
run: |
24+
cmake -S . -B cmake-build-debug -DCMAKE_BUILD_TYPE=Debug
25+
26+
- name: Build
27+
run: |
28+
cmake --build cmake-build-debug --config Debug
29+
30+
- name: Run Python tests
31+
run: |
32+
python3 tests/tests.py

0 commit comments

Comments
 (0)