use common test step

This commit is contained in:
Martin Marmsoler 2022-05-29 11:58:55 +02:00
parent 6647f17618
commit b481841a06

View File

@ -285,18 +285,11 @@ jobs:
- name: Test
# TODO: Re-Enable this when https://github.com/actions/runner/issues/1206 gets resolved
if: matrix.env.ninja_platform != 'win' && matrix.env.ninja_platform != 'mac'
if: matrix.env.ninja_platform != 'mac'
uses: GabrielBB/xvfb-action@v1
with:
working-directory: build/release
run: ninja check
# TODO: remove if the above issue gets resolved
- name: Test Windows
if: matrix.env.ninja_platform == 'win'
run: |
cd build/release
ninja check --verbose
run: ninja check --verbose
publish:
# https://github.com/marvinpinto/actions/issues/177