Let's try to get tests instead

Making .dmg package needs `data` directory, while `make install` does weird stuff with path, for now I'll skip that.
fix-squashed-planets
tomangelo 2022-09-14 23:25:16 +02:00 committed by GitHub
parent 4c767953ea
commit 6cc58b872f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 6 deletions

View File

@ -101,15 +101,17 @@ jobs:
- name: Build
working-directory: build
run: make -j `nproc`
- name: Install
- name: Run tests
# TODO: Maybe run Windows tests using wine as well?
working-directory: build
run: make -j `nproc` install
- name: Upload build
run: ./colobot_ut --gtest_output=xml:gtestresults.xml
if: matrix.target_os == 'macos'
- name: Upload test results
uses: actions/upload-artifact@v2
with:
name: ${{matrix.target_os}}-debug
path: build/install
if: matrix.host_os == 'macos-11'
name: Test results (${{ matrix.target_os }}, ${{ matrix.host_os }})
path: build/gtestresults.xml
if: matrix.target_os == 'macos'
build-windows:
runs-on: windows-2019
strategy: