
* 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
30 lines
625 B
YAML
30 lines
625 B
YAML
name: Linux-CI
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Configure and Build
|
|
run: |
|
|
(
|
|
mkdir build-debug && cd build-debug
|
|
cmake -DCMAKE_BUILD_TYPE=Debug ..
|
|
make -j4
|
|
)
|
|
|
|
(
|
|
mkdir build-release && cd build-release
|
|
cmake -DCMAKE_BUILD_TYPE=Debug ..
|
|
make -j4
|
|
)
|
|
|
|
- name: Test
|
|
run: |
|
|
cmake --build build-debug --target check
|
|
cmake --build build-release --target check
|