Disable temporary exported build in CI

This commit is contained in:
Rafał Mikrut 2020-10-28 12:13:22 +01:00
parent efdc5f0f89
commit 79a6050bc1

View file

@ -189,8 +189,8 @@ jobs:
SCONS_CACHE: ${{github.workspace}}/.scons_cache/
run: |
scons tools=yes target=debug use_asan=yes use_ubsan=yes
scons tools=no target=release debug_symbols=full use_ubsan=yes use_asan=yes
ls -l bin/
# scons tools=no target=release debug_symbols=full use_ubsan=yes use_asan=yes
# Download and test project to check leaks and invalid memory usage
- name: Importing and running project project
@ -203,14 +203,14 @@ jobs:
DRI_PRIME=0 xvfb-run bin/godot.x11.tools.64s 20 --video-driver GLES3 --path test_project 2>&1 | tee sanitizers_log.txt || true
misc/scripts/check_ci_log.py sanitizers_log.txt
# Export project and run it to check for possible leaks and invalid memory usage
- name: Exporting and running project
run: |
mkdir exported_project
sed -i 's:PATH_TO_CHANGE:'`pwd`/bin/godot.x11.debug.64s':' test_project/export_presets.cfg
cd test_project
DRI_PRIME=0 xvfb-run ../bin/godot.x11.tools.64s --export-debug "Linux/X11" ../exported_project/test_project 2>&1 | tee sanitizers_log.txt || true
cd ..
misc/scripts/check_ci_log.py sanitizers_log.txt
DRI_PRIME=0 xvfb-run exported_project/test_project 20 2>&1 | tee sanitizers_log.txt || true
misc/scripts/check_ci_log.py sanitizers_log.txt
# # Export project and run it to check for possible leaks and invalid memory usage
# - name: Exporting and running project
# run: |
# mkdir exported_project
# sed -i 's:PATH_TO_CHANGE:'`pwd`/bin/godot.x11.debug.64s':' test_project/export_presets.cfg
# cd test_project
# DRI_PRIME=0 xvfb-run ../bin/godot.x11.tools.64s --export-debug "Linux/X11" ../exported_project/test_project 2>&1 | tee sanitizers_log.txt || true
# cd ..
# misc/scripts/check_ci_log.py sanitizers_log.txt
# DRI_PRIME=0 xvfb-run exported_project/test_project 20 2>&1 | tee sanitizers_log.txt || true
# misc/scripts/check_ci_log.py sanitizers_log.txt