Skip to content

Commit 0097dca

Browse files
committed
ci: enhance CI workflow with separate configure, build, test, and install steps
1 parent def5ff6 commit 0097dca

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/ci.yaml

+13-2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@ jobs:
2020
ninja-build
2121
- name: checkout repository
2222
uses: actions/checkout@v4
23-
- name: compile
23+
- name: configure
2424
run: |
25-
cmake -B build -S .
25+
cmake -S . -B build \
26+
-DCMAKE_BUILD_TYPE=Release
27+
- name: build
28+
run: |
29+
cmake --build build
30+
- name: test
31+
run: |
32+
cd build
33+
ctest --output-on-failure
34+
- name: install
35+
run: |
36+
sudo cmake --install build

0 commit comments

Comments
 (0)