Browse Source

Fix test CI

master
Samuel Thibault 9 months ago
parent
commit
4f6d7efa26
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

- name: test - name: test
run: | run: |
${{ matrix.config_env }} ${{ matrix.runenv }} cmake --build build --target tests ${{ 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

- name: dependencies - name: dependencies
run: sudo apt-get update && sudo apt-get install ${{ env.deps }} reprotest ${{ matrix.archdeps }} run: sudo apt-get update && sudo apt-get install ${{ env.deps }} reprotest ${{ matrix.archdeps }}
- name: run - 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: distcheck:


- name: make - name: make
run: cmake --build build run: cmake --build build
- name: make check - 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 - name: make package_source
run: cmake --build build --target package_source run: cmake --build build --target package_source
- name: re-make - name: re-make
run: cd unpack/espeak-ng-* && cmake --build build run: cd unpack/espeak-ng-* && cmake --build build
- name: re-make check - 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

- name: make - name: make
run: cmake --build build --config ${{ matrix.config }} run: cmake --build build --config ${{ matrix.config }}
- name: make check - 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