Skip to content

Commit fd66de0

Browse files
committed
Update GitHub Actions to build and test to detect crashes
1 parent c0ef774 commit fd66de0

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

.github/workflows/c-cpp.yml

+22-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,26 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v4
16-
# - name: make clean
16+
- name: Clean build
17+
run: make clean || true
18+
19+
# - name: Build (Debug)
20+
# run: make BUILD_TYPE=debug
21+
22+
# - name: Run watchdog (Debug test)
23+
# run: |
24+
# timeout --preserve-status 600s ./processWatchdog > debug_watchdog_stdout.log 2> debug_watchdog_stderr.log
25+
# cat debug_watchdog_stdout.log
26+
# cat debug_watchdog_stderr.log
27+
28+
# - name: Clean
1729
# run: make clean
18-
- name: make
19-
run: make
30+
31+
- name: Build (Release)
32+
run: make BUILD_TYPE=release
33+
34+
- name: Run watchdog (Release test)
35+
run: |
36+
timeout --preserve-status 600s ./processWatchdog > release_watchdog_stdout.log 2> release_watchdog_stderr.log
37+
cat release_watchdog_stdout.log
38+
cat release_watchdog_stderr.log

0 commit comments

Comments
 (0)