Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Pulling the new commit
uses: actions/checkout@v6
uses: actions/checkout@v7.0.1
with:
fetch-depth: 0
- name: Setting up Haxe
uses: krdlab/setup-haxe@v2
uses: krdlab/setup-haxe@v2.1.0
with:
haxe-version: ${{ env.HAXE_VERSION }}
# - name: Restore existing build cache for faster compilation
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6.1.0
# with:
# # not caching the bin folder to prevent asset duplication and stuff like that
# key: cache-build-linux
Expand Down Expand Up @@ -55,17 +55,17 @@ jobs:
# - name: Tar files
# run: tar -zcvf CodenameEngine.tar.gz -C export/release/linux/bin .
- name: Uploading artifact (executable)
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@v7.0.1
with:
name: Codename Engine (Executable Only)
path: export/release/linux/bin/CodenameEngine
- name: Uploading artifact (entire build)
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@v7.0.1
with:
name: Codename Engine
path: export/release/linux/bin/
# - name: Clearing already existing cache
# uses: actions/github-script@v6
# uses: actions/github-script@v9
# with:
# script: |
# const caches = await github.rest.actions.getActionsCacheList({
Expand All @@ -84,7 +84,7 @@ jobs:
# }
# }
# - name: Uploading new cache
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6.1.0
# with:
# # caching again since for some reason it doesnt work with the first post cache shit
# key: cache-build-linux
Expand All @@ -100,13 +100,13 @@ jobs:
needs: build # since its low priority, it'll run after, so actions will concentrate first on normal builds
steps:
- name: Pulling the new commit
uses: actions/checkout@v6
uses: actions/checkout@v7.0.1
- name: Setting up Haxe
uses: krdlab/setup-haxe@v2
uses: krdlab/setup-haxe@v2.1.0
with:
haxe-version: ${{ env.HAXE_VERSION }}
# - name: Restore existing build cache for faster compilation
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6.1.0
# with:
# # not caching the bin folder to prevent asset duplication and stuff like that
# key: cache-build-linux-debug
Expand Down Expand Up @@ -138,12 +138,12 @@ jobs:
# - name: Tar files
# run: tar -zcvf CodenameEngine.tar.gz -C export/debug/linux/bin .
- name: Uploading artifact (entire build)
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@v7.0.1
with:
name: Codename Engine Debug
path: export/debug/linux/bin/
# - name: Clearing already existing cache
# uses: actions/github-script@v6
# uses: actions/github-script@v9
# with:
# script: |
# const caches = await github.rest.actions.getActionsCacheList({
Expand All @@ -162,7 +162,7 @@ jobs:
# }
# }
# - name: Uploading new cache
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6.1.0
# with:
# # caching again since for some reason it doesnt work with the first post cache shit
# key: cache-build-linux-debug
Expand Down
64 changes: 32 additions & 32 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
runs-on: macos-26
steps:
- name: Pulling the new commit
uses: actions/checkout@v6
uses: actions/checkout@v7.0.1
with:
fetch-depth: 0
- name: Setting up Haxe
uses: krdlab/setup-haxe@v2
uses: krdlab/setup-haxe@v2.1.0
with:
haxe-version: ${{ env.HAXE_VERSION }}
# - name: Restore existing build cache for faster compilation
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6.1.0
# with:
# # not caching the bin folder to prevent asset duplication and stuff like that
# key: cache-build-mac
Expand All @@ -41,17 +41,17 @@ jobs:
haxelib run lime setup -alias -y -nocffi
haxelib run lime rebuild hxcpp
haxelib run lime rebuild tools
haxelib run lime rebuild mac -64 -nocolor -release
arch -x86_64 haxelib run lime rebuild mac -nocolor -release
arch -x86_64 haxelib run lime build mac -DCOMPILE_EXPERIMENTAL
- name: Tar files
run: tar -zcvf CodenameEngine.tar.gz -C export/release/macos/bin .
- name: Uploading artifact (entire build)
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@v7.0.1
with:
name: Codename Engine-x64
path: CodenameEngine.tar.gz
# - name: Clearing already existing cache
# uses: actions/github-script@v6
# uses: actions/github-script@v9
# with:
# script: |
# const caches = await github.rest.actions.getActionsCacheList({
Expand All @@ -70,7 +70,7 @@ jobs:
# }
# }
# - name: Uploading new cache
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6.1.0
# with:
# # caching again since for some reason it doesnt work with the first post cache shit
# key: cache-build-mac
Expand All @@ -84,15 +84,15 @@ jobs:
runs-on: macos-26
steps:
- name: Pulling the new commit
uses: actions/checkout@v6
uses: actions/checkout@v7.0.1
with:
fetch-depth: 0
- name: Setting up Haxe
uses: krdlab/setup-haxe@v2
uses: krdlab/setup-haxe@v2.1.0
with:
haxe-version: ${{ env.HAXE_VERSION }}
# - name: Restore existing build cache for faster compilation
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6.1.0
# with:
# # not caching the bin folder to prevent asset duplication and stuff like that
# key: cache-build-mac
Expand All @@ -114,12 +114,12 @@ jobs:
- name: Tar files
run: tar -zcvf CodenameEngine.tar.gz -C export/release/macos/bin .
- name: Uploading artifact (entire build)
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@v7.0.1
with:
name: Codename Engine-ARM64
path: CodenameEngine.tar.gz
# - name: Clearing already existing cache
# uses: actions/github-script@v6
# uses: actions/github-script@v9
# with:
# script: |
# const caches = await github.rest.actions.getActionsCacheList({
Expand All @@ -138,7 +138,7 @@ jobs:
# }
# }
# - name: Uploading new cache
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6.1.0
# with:
# # caching again since for some reason it doesnt work with the first post cache shit
# key: cache-build-mac
Expand All @@ -155,12 +155,12 @@ jobs:
- arm_build
steps:
- name: Download Mac OS x64 Full Build
uses: actions/download-artifact@v8
uses: actions/download-artifact@v8.0.1
with:
name: Codename Engine-x64
path: intel
- name: Download Mac OS ARM64 Full Build
uses: actions/download-artifact@v8
uses: actions/download-artifact@v8.0.1
with:
name: Codename Engine-ARM64
path: arm
Expand All @@ -187,7 +187,7 @@ jobs:
name: Codename Engine (Executable Only)
path: CodenameEngine.app/Contents/MacOS/CodenameEngine
- name: Uploading Universal Mac OS bundle
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@v7.0.1
with:
name: Codename Engine
path: CodenameEngine.app
Expand All @@ -200,13 +200,13 @@ jobs:
needs: universal_build # since its low priority, it'll run after, so actions will concentrate first on normal builds
steps:
- name: Pulling the new commit
uses: actions/checkout@v6
uses: actions/checkout@v7.0.1
- name: Setting up Haxe
uses: krdlab/setup-haxe@v2
uses: krdlab/setup-haxe@v2.1.0
with:
haxe-version: ${{ env.HAXE_VERSION }}
# - name: Restore existing build cache for faster compilation
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6.1.0
# with:
# # not caching the bin folder to prevent asset duplication and stuff like that
# key: cache-build-mac-debug
Expand All @@ -224,17 +224,17 @@ jobs:
haxelib run lime setup -alias -y -nocffi
haxelib run lime rebuild hxcpp
haxelib run lime rebuild tools
haxelib run lime rebuild mac -64 -nocolor -release
arch -x86_64 haxelib run lime rebuild mac -nocolor -release
arch -x86_64 haxelib run lime build mac -debug -DCOMPILE_EXPERIMENTAL
- name: Tar files
run: tar -zcvf CodenameEngine.tar.gz -C export/debug/macos/bin .
- name: Uploading artifact (entire build)
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@v7.0.1
with:
name: Codename Engine-x64 Debug
path: CodenameEngine.tar.gz
# - name: Clearing already existing cache
# uses: actions/github-script@v6
# uses: actions/github-script@v9
# with:
# script: |
# const caches = await github.rest.actions.getActionsCacheList({
Expand All @@ -253,7 +253,7 @@ jobs:
# }
# }
# - name: Uploading new cache
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6.1.0
# with:
# # caching again since for some reason it doesnt work with the first post cache shit
# key: cache-build-mac-debug
Expand All @@ -268,13 +268,13 @@ jobs:
needs: universal_build # since its low priority, it'll run after, so actions will concentrate first on normal builds
steps:
- name: Pulling the new commit
uses: actions/checkout@v6
uses: actions/checkout@v7.0.1
- name: Setting up Haxe
uses: krdlab/setup-haxe@v2
uses: krdlab/setup-haxe@v2.1.0
with:
haxe-version: ${{ env.HAXE_VERSION }}
# - name: Restore existing build cache for faster compilation
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6.1.0
# with:
# # not caching the bin folder to prevent asset duplication and stuff like that
# key: cache-build-mac-debug
Expand All @@ -296,12 +296,12 @@ jobs:
- name: Tar files
run: tar -zcvf CodenameEngine.tar.gz -C export/debug/macos/bin .
- name: Uploading artifact (entire build)
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@v7.0.1
with:
name: Codename Engine-ARM64 Debug
path: CodenameEngine.tar.gz
# - name: Clearing already existing cache
# uses: actions/github-script@v6
# uses: actions/github-script@v9
# with:
# script: |
# const caches = await github.rest.actions.getActionsCacheList({
Expand All @@ -320,7 +320,7 @@ jobs:
# }
# }
# - name: Uploading new cache
# uses: actions/cache@v4.2.3
# uses: actions/cache@v6.1.0
# with:
# # caching again since for some reason it doesnt work with the first post cache shit
# key: cache-build-mac-debug
Expand All @@ -337,12 +337,12 @@ jobs:
- arm_debug_build
steps:
- name: Download Mac OS x64 Full Build
uses: actions/download-artifact@v8
uses: actions/download-artifact@v8.0.1
with:
name: Codename Engine-x64 Debug
path: intel
- name: Download Mac OS ARM64 Full Build
uses: actions/download-artifact@v8
uses: actions/download-artifact@v8.0.1
with:
name: Codename Engine-ARM64 Debug
path: arm
Expand All @@ -364,7 +364,7 @@ jobs:
lipo -create "$INTEL/CodenameEngine" "$ARM/CodenameEngine" -output "$BIN/CodenameEngine"
lipo -create "$INTEL/lime.ndll" "$ARM/lime.ndll" -output "$BIN/lime.ndll"
- name: Uploading Universal Mac OS bundle
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@v7.0.1
with:
name: Codename Engine Debug
path: CodenameEngine.app
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,52 +21,52 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7.0.1
with:
fetch-depth: 0

- name: Download Windows Full Build
uses: dawidd6/action-download-artifact@v8
uses: dawidd6/action-download-artifact@v24
with:
workflow: windows.yml
name: Codename Engine
path: artifacts/windows/full_build
allow_forks: false

- name: Download Windows Executable
uses: dawidd6/action-download-artifact@v8
uses: dawidd6/action-download-artifact@v24
with:
workflow: windows.yml
name: Codename Engine (Executable Only)
path: artifacts/windows/executable
allow_forks: false

- name: Download Mac OS Full Build
uses: dawidd6/action-download-artifact@v8
uses: dawidd6/action-download-artifact@v24
with:
workflow: macos.yml
name: Codename Engine
path: artifacts/macos/full_build
allow_forks: false

- name: Download Mac OS Executable
uses: dawidd6/action-download-artifact@v8
uses: dawidd6/action-download-artifact@v24
with:
workflow: macos.yml
name: Codename Engine (Executable Only)
path: artifacts/macos/executable
allow_forks: false

- name: Download Linux Full Build
uses: dawidd6/action-download-artifact@v8
uses: dawidd6/action-download-artifact@v24
with:
workflow: linux.yml
name: Codename Engine
path: artifacts/linux/full_build
allow_forks: false

- name: Download Linux Executable
uses: dawidd6/action-download-artifact@v8
uses: dawidd6/action-download-artifact@v24
with:
workflow: linux.yml
name: Codename Engine (Executable Only)
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
echo -e "Final pre-changelog message:\n\n$BODY"

- name: Create GitHub Release with Assets
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v3.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
Loading