mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-18 20:55:44 +01:00
Compare commits
2 Commits
c62d443afc
...
1e99c0be56
| Author | SHA1 | Date | |
|---|---|---|---|
| 1e99c0be56 | |||
| a85443954e |
10
.github/workflows/ci.yaml
vendored
10
.github/workflows/ci.yaml
vendored
@@ -11,9 +11,9 @@ jobs:
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- ubuntu-24.04-arm
|
||||
# - windows-latest
|
||||
# - windows-11-arm
|
||||
# - macos-latest
|
||||
- windows-latest
|
||||
- windows-11-arm
|
||||
- macos-latest
|
||||
runs-on: ${{matrix.os}}
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
@@ -41,7 +41,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 -Bj1 libs # compile in single-core mode, to save memory, hopefully
|
||||
if: steps.cache-deps.outputs.cache-hit != 'true' && runner.os == 'Windows'
|
||||
|
||||
- run: make -j all
|
||||
- run: make -j test
|
||||
|
||||
2
Makefile
2
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user