2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-09-07 17:27:26 +00:00

Add docker based gitlab ci config

This commit is contained in:
Jan
2021-03-04 07:45:29 -08:00
parent 6937e7441c
commit ba699d36df
7 changed files with 38 additions and 5 deletions

6
ci/scripts/build.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
# Go to repository root
cd "$(dirname "$0")/../.." || exit 2
docker run --rm -v "$(pwd):/mnt/oat" oat /bin/bash -c "/mnt/oat/generate.sh && /mnt/oat/build-linux.sh"

8
ci/scripts/test.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
# Go to repository root
cd "$(dirname "$0")/../../build/lib" || exit 2
./Release_x86/tests/ObjCommonTests
./Release_x86/tests/ZoneCodeGeneratorLibTests
./Release_x86/tests/ZoneCommonTests