Disable live logs #42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: C/C++ CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Clean build | |
run: make clean || true | |
- name: Build (Release) | |
run: make BUILD_TYPE=release | |
- name: Run watchdog | |
run: | | |
echo "Running processWatchdog..." | |
chmod +x monitor.sh | |
./monitor.sh 2 1 5 3 600 ./processWatchdog > release_watchdog_stdout.log 2> release_watchdog_stderr.log | |
echo "Standard Output:" | |
cat release_watchdog_stdout.log | |
echo "Standard Error:" | |
cat release_watchdog_stderr.log |