Skip to content

Commit

Permalink
Update test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dwai-wai committed Jan 6, 2025
1 parent f26a49d commit a145dcd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ jobs:
- run: |
pip install cogapp
- run: |
cmake --version
mkdir -p build
cd build
cmake ..
cmake -DBUILD_TESTING=OFF ..
make
env:
CC: gcc-11
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,20 @@ jobs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: egor-tensin/setup-clang@v1
- uses: ConorMacBride/install-package@v1
with:
apt: valgrind libreadline-dev
apt: gcc-11 g++-11 libreadline-dev libyaml-cpp-dev valgrind
version: latest
platform: x64
- run: |
pip install cogapp
- run: |
mkdir -p build
cd build
cmake -DBUILD_JSD_TESTS=ON -DCMAKE_BUILD_TYPE=Debug ..
make
make test
env CTEST_OUTPUT_ON_FAILURE=1 make -d memcheck
env CTEST_OUTPUT_ON_FAILURE=1 make -d memcheck
env:
CC: gcc-11
CXX: g++-11

0 comments on commit a145dcd

Please sign in to comment.