Skip to content
Merged
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
16 changes: 8 additions & 8 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
workflow_dispatch:

env:
HAXE_VERSION: 4.3.7
HXCPP_COMPILE_CACHE: ${{ github.workspace }}/.hxcpp_cache

jobs:
build:
name: Linux Build
Expand All @@ -17,7 +21,7 @@ jobs:
- name: Setting up Haxe
uses: krdlab/setup-haxe@v2
with:
haxe-version: 4.3.7
haxe-version: ${{ env.HAXE_VERSION }}
# - name: Restore existing build cache for faster compilation
# uses: actions/cache@v4.2.3
# with:
Expand All @@ -26,8 +30,6 @@ jobs:
# path: |
# .haxelib/
# export/release/linux/obj/
- run: |
echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV
- name: Installing Packages for Building Lime (TEMPORARY)
run: |
sudo apt-get update
Expand All @@ -36,7 +38,7 @@ jobs:
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 \
g++-multilib gcc-multilib
zlib1g-dev
- name: Installing LibVLC
run: |
sudo apt-get install libvlc-dev libvlccore-dev
Expand Down Expand Up @@ -102,7 +104,7 @@ jobs:
- name: Setting up Haxe
uses: krdlab/setup-haxe@v2
with:
haxe-version: 4.3.7
haxe-version: ${{ env.HAXE_VERSION }}
# - name: Restore existing build cache for faster compilation
# uses: actions/cache@v4.2.3
# with:
Expand All @@ -111,8 +113,6 @@ jobs:
# path: |
# .haxelib/
# export/debug/linux/obj/
- run: |
echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV
- name: Installing Packages for Building Lime (TEMPORARY)
run: |
sudo apt-get update
Expand All @@ -121,7 +121,7 @@ jobs:
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 \
g++-multilib gcc-multilib
zlib1g-dev
- name: Installing LibVLC
run: |
sudo apt-get install libvlc-dev libvlccore-dev
Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
workflow_dispatch:

env:
HAXE_VERSION: 4.3.7
HXCPP_COMPILE_CACHE: ${{ github.workspace }}/.hxcpp_cache

jobs:
build:
name: Mac OS Build
Expand All @@ -17,7 +21,7 @@ jobs:
- name: Setting up Haxe
uses: krdlab/setup-haxe@v2
with:
haxe-version: 4.3.7
haxe-version: ${{ env.HAXE_VERSION }}
# - name: Restore existing build cache for faster compilation
# uses: actions/cache@v4.2.3
# with:
Expand All @@ -26,10 +30,10 @@ jobs:
# path: |
# .haxelib/
# export/release/macos/obj/
- run: |
echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV
- name: Installing/Updating libraries
run: |
brew untap aws/tap
brew install zlib
haxe -cp commandline -D analyzer-optimize --run Main setup -si
- name: Building the game
run: |
Expand Down Expand Up @@ -90,7 +94,7 @@ jobs:
- name: Setting up Haxe
uses: krdlab/setup-haxe@v2
with:
haxe-version: 4.3.7
haxe-version: ${{ env.HAXE_VERSION }}
# - name: Restore existing build cache for faster compilation
# uses: actions/cache@v4.2.3
# with:
Expand All @@ -99,10 +103,10 @@ jobs:
# path: |
# .haxelib/
# export/debug/macos/obj/
- run: |
echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV
- name: Installing/Updating libraries
run: |
brew untap aws/tap
brew install zlib
haxe -cp commandline -D analyzer-optimize --run Main setup -si
- name: Building the game
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
workflow_dispatch:

env:
HAXE_VERSION: 4.3.7
HXCPP_COMPILE_CACHE: ${{ github.workspace }}/.hxcpp_cache

jobs:
build:
name: Windows Build
Expand All @@ -17,7 +21,7 @@ jobs:
- name: Setting up Haxe
uses: krdlab/setup-haxe@v2
with:
haxe-version: 4.3.7
haxe-version: ${{ env.HAXE_VERSION }}
# - name: Restore existing build cache for faster compilation
# uses: actions/cache@v4.2.3
# with:
Expand All @@ -26,8 +30,6 @@ jobs:
# path: |
# .haxelib/
# export/release/windows/obj/
- run: |
echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV
- name: Installing/Updating libraries
run: |
haxe -cp commandline -D analyzer-optimize --run Main setup -si --no-vscheck
Expand Down Expand Up @@ -90,7 +92,7 @@ jobs:
- name: Setting up Haxe
uses: krdlab/setup-haxe@v2
with:
haxe-version: 4.3.7
haxe-version: ${{ env.HAXE_VERSION }}
# - name: Restore existing build cache for faster compilation
# uses: actions/cache@v4.2.3
# with:
Expand All @@ -100,8 +102,6 @@ jobs:
# .haxelib/
# export/debug/windows/haxe/
# export/debug/windows/obj/
- run: |
echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV
- name: Installing/Updating libraries
run: |
haxe -cp commandline -D analyzer-optimize --run Main setup -si --no-vscheck
Expand Down