[Game Engine] Graphic Engine COMPLETE #40
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test-events | |
on: | |
pull_request: | |
push: | |
jobs: | |
test-events-client-to-server: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: | | |
sudo apt-get update | |
mkdir build | |
cd build && cmake -DTESTS=ON .. && make | |
cd .. | |
git clone https://github.com/eldipa/tiburoncin.git | |
cd tiburoncin | |
make | |
sudo cp tiburoncin /usr/bin/ | |
cd .. | |
sudo apt-get install -y valgrind libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev cmake catch2 | |
./tests/events/client_to_server/run_tests.sh build/ tests/events/client_to_server/cases/ single-client no-valgrind 60 10 | |
./tests/events/client_to_server/compare_outputs.sh tests/events/client_to_server/cases/ tests/events/client_to_server/expected/ | |
rm -r build | |
test-events-server-to-client: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: | | |
sudo apt-get update | |
mkdir build | |
cd build && cmake -DTESTS=ON .. && make | |
cd .. | |
git clone https://github.com/eldipa/tiburoncin.git | |
cd tiburoncin | |
make | |
sudo cp tiburoncin /usr/bin/ | |
cd .. | |
sudo apt-get install -y valgrind libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev cmake catch2 | |
./tests/events/server_to_client/run_tests.sh build/ tests/events/server_to_client/cases/ single-client no-valgrind 60 10 | |
./tests/events/server_to_client/compare_outputs.sh tests/events/server_to_client/cases/ tests/events/server_to_client/expected/ | |
rm -r build |