Compare commits

...

6 Commits

Author SHA1 Message Date
7db0853ffe revert forced usage of bash, instead opt for (more) explicit compiler selection. 2025-09-17 12:26:50 +02:00
d46f8c0900 always use bash as the shell. 2025-09-17 12:13:46 +02:00
2261209d8d win: increase cores, to hopefully not spend 20min on compilation. 2025-09-17 12:13:34 +02:00
a16f454396 drop macosx support; the fix introduced a new bug
We're now running into dynamic linker problems, so we shall disable
macosx support for now.
2025-09-17 11:32:40 +02:00
945a82e5f6 test-fix: windows compilation 2025-09-17 11:32:40 +02:00
88d39150dd test-fix: macosx compilation 2025-09-17 11:32:40 +02:00
2 changed files with 15 additions and 3 deletions

View File

@@ -11,9 +11,17 @@ jobs:
os:
- ubuntu-latest
- ubuntu-24.04-arm
# - windows-latest
# - windows-11-arm
- windows-latest
- windows-11-arm
# - macos-latest
cc:
- cc
- cc
- gcc
- gcc
- cc
env:
CC: ${{matrix.cc}}
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v5
@@ -41,7 +49,9 @@ jobs:
restore-keys: ${{runner.os}}_${{runner.arch}}-lib/obj-
- run: make -Bj libs
if: steps.cache-deps.outputs.cache-hit != 'true'
if: steps.cache-deps.outputs.cache-hit != 'true' && runner.os != 'Windows'
- run: make -Bj2 libs # compile fewer cores, to save memory.
if: steps.cache-deps.outputs.cache-hit != 'true' && runner.os == 'Windows'
- run: make -j all
- run: make -j test

View File

@@ -33,6 +33,8 @@ ifeq ($(OS),Windows_NT)
ISWIN = 1
NAME := $(NAME).exe
$(warning Detected Windows_NT, please refer to the documentation if you encounter issues.)
else ifeq ($(shell uname -s),Darwin)
LDLIBS += -framework Cocoa -framework OpenGL -framework IOKit
endif
# TODO: find a better method to find all source files