mirror of
https://github.com/Relintai/regression-test-project.git
synced 2024-11-12 10:25:30 +01:00
Improve CI (#59)
This commit is contained in:
parent
a02f53255e
commit
e40215477b
6
.github/workflows/exported.yml
vendored
6
.github/workflows/exported.yml
vendored
@ -1,5 +1,9 @@
|
||||
name: 🐧 Exported Build
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
jobs:
|
||||
linux-sanitizer:
|
||||
|
13
.github/workflows/long.yml
vendored
13
.github/workflows/long.yml
vendored
@ -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
|
||||
|
||||
|
6
.github/workflows/required.yml
vendored
6
.github/workflows/required.yml
vendored
@ -1,5 +1,9 @@
|
||||
name: 🐧 Required Build
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
jobs:
|
||||
linux-sanitizer:
|
||||
|
14
.github/workflows/stress.yml
vendored
14
.github/workflows/stress.yml
vendored
@ -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
|
||||
|
||||
|
13
.github/workflows/thread_sanitizer.yml
vendored
13
.github/workflows/thread_sanitizer.yml
vendored
@ -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
1
.gitignore
vendored
@ -11,3 +11,4 @@ logs/
|
||||
.godot/
|
||||
.godot/imported/
|
||||
.godot/editor
|
||||
shader_cache/
|
||||
|
Loading…
Reference in New Issue
Block a user