Improve CI (#59)

This commit is contained in:
Rafał Mikrut 2021-08-09 21:00:30 +02:00 committed by GitHub
parent a02f53255e
commit e40215477b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 39 additions and 14 deletions

View File

@ -1,5 +1,9 @@
name: 🐧 Exported Build
on: [push, pull_request]
on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
jobs:
linux-sanitizer:

View File

@ -1,5 +1,9 @@
name: 🐧 Long 1h
on: [push, pull_request]
on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
jobs:
linux-sanitizer:
@ -60,12 +64,13 @@ jobs:
cd ../
rm -rf godot
- name: Use Godot
- name: Open Godot
run: |
echo "-------------------- OPEN EDITOR TO IMPORT PROJECT -----------------------"
DRI_PRIME=0 xvfb-run ./godot.x11.tools.64s --audio-driver Dummy -e -q --path $(pwd) 2>&1 | tee sanitizers_log.txt || true
misc/check_ci_log.py sanitizers_log.txt
echo "-------------------- RUN PROJECT -----------------------"
- name: Use Godot
run: |
DRI_PRIME=0 xvfb-run ./godot.x11.tools.64s 3600 --audio-driver Dummy --video-driver GLES3 --path $(pwd) 2>&1 | tee sanitizers_log.txt || true
misc/check_ci_log.py sanitizers_log.txt

View File

@ -1,5 +1,9 @@
name: 🐧 Required Build
on: [push, pull_request]
on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
jobs:
linux-sanitizer:

View File

@ -1,5 +1,9 @@
name: 🐧 Stress 2h
on: [push, pull_request]
on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
jobs:
linux-sanitizer:
@ -60,13 +64,15 @@ jobs:
cd ../
rm -rf godot
- name: Use Godot
- name: Open and close editor
run: |
sed -i "s|NUMBER_OF_INSTANCES : int = 1|NUMBER_OF_INSTANCES : int = 10|" Start.gd
echo "-------------------- OPEN EDITOR TO IMPORT PROJECT -----------------------"
DRI_PRIME=0 xvfb-run ./godot.x11.tools.64s --audio-driver Dummy -e -q --path $(pwd) 2>&1 | tee sanitizers_log.txt || true
misc/check_ci_log.py sanitizers_log.txt || true
echo "-------------------- RUN PROJECT -----------------------"
- name: Use Godot
run: |
sed -i "s|NUMBER_OF_INSTANCES : int = 1|NUMBER_OF_INSTANCES : int = 10|" Start.gd
DRI_PRIME=0 xvfb-run ./godot.x11.tools.64s 7200 --audio-driver Dummy --video-driver GLES3 --path $(pwd) 2>&1 | tee sanitizers_log.txt || true
misc/check_ci_log.py sanitizers_log.txt || true

View File

@ -1,5 +1,9 @@
name: 🐧 Thread Sanitizer 1h
on: [push, pull_request]
on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
jobs:
linux-sanitizer:
@ -58,12 +62,13 @@ jobs:
cd ../
rm -rf godot
- name: Open and close editor
run: |
DRI_PRIME=0 xvfb-run ./godot.x11.tools.64.llvms --audio-driver Dummy -e -q --path $(pwd) 2>&1 | tee sanitizers_log.txt || true
- name: Use Godot
run: |
sed -i "s|NUMBER_OF_INSTANCES : int = 1|NUMBER_OF_INSTANCES : int = 10|" Start.gd
echo "-------------------- OPEN EDITOR TO IMPORT PROJECT -----------------------"
DRI_PRIME=0 xvfb-run ./godot.x11.tools.64.llvms --audio-driver Dummy -e -q --path $(pwd) 2>&1 | tee sanitizers_log.txt || true
echo "-------------------- RUN PROJECT -----------------------"
DRI_PRIME=0 xvfb-run ./godot.x11.tools.64.llvms 3600 --audio-driver Dummy --video-driver GLES3 --path $(pwd) 2>&1 | tee sanitizers_log.txt || true
# # Export project and run it to check for possible leaks and invalid memory usage

1
.gitignore vendored
View File

@ -11,3 +11,4 @@ logs/
.godot/
.godot/imported/
.godot/editor
shader_cache/