mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-18 20:55:44 +01:00
Compare commits
6 Commits
1e99c0be56
...
7db0853ffe
| Author | SHA1 | Date | |
|---|---|---|---|
| 7db0853ffe | |||
| d46f8c0900 | |||
| 2261209d8d | |||
| a16f454396 | |||
| 945a82e5f6 | |||
| 88d39150dd |
16
.github/workflows/ci.yaml
vendored
16
.github/workflows/ci.yaml
vendored
@@ -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
|
||||
|
||||
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