Add a minimal template build to CI

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
This commit is contained in:
Aaron Franke 2021-11-12 09:30:34 -06:00
parent 57ae154e86
commit ae713f8980
No known key found for this signature in database
GPG Key ID: 40A1750B977E56BF
3 changed files with 12 additions and 0 deletions

View File

@ -51,6 +51,14 @@ jobs:
build-mono: false
artifact: true
- name: Minimal Template (target=release, tools=no, everything disabled)
cache-name: linux-template-minimal
target: release
tools: false
tests: false
sconsflags: modules_enabled_by_default=no disable_3d=yes disable_advanced_gui=yes deprecated=no minizip=no
artifact: true
steps:
- uses: actions/checkout@v2

View File

@ -3267,7 +3267,9 @@ TextServerFallback::TextServerFallback() {
};
TextServerFallback::~TextServerFallback() {
#ifdef MODULE_FREETYPE_ENABLED
if (library != nullptr) {
FT_Done_FreeType(library);
}
#endif
};

View File

@ -901,7 +901,9 @@ void AnimationTree::_process_graph(real_t p_delta) {
real_t weight = as.blend;
bool seeked = as.seeked;
int pingponged = as.pingponged;
#ifndef _3D_DISABLED
bool backward = signbit(delta);
#endif // _3D_DISABLED
for (int i = 0; i < a->get_track_count(); i++) {
NodePath path = a->track_get_path(i);