Skip to content

Commit

Permalink
Trying to debug windows ci 3
Browse files Browse the repository at this point in the history
Bench: 2134743
  • Loading branch information
SzilBalazs committed Aug 17, 2023
1 parent 0dd2aa5 commit bbc7373
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
suffix: "-linux"
packages: |
sudo apt-get update
sudo apt-get install clang-15 valgrind
sudo apt-get install valgrind
- os: windows-latest
suffix: "-win"
exe-suffix: ".exe"
Expand All @@ -30,8 +30,8 @@ jobs:

- name: Build WhiteCore
run: |
clang++ --version
make EXE=WhiteCore-${{matrix.arch}}${{matrix.suffix}} ARCH=${{matrix.arch}}
clang --version
make EXE=WhiteCore-${{matrix.arch}}${{matrix.suffix}} ARCH=${{matrix.arch}} CXX=clang build=debug
- name: Run tests
run: ./WhiteCore-${{matrix.arch}}${{matrix.suffix}} test
Expand All @@ -56,10 +56,10 @@ jobs:
echo "::error::The commit bench ${{steps.obtain_bench.outputs.COMMIT_BENCH}} is not equal to the actual bench ${{steps.obtain_bench.outputs.BENCH}}!"
exit 1
#- name: Run Valgrind
# if: runner.os == 'Linux'
# run: |
# valgrind --error-exitcode=1 --errors-for-leak-kinds=all --leak-check=full ./WhiteCore-${{matrix.arch}}${{matrix.suffix}} bench
- name: Run Valgrind
if: runner.os == 'Linux'
run: |
valgrind --error-exitcode=1 --errors-for-leak-kinds=all --leak-check=full ./WhiteCore-${{matrix.arch}}${{matrix.suffix}} bench
- name: Upload artifact
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit bbc7373

Please sign in to comment.