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
parent
4c767953ea
commit
6cc58b872f
|
@ -101,15 +101,17 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: build
|
working-directory: build
|
||||||
run: make -j `nproc`
|
run: make -j `nproc`
|
||||||
- name: Install
|
- name: Run tests
|
||||||
|
# TODO: Maybe run Windows tests using wine as well?
|
||||||
working-directory: build
|
working-directory: build
|
||||||
run: make -j `nproc` install
|
run: ./colobot_ut --gtest_output=xml:gtestresults.xml
|
||||||
- name: Upload build
|
if: matrix.target_os == 'macos'
|
||||||
|
- name: Upload test results
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: ${{matrix.target_os}}-debug
|
name: Test results (${{ matrix.target_os }}, ${{ matrix.host_os }})
|
||||||
path: build/install
|
path: build/gtestresults.xml
|
||||||
if: matrix.host_os == 'macos-11'
|
if: matrix.target_os == 'macos'
|
||||||
build-windows:
|
build-windows:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
strategy:
|
strategy:
|
||||||
|
|
Loading…
Reference in New Issue