FIX CI building via Makfile

This commit is contained in:
Tim Angus 2025-09-06 11:57:35 +01:00
parent 93c9289849
commit 145e803e6e

View File

@ -12,7 +12,9 @@ jobs:
sudo apt-get update
sudo apt-get install libsdl2-dev
- name: Compile
run: make release -j$(nproc)
run: |
echo I_ACKNOWLEDGE_THE_MAKEFILE_IS_DEPRECATED=1 > Makefile.local
make release -j$(nproc)
windows-legacy:
name: Windows (Legacy Makefile)
runs-on: windows-2022
@ -20,6 +22,7 @@ jobs:
- uses: actions/checkout@v4
- name: Compile
run: |
echo I_ACKNOWLEDGE_THE_MAKEFILE_IS_DEPRECATED=1 > Makefile.local
make release -j $env:NUMBER_OF_PROCESSORS
macos-legacy:
name: macOS (Legacy Makefile)
@ -27,7 +30,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Compile
run: make release -j$(sysctl -n hw.logicalcpu)
run: |
echo I_ACKNOWLEDGE_THE_MAKEFILE_IS_DEPRECATED=1 > Makefile.local
make release -j$(sysctl -n hw.logicalcpu)
emscripten-legacy:
name: Emscripten (Legacy Makefile)
runs-on: ubuntu-latest
@ -44,6 +49,7 @@ jobs:
./emsdk activate 3.1.58
- name: Compile
run: |
echo I_ACKNOWLEDGE_THE_MAKEFILE_IS_DEPRECATED=1 > Makefile.local
source emsdk/emsdk_env.sh
emmake make release -j$(nproc)