From 0b89ed885d44d77c6e2e0a178264d2b78054bc6b Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Sat, 15 Jun 2024 17:26:11 +0200 Subject: [CI] Add patches to use build profile and speed up builds --- .github/workflows/build_release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 01589aa..ae39dcb 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -129,7 +129,7 @@ jobs: env: SCONS_CACHE: ${{ github.workspace }}/.scons-cache/ - SCONSFLAGS: ${{ matrix.sconsflags }} platform=${{ matrix.platform }} arch=${{ matrix.arch }} --jobs=2 + SCONSFLAGS: ${{ matrix.sconsflags }} platform=${{ matrix.platform }} arch=${{ matrix.arch }} build_profile=build_profile.json --jobs=2 defaults: run: @@ -196,6 +196,12 @@ jobs: patch -p1 < misc/patches/scons_path.diff patch -p1 < misc/patches/gdnantive_arm_warnings.diff + - name: Patch godot-cpp to support build profile. + run: | + patch -p1 < misc/patches/build_profile.diff + patch -p1 < misc/patches/build_profile_4.0.diff + patch -p1 < misc/patches/build_profile_3.x.diff + - name: Print tools versions run: | python --version -- cgit v1.2.3