forked from FunkinCrew/Funkin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: NotHyper <40342021+NotHyper-474@users.noreply.github.com> Co-authored-by: Hyper_ <survivaltemer@gmail.com>
- Loading branch information
1 parent
3a031d8
commit 4b90f82
Showing
6 changed files
with
130 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: x64 Linux Build | ||
on: workflow_dispatch | ||
jobs: | ||
build: | ||
name: Linux Build | ||
runs-on: ubuntu-20.04 # Distro with at least an suitable GLibC version | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true # IMPORTANT! | ||
|
||
- name: Setup Haxe environment | ||
uses: krdlab/setup-haxe@master | ||
with: | ||
haxe-version: 4.3.2 | ||
|
||
- name: Install VLC dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install libvlc-dev libvlccore-dev | ||
- name: Setup Haxe libraries | ||
run: | | ||
haxelib install hmm --quiet | ||
haxelib run hmm setup --quiet | ||
haxelib run hmm install --quiet | ||
- name: Build Game | ||
run: haxelib run lime build linux | ||
|
||
- name: Upload! | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: linuxBuild | ||
path: export/release/linux/bin | ||
if-no-files-found: error | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Rebuild Lime Linux NDLL | ||
on: | ||
workflow_dispatch | ||
|
||
jobs: | ||
rebuild_linux: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Setup Haxe | ||
uses: krdlab/setup-haxe@v1.5.1 | ||
with: | ||
haxe-version: 4.3.2 | ||
|
||
- name: Setup Lime | ||
uses: actions/checkout@v4.1.5 | ||
with: | ||
repository: FunkinCrew/lime | ||
submodules: true | ||
path: 'lime' | ||
|
||
- name: Install Dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev g++ g++-multilib gcc-multilib libasound2-dev libx11-dev libxext-dev libxi-dev libxrandr-dev libxinerama-dev | ||
- name: Rebuild Lime | ||
run: | | ||
haxelib dev lime lime | ||
haxelib install format --quiet | ||
haxelib install hxp --quiet | ||
haxelib install hxcpp --quiet | ||
haxelib run lime rebuild linux -release -64 -clean | ||
haxelib run lime rebuild linux -release -clean | ||
# TODO: See if debug files need rebuilding as well | ||
|
||
- name: Upload 32-bit NDLLs | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: linuxNDLL | ||
path: lime/ndll/Linux | ||
compression-level: 0 | ||
if-no-files-found: error | ||
|
||
- name: Upload 64-bit NDLLs | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: linuxNDLL64 | ||
path: lime/ndll/Linux64 | ||
compression-level: 0 | ||
if-no-files-found: error | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
[submodule "assets"] | ||
path = assets | ||
url = https://github.com/FunkinCrew/funkin.assets | ||
branch = 3b8235e953505a6fe7f4ff253f5a99b9a7b9857a | ||
[submodule "art"] | ||
path = art | ||
url = https://github.com/FunkinCrew/funkin.art |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters