mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 09:32:29 +01:00
- Move many of the post build operations in openrc2.proj to bash scripts, some of which can be shared with the macOS and Linux CIs. - Improve performance of NSIS stage by grabbing a pre-packaged portable zip from GitHub. This typically saves the CI a minute and is more reliable.
18 lines
450 B
Bash
Executable File
18 lines
450 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# Ensure we are in root directory
|
|
basedir="$(readlink -f `dirname $0`/..)"
|
|
cd $basedir/bin
|
|
|
|
# Ensure test data uses LF
|
|
dos2unix testdata/keys/*
|
|
|
|
# Scan objects first so that does not happen within a test
|
|
echo -e "\033[0;36mBuilding OpenRCT2 repository indexes...\033[0m"
|
|
./openrct2 scan-objects
|
|
|
|
# Now run all the tests
|
|
echo -e "\033[0;36mRunning OpenRCT2 tests...\033[0m"
|
|
./tests --gtest_output=xml:../artifacts/test-results.xml
|