From 54eea79dec8f9484bcd9efd3a1b9bd8e037e01b0 Mon Sep 17 00:00:00 2001
From: Ralty <78720179+Raltyro@users.noreply.github.com>
Date: Wed, 4 Mar 2026 05:00:38 +0700
Subject: [PATCH] Disable Caching, several compiler flags
---
.github/workflows/linux.yml | 144 ++++++++++++++++-----------------
.github/workflows/macos.yml | 144 ++++++++++++++++-----------------
.github/workflows/windows.yml | 145 +++++++++++++++++-----------------
project.xml | 12 +--
4 files changed, 217 insertions(+), 228 deletions(-)
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index 10bf0003..0e823c0f 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -16,15 +16,14 @@ jobs:
uses: krdlab/setup-haxe@v2
with:
haxe-version: 4.3.7
- - name: Restore existing build cache for faster compilation
- uses: actions/cache@v4.2.3
- with:
- # not caching the bin folder to prevent asset duplication and stuff like that
- key: cache-build-linux
- path: |
- .haxelib/
- export/release/linux/haxe/
- export/release/linux/obj/
+ # - name: Restore existing build cache for faster compilation
+ # uses: actions/cache@v4.2.3
+ # with:
+ # # not caching the bin folder to prevent asset duplication and stuff like that
+ # key: cache-build-linux
+ # path: |
+ # .haxelib/
+ # export/release/linux/obj/
- run: |
echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV
- name: Installing LibVLC
@@ -48,34 +47,33 @@ jobs:
with:
name: Codename Engine
path: export/release/linux/bin/
- - name: Clearing already existing cache
- uses: actions/github-script@v6
- with:
- script: |
- const caches = await github.rest.actions.getActionsCacheList({
- owner: context.repo.owner,
- repo: context.repo.repo,
- })
- for (const cache of caches.data.actions_caches) {
- if (cache.key == "cache-build-linux") {
- console.log('Clearing ' + cache.key + '...')
- await github.rest.actions.deleteActionsCacheById({
- owner: context.repo.owner,
- repo: context.repo.repo,
- cache_id: cache.id,
- })
- console.log("Cache cleared.")
- }
- }
- - name: Uploading new cache
- uses: actions/cache@v4.2.3
- with:
- # caching again since for some reason it doesnt work with the first post cache shit
- key: cache-build-linux
- path: |
- .haxelib/
- export/release/linux/haxe/
- export/release/linux/obj/
+ # - name: Clearing already existing cache
+ # uses: actions/github-script@v6
+ # with:
+ # script: |
+ # const caches = await github.rest.actions.getActionsCacheList({
+ # owner: context.repo.owner,
+ # repo: context.repo.repo,
+ # })
+ # for (const cache of caches.data.actions_caches) {
+ # if (cache.key == "cache-build-linux") {
+ # console.log('Clearing ' + cache.key + '...')
+ # await github.rest.actions.deleteActionsCacheById({
+ # owner: context.repo.owner,
+ # repo: context.repo.repo,
+ # cache_id: cache.id,
+ # })
+ # console.log("Cache cleared.")
+ # }
+ # }
+ # - name: Uploading new cache
+ # uses: actions/cache@v4.2.3
+ # with:
+ # # caching again since for some reason it doesnt work with the first post cache shit
+ # key: cache-build-linux
+ # path: |
+ # .haxelib/
+ # export/release/linux/obj/
# didnt compile debug in the same job or github would have said that job wasn't completed until debug was done too (debug uploads are not essential)
debug_build:
@@ -90,15 +88,14 @@ jobs:
uses: krdlab/setup-haxe@v2
with:
haxe-version: 4.3.7
- - name: Restore existing build cache for faster compilation
- uses: actions/cache@v4.2.3
- with:
- # not caching the bin folder to prevent asset duplication and stuff like that
- key: cache-build-linux-debug
- path: |
- .haxelib/
- export/debug/linux/haxe/
- export/debug/linux/obj/
+ # - name: Restore existing build cache for faster compilation
+ # uses: actions/cache@v4.2.3
+ # with:
+ # # not caching the bin folder to prevent asset duplication and stuff like that
+ # key: cache-build-linux-debug
+ # path: |
+ # .haxelib/
+ # export/debug/linux/obj/
- run: |
echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV
- name: Installing LibVLC
@@ -117,31 +114,30 @@ jobs:
with:
name: Codename Engine Debug
path: export/debug/linux/bin/
- - name: Clearing already existing cache
- uses: actions/github-script@v6
- with:
- script: |
- const caches = await github.rest.actions.getActionsCacheList({
- owner: context.repo.owner,
- repo: context.repo.repo,
- })
- for (const cache of caches.data.actions_caches) {
- if (cache.key == "cache-build-linux-debug") {
- console.log('Clearing ' + cache.key + '...')
- await github.rest.actions.deleteActionsCacheById({
- owner: context.repo.owner,
- repo: context.repo.repo,
- cache_id: cache.id,
- })
- console.log("Cache cleared.")
- }
- }
- - name: Uploading new cache
- uses: actions/cache@v4.2.3
- with:
- # caching again since for some reason it doesnt work with the first post cache shit
- key: cache-build-linux-debug
- path: |
- .haxelib/
- export/debug/linux/haxe/
- export/debug/linux/obj/
\ No newline at end of file
+ # - name: Clearing already existing cache
+ # uses: actions/github-script@v6
+ # with:
+ # script: |
+ # const caches = await github.rest.actions.getActionsCacheList({
+ # owner: context.repo.owner,
+ # repo: context.repo.repo,
+ # })
+ # for (const cache of caches.data.actions_caches) {
+ # if (cache.key == "cache-build-linux-debug") {
+ # console.log('Clearing ' + cache.key + '...')
+ # await github.rest.actions.deleteActionsCacheById({
+ # owner: context.repo.owner,
+ # repo: context.repo.repo,
+ # cache_id: cache.id,
+ # })
+ # console.log("Cache cleared.")
+ # }
+ # }
+ # - name: Uploading new cache
+ # uses: actions/cache@v4.2.3
+ # with:
+ # # caching again since for some reason it doesnt work with the first post cache shit
+ # key: cache-build-linux-debug
+ # path: |
+ # .haxelib/
+ # export/debug/linux/obj/
\ No newline at end of file
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index b3da494a..5e8bbdd2 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -16,15 +16,14 @@ jobs:
uses: krdlab/setup-haxe@v2
with:
haxe-version: 4.3.7
- - name: Restore existing build cache for faster compilation
- uses: actions/cache@v4.2.3
- with:
- # not caching the bin folder to prevent asset duplication and stuff like that
- key: cache-build-mac
- path: |
- .haxelib/
- export/release/macos/haxe/
- export/release/macos/obj/
+ # - name: Restore existing build cache for faster compilation
+ # uses: actions/cache@v4.2.3
+ # with:
+ # # not caching the bin folder to prevent asset duplication and stuff like that
+ # key: cache-build-mac
+ # path: |
+ # .haxelib/
+ # export/release/macos/obj/
- run: |
echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV
- name: Installing/Updating libraries
@@ -45,34 +44,33 @@ jobs:
with:
name: Codename Engine
path: CodenameEngine.tar.gz
- - name: Clearing already existing cache
- uses: actions/github-script@v6
- with:
- script: |
- const caches = await github.rest.actions.getActionsCacheList({
- owner: context.repo.owner,
- repo: context.repo.repo,
- })
- for (const cache of caches.data.actions_caches) {
- if (cache.key == "cache-build-mac") {
- console.log('Clearing ' + cache.key + '...')
- await github.rest.actions.deleteActionsCacheById({
- owner: context.repo.owner,
- repo: context.repo.repo,
- cache_id: cache.id,
- })
- console.log("Cache cleared.")
- }
- }
- - name: Uploading new cache
- uses: actions/cache@v4.2.3
- with:
- # caching again since for some reason it doesnt work with the first post cache shit
- key: cache-build-mac
- path: |
- .haxelib/
- export/release/macos/haxe/
- export/release/macos/obj/
+ # - name: Clearing already existing cache
+ # uses: actions/github-script@v6
+ # with:
+ # script: |
+ # const caches = await github.rest.actions.getActionsCacheList({
+ # owner: context.repo.owner,
+ # repo: context.repo.repo,
+ # })
+ # for (const cache of caches.data.actions_caches) {
+ # if (cache.key == "cache-build-mac") {
+ # console.log('Clearing ' + cache.key + '...')
+ # await github.rest.actions.deleteActionsCacheById({
+ # owner: context.repo.owner,
+ # repo: context.repo.repo,
+ # cache_id: cache.id,
+ # })
+ # console.log("Cache cleared.")
+ # }
+ # }
+ # - name: Uploading new cache
+ # uses: actions/cache@v4.2.3
+ # with:
+ # # caching again since for some reason it doesnt work with the first post cache shit
+ # key: cache-build-mac
+ # path: |
+ # .haxelib/
+ # export/release/macos/obj/
# didnt compile debug in the same job or github would have said that job wasn't completed until debug was done too (debug uploads are not essential)
debug_build:
@@ -87,15 +85,14 @@ jobs:
uses: krdlab/setup-haxe@v2
with:
haxe-version: 4.3.7
- - name: Restore existing build cache for faster compilation
- uses: actions/cache@v4.2.3
- with:
- # not caching the bin folder to prevent asset duplication and stuff like that
- key: cache-build-mac-debug
- path: |
- .haxelib/
- export/debug/macos/haxe/
- export/debug/macos/obj/
+ # - name: Restore existing build cache for faster compilation
+ # uses: actions/cache@v4.2.3
+ # with:
+ # # not caching the bin folder to prevent asset duplication and stuff like that
+ # key: cache-build-mac-debug
+ # path: |
+ # .haxelib/
+ # export/debug/macos/obj/
- run: |
echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV
- name: Installing/Updating libraries
@@ -111,31 +108,30 @@ jobs:
with:
name: Codename Engine Debug
path: CodenameEngine.tar.gz
- - name: Clearing already existing cache
- uses: actions/github-script@v6
- with:
- script: |
- const caches = await github.rest.actions.getActionsCacheList({
- owner: context.repo.owner,
- repo: context.repo.repo,
- })
- for (const cache of caches.data.actions_caches) {
- if (cache.key == "cache-build-mac-debug") {
- console.log('Clearing ' + cache.key + '...')
- await github.rest.actions.deleteActionsCacheById({
- owner: context.repo.owner,
- repo: context.repo.repo,
- cache_id: cache.id,
- })
- console.log("Cache cleared.")
- }
- }
- - name: Uploading new cache
- uses: actions/cache@v4.2.3
- with:
- # caching again since for some reason it doesnt work with the first post cache shit
- key: cache-build-mac-debug
- path: |
- .haxelib/
- export/debug/macos/haxe/
- export/debug/macos/obj/
\ No newline at end of file
+ # - name: Clearing already existing cache
+ # uses: actions/github-script@v6
+ # with:
+ # script: |
+ # const caches = await github.rest.actions.getActionsCacheList({
+ # owner: context.repo.owner,
+ # repo: context.repo.repo,
+ # })
+ # for (const cache of caches.data.actions_caches) {
+ # if (cache.key == "cache-build-mac-debug") {
+ # console.log('Clearing ' + cache.key + '...')
+ # await github.rest.actions.deleteActionsCacheById({
+ # owner: context.repo.owner,
+ # repo: context.repo.repo,
+ # cache_id: cache.id,
+ # })
+ # console.log("Cache cleared.")
+ # }
+ # }
+ # - name: Uploading new cache
+ # uses: actions/cache@v4.2.3
+ # with:
+ # # caching again since for some reason it doesnt work with the first post cache shit
+ # key: cache-build-mac-debug
+ # path: |
+ # .haxelib/
+ # export/debug/macos/obj/
\ No newline at end of file
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 0aa9abbd..1d6ced88 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -16,15 +16,14 @@ jobs:
uses: krdlab/setup-haxe@v2
with:
haxe-version: 4.3.7
- - name: Restore existing build cache for faster compilation
- uses: actions/cache@v4.2.3
- with:
- # not caching the bin folder to prevent asset duplication and stuff like that
- key: cache-build-windows
- path: |
- .haxelib/
- export/release/windows/haxe/
- export/release/windows/obj/
+ # - name: Restore existing build cache for faster compilation
+ # uses: actions/cache@v4.2.3
+ # with:
+ # # not caching the bin folder to prevent asset duplication and stuff like that
+ # key: cache-build-windows
+ # path: |
+ # .haxelib/
+ # export/release/windows/obj/
- run: |
echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV
- name: Installing/Updating libraries
@@ -45,34 +44,33 @@ jobs:
with:
name: Codename Engine
path: export/release/windows/bin
- - name: Clearing already existing cache
- uses: actions/github-script@v6
- with:
- script: |
- const caches = await github.rest.actions.getActionsCacheList({
- owner: context.repo.owner,
- repo: context.repo.repo,
- })
- for (const cache of caches.data.actions_caches) {
- if (cache.key == "cache-build-windows") {
- console.log('Clearing ' + cache.key + '...')
- await github.rest.actions.deleteActionsCacheById({
- owner: context.repo.owner,
- repo: context.repo.repo,
- cache_id: cache.id,
- })
- console.log("Cache cleared.")
- }
- }
- - name: Uploading new cache
- uses: actions/cache@v4.2.3
- with:
- # caching again since for some reason it doesnt work with the first post cache shit
- key: cache-build-windows
- path: |
- .haxelib/
- export/release/windows/haxe/
- export/release/windows/obj/
+ # - name: Clearing already existing cache
+ # uses: actions/github-script@v6
+ # with:
+ # script: |
+ # const caches = await github.rest.actions.getActionsCacheList({
+ # owner: context.repo.owner,
+ # repo: context.repo.repo,
+ # })
+ # for (const cache of caches.data.actions_caches) {
+ # if (cache.key == "cache-build-windows") {
+ # console.log('Clearing ' + cache.key + '...')
+ # await github.rest.actions.deleteActionsCacheById({
+ # owner: context.repo.owner,
+ # repo: context.repo.repo,
+ # cache_id: cache.id,
+ # })
+ # console.log("Cache cleared.")
+ # }
+ # }
+ # - name: Uploading new cache
+ # uses: actions/cache@v4.2.3
+ # with:
+ # # caching again since for some reason it doesnt work with the first post cache shit
+ # key: cache-build-windows
+ # path: |
+ # .haxelib/
+ # export/release/windows/obj/
# didnt compile debug in the same job or github would have said that job wasn't completed until debug was done too (debug uploads are not essential)
debug_build:
@@ -87,15 +85,15 @@ jobs:
uses: krdlab/setup-haxe@v2
with:
haxe-version: 4.3.7
- - name: Restore existing build cache for faster compilation
- uses: actions/cache@v4.2.3
- with:
- # not caching the bin folder to prevent asset duplication and stuff like that
- key: cache-build-windows-debug
- path: |
- .haxelib/
- export/debug/windows/haxe/
- export/debug/windows/obj/
+ # - name: Restore existing build cache for faster compilation
+ # uses: actions/cache@v4.2.3
+ # with:
+ # # not caching the bin folder to prevent asset duplication and stuff like that
+ # key: cache-build-windows-debug
+ # path: |
+ # .haxelib/
+ # export/debug/windows/haxe/
+ # export/debug/windows/obj/
- run: |
echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV
- name: Installing/Updating libraries
@@ -109,31 +107,30 @@ jobs:
with:
name: Codename Engine Debug
path: export/debug/windows/bin
- - name: Clearing already existing cache
- uses: actions/github-script@v6
- with:
- script: |
- const caches = await github.rest.actions.getActionsCacheList({
- owner: context.repo.owner,
- repo: context.repo.repo,
- })
- for (const cache of caches.data.actions_caches) {
- if (cache.key == "cache-build-windows-debug") {
- console.log('Clearing ' + cache.key + '...')
- await github.rest.actions.deleteActionsCacheById({
- owner: context.repo.owner,
- repo: context.repo.repo,
- cache_id: cache.id,
- })
- console.log("Cache cleared.")
- }
- }
- - name: Uploading new cache
- uses: actions/cache@v4.2.3
- with:
- # caching again since for some reason it doesnt work with the first post cache shit
- key: cache-build-windows-debug
- path: |
- .haxelib/
- export/debug/windows/haxe/
- export/debug/windows/obj/
\ No newline at end of file
+ # - name: Clearing already existing cache
+ # uses: actions/github-script@v6
+ # with:
+ # script: |
+ # const caches = await github.rest.actions.getActionsCacheList({
+ # owner: context.repo.owner,
+ # repo: context.repo.repo,
+ # })
+ # for (const cache of caches.data.actions_caches) {
+ # if (cache.key == "cache-build-windows-debug") {
+ # console.log('Clearing ' + cache.key + '...')
+ # await github.rest.actions.deleteActionsCacheById({
+ # owner: context.repo.owner,
+ # repo: context.repo.repo,
+ # cache_id: cache.id,
+ # })
+ # console.log("Cache cleared.")
+ # }
+ # }
+ # - name: Uploading new cache
+ # uses: actions/cache@v4.2.3
+ # with:
+ # # caching again since for some reason it doesnt work with the first post cache shit
+ # key: cache-build-windows-debug
+ # path: |
+ # .haxelib/
+ # export/debug/windows/obj/
\ No newline at end of file
diff --git a/project.xml b/project.xml
index c14bf085..e26587b5 100644
--- a/project.xml
+++ b/project.xml
@@ -219,19 +219,19 @@
-
+
-
+
-
+
-
+
-
-
+
+