Browse Source

Fix test CI (#1971)

master
Samuel Thibault 9 months ago
parent
commit
328128ea63
No account linked to committer's email address
3 changed files with 5 additions and 5 deletions
  1. 1
    1
      .github/workflows/ci.yml
  2. 3
    3
      .github/workflows/dist.yml
  3. 1
    1
      .github/workflows/windows.yml

+ 1
- 1
.github/workflows/ci.yml View File

@@ -235,4 +235,4 @@ jobs:
- name: test
run: |
${{ matrix.config_env }} ${{ matrix.runenv }} cmake --build build --target tests
${{ matrix.config_env }} ${{ matrix.runenv }} ctest --test-dir build -Ttest -j8 --output-on-failure
${{ matrix.config_env }} ${{ matrix.runenv }} ctest --test-dir build -T test -j8 --output-on-failure

+ 3
- 3
.github/workflows/dist.yml View File

@@ -38,7 +38,7 @@ jobs:
- name: dependencies
run: sudo apt-get update && sudo apt-get install ${{ env.deps }} reprotest ${{ matrix.archdeps }}
- name: run
run: reprotest 'CFLAGS="${{ matrix.archconfigflags }}" CXXFLAGS="${{ matrix.archconfigflags }}" rm -rf build && cmake -Bbuild -DUSE_ASYNC:BOOL=OFF && cmake --build build && ctest --test-dir build -Ttest -j1 --output-on-failure && touch success' success
run: reprotest 'CFLAGS="${{ matrix.archconfigflags }}" CXXFLAGS="${{ matrix.archconfigflags }}" rm -rf build && cmake -Bbuild -DUSE_ASYNC:BOOL=OFF && cmake --build build && ctest --test-dir build -T test -j1 --output-on-failure && touch success' success

distcheck:

@@ -53,7 +53,7 @@ jobs:
- name: make
run: cmake --build build
- name: make check
run: ctest --test-dir build -Ttest -j8 --output-on-failure
run: ctest --test-dir build -T test -j8 --output-on-failure

- name: make package_source
run: cmake --build build --target package_source
@@ -65,4 +65,4 @@ jobs:
- name: re-make
run: cd unpack/espeak-ng-* && cmake --build build
- name: re-make check
run: cd unpack/espeak-ng-* && ctest --test-dir build -Ttest -j8 --output-on-failure
run: cd unpack/espeak-ng-* && ctest --test-dir build -T test -j8 --output-on-failure

+ 1
- 1
.github/workflows/windows.yml View File

@@ -30,4 +30,4 @@ jobs:
- name: make
run: cmake --build build --config ${{ matrix.config }}
- name: make check
run: ctest --test-dir build -Ttest -C ${{ matrix.config }} -j8 --output-on-failure
run: ctest --test-dir build -T test -C ${{ matrix.config }} -j8 --output-on-failure

Loading…
Cancel
Save