Skip to content

Commit

Permalink
fixing ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Foo committed Feb 4, 2024
1 parent e021eaf commit f0bf12c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/runTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@ jobs:
if: matrix.build_system == '-G Ninja'
uses: seanmiddleditch/gha-setup-ninja@master
- name: CMake configure
run: cmake -B./build -DCMAKE_INSTALL_PREFIX:STRING=./artifacts/ -D BUILD_MT_RRT_SAMPLES=OFF -DBUILD_MT_RRT_TESTS=ON -DENABLE_MT_RRT_TESTS_LOGGING=ON -DCMAKE_CONFIGURATION_TYPES="Release" -DCMAKE_BUILD_TYPE:STRING=Release ${{ matrix.compiler_opt }}
run: cmake -B./build -DCMAKE_INSTALL_PREFIX:STRING=./artifacts/ -D BUILD_MT_RRT_SAMPLES=OFF -DBUILD_MT_RRT_TESTS=ON -DCMAKE_CONFIGURATION_TYPES="Release" -DCMAKE_BUILD_TYPE:STRING=Release ${{ matrix.build_system }} ${{ matrix.compiler_opt }}
- name: Build
run: cmake --build ./build --config Release
- name: Install
run: cmake --install ./build --config Release
- name: Tests-show
run: python script/RunTests.py --folder ./artifacts/bin --list
- name: Tests
run: python script/RunTests.py --folder ./artifacts/bin
- uses: actions/upload-artifact@v2
Expand Down
3 changes: 0 additions & 3 deletions script/RunTests.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ def __str__(self):
def run(self):
failed = []
for name in self.forEachProcess():
print('>>>===========================================================<<<')
print('running {}'.format(name))
print('>>>===========================================================<<<')
completed = subprocess.run(['./{}'.format(name)], cwd=self.folder, text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if not completed.returncode == 0:
failed.append(name)
Expand Down

0 comments on commit f0bf12c

Please sign in to comment.