Test runner refactor (#508)
* Port test runner script to Python. This allows us to keep the test output in sorted order while still running the tests in parallel. It also now defaults to using the number of available CPU threads for parallel execution, rather than the previously hard-coded default. * Also port decompyle_test.sh script to python within run_tests.py * Fix cmake check target for multi-config generators. Adds testing of release builds on both MSVC and GCC. * Fix diff comparisons on Windows * Ubuntu runners don't have ninja by default
This commit is contained in:
10
.github/workflows/msvc-ci.yml
vendored
10
.github/workflows/msvc-ci.yml
vendored
@@ -17,16 +17,10 @@ jobs:
|
||||
cmake --build . --config Debug
|
||||
cmake --build . --config Release
|
||||
|
||||
# This should probably be fixed to work from MSVC without needing to
|
||||
# use a bash shell and the GNU userland tools... But for now, the
|
||||
# GH Actions environment provides what we need.
|
||||
- name: Test
|
||||
run: |
|
||||
cd build\Debug
|
||||
bash.exe ..\..\tests\all_tests.sh
|
||||
env:
|
||||
PYTHON_EXE: python.exe
|
||||
JOBS: 4
|
||||
cmake --build build --config Debug --target check
|
||||
cmake --build build --config Release --target check
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
|
Reference in New Issue
Block a user