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
6 changes: 6 additions & 0 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ jobs:
name: Linux64-Hashlink
path: templates/bin/hl/Linux64

- name: Download LinuxArm64-NDLL artifact
uses: actions/download-artifact@v8
with:
name: LinuxArm64-NDLL
path: ndll/LinuxArm64

- name: Download Mac64-NDLL artifact
uses: actions/download-artifact@v8
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ jobs:
name: Linux64-Hashlink
path: templates/bin/hl/Linux64

- name: Download LinuxArm64-NDLL artifact
uses: actions/download-artifact@v8
with:
name: LinuxArm64-NDLL
path: ndll/LinuxArm64

- name: Download Mac64-NDLL artifact
uses: actions/download-artifact@v8
with:
Expand Down
59 changes: 58 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: haxelib run lime rebuild linux -64 -nocolor -eval

- name: Rebuild Lime (Hashlink)
run: haxelib run lime rebuild hl -nocolor
run: haxelib run lime rebuild hl -nocolor -eval

- name: Upload Artifact (ndll/Linux64)
uses: actions/upload-artifact@v7.0.0
Expand All @@ -66,3 +66,60 @@ jobs:
name: Linux64-Hashlink
path: templates/bin/hl/Linux64
if-no-files-found: error
linux-arm64:
runs-on: ubuntu-24.04-arm
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
with:
submodules: true

# krdlab/setup-haxe doesn't support arm64 linux
# so this is our workaround for now
- name: Install Haxe
run: |
sudo add-apt-repository ppa:haxe/releases -y
sudo apt-get update
sudo apt-get install -y haxe
mkdir $HOME/haxelib
haxelib setup $HOME/haxelib

- name: Set HAXEPATH
run: echo "HAXEPATH=$HAXE_STD_PATH/.." >> $GITHUB_ENV

- name: Install Packages
run: |
sudo add-apt-repository ppa:haxe/releases -y
sudo apt-get update
sudo apt-get install -qq \
libegl1-mesa-dev libgl1-mesa-dev libibus-1.0-dev libdbus-1-dev libdecor-0-dev libudev-dev libgbm-dev libdrm-dev \
libpng-dev libturbojpeg-dev libvorbis-dev libopenal-dev libsdl2-dev libglu1-mesa-dev libmbedtls-dev libuv1-dev libsqlite3-dev \
libx11-dev libxext-dev libxfixes-dev libxi-dev libxinerama-dev libxkbcommon-dev libxcursor-dev libxrandr-dev libxss-dev libxt-dev libxtst-dev libxv-dev libxxf86vm-dev \
libpulse-dev libasound2-dev libpipewire-0.3-dev

- name: Install Haxe dependencies
run: |
haxelib git hxcpp https://github.com/FunkinCrew/hxcpp --quiet
haxelib install format --quiet
haxelib install hxp --quiet

- name: Configure Lime
run: |
haxelib dev lime ${{ github.workspace }}
haxelib run lime setup -alias -y -nocffi
haxelib run lime rebuild hxcpp

- name: Remove Previous NDLLs
run: |
rm -rf ./ndll
mkdir ./ndll

- name: Rebuild Lime (ARM64)
run: haxelib run lime rebuild linux -nocolor -eval

- name: Upload Artifact (ndll/LinuxArm64)
uses: actions/upload-artifact@v7.0.0
with:
name: LinuxArm64-NDLL
path: ndll/LinuxArm64
if-no-files-found: error
2 changes: 2 additions & 0 deletions project/lib/custom/openal/include/platforms/linux/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
/* #define HAVE_PTHREAD_NP_H */

/* Define if we have cpuid.h */
#if !defined(RASPBERRYPI) && !defined(HXCPP_ARM64)
#define HAVE_CPUID_H
#endif

/* Define if we have intrin.h */
/* #define HAVE_INTRIN_H */
Expand Down