diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 158d37f9..e6437ab4 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -48,15 +48,10 @@ jobs: - name: Configure for coverage mode if: runner.os == 'Linux' - run: xmake config -y -v -k ${{ env.TARGET_KIND }} -m coverage --ci-env=y + run: xmake config -y -v -k ${{ env.TARGET_KIND }} -m coverage --ci-env=y --memcheck=y - name: Build - run: | - xmake - xmake build yutil-tests - - - name: Run yutil tests - run: xmake run yutil-tests + run: xmake - name: Run all tests if: runner.os == 'Windows' @@ -64,9 +59,7 @@ jobs: - name: Run all tests with memcheck if: runner.os == 'Linux' - run: | - xmake f -m debug --memcheck=y - xvfb-run -a xmake test + run: xvfb-run -a xmake test - name: Upload reports to Codecov if: runner.os == 'Linux'