Disable Caching, several compiler flags
This commit is contained in:
+70
-74
@@ -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/
|
||||
# - 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/
|
||||
+70
-74
@@ -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/
|
||||
# - 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/
|
||||
@@ -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/
|
||||
# - 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/
|
||||
+6
-6
@@ -219,19 +219,19 @@
|
||||
|
||||
<haxedef name="HXCPP_M32" if="32bit"/>
|
||||
<haxedef name="HXCPP_DEBUG_LINK" if="debug"/>
|
||||
<!--<haxedef name="HXCPP_CPP20"/>-->
|
||||
<haxedef name="HXCPP_CPP20"/>
|
||||
<!--<haxedef name="HXCPP_CLANG"/>-->
|
||||
<haxedef name="HXCPP_MSVC"/>
|
||||
<!--<haxedef name="HXCPP_MSVC"/>-->
|
||||
<!-- This seems to causes more harm, but to be fair, its mostly because of text rendering -->
|
||||
<!-- This is really important to fix honestly, try to get cairo text rendering not memory leak in the future -->
|
||||
<haxedef name="HXCPP_GC_BIG_BLOCKS"/>
|
||||
<!--<haxedef name="HXCPP_GC_BIG_BLOCKS"/>-->
|
||||
<!--<haxedef name="HXCPP_GC_GENERATIONAL"/>-->
|
||||
<haxedef name="HXCPP_GC_DYNAMIC_SIZE"/>
|
||||
<!--<haxedef name="HXCPP_GC_DYNAMIC_SIZE"/>-->
|
||||
<haxedef name="HXCPP_CHECK_POINTER"/>
|
||||
<haxedef name="HXCPP_STACK_LINE"/>
|
||||
<haxedef name="HXCPP_STACK_TRACE"/>
|
||||
<haxedef name="HXCPP_CATCH_SEGV"/>
|
||||
<!--<haxedef name="HXCPP_FAST_LINK"/>-->
|
||||
<!--<haxedef name="HXCPP_CATCH_SEGV"/>-->
|
||||
<haxedef name="HXCPP_FAST_LINK"/>
|
||||
<!--<haxedef name="HXCPP_ALIGN_ALLOC"/>--> <!--hxcpp.h(71): warning C4005: 'HXCPP_ALIGN_ALLOC': macro redefinition-->
|
||||
|
||||
<haxedef name="analyzer-optimize" unless="debug"/>
|
||||
|
||||
Reference in New Issue
Block a user