mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-18 02:15:45 +01:00
Compare commits
2 Commits
adfca88d3c
...
079361771f
| Author | SHA1 | Date | |
|---|---|---|---|
| 079361771f | |||
| 66e3d0d06f |
18
.github/workflows/ci.yaml
vendored
18
.github/workflows/ci.yaml
vendored
@@ -17,8 +17,8 @@ jobs:
|
||||
cc: gcc
|
||||
- os: windows-11-arm
|
||||
cc: gcc
|
||||
- os: macos-latest
|
||||
cc: cc
|
||||
# - os: macos-latest
|
||||
# cc: cc
|
||||
env:
|
||||
CC: ${{matrix.cc}}
|
||||
runs-on: ${{matrix.os}}
|
||||
@@ -47,10 +47,10 @@ jobs:
|
||||
key: ${{runner.os}}_${{runner.arch}}-lib/obj-${{steps.get-hash.outputs.HASH}}
|
||||
restore-keys: ${{runner.os}}_${{runner.arch}}-lib/obj-
|
||||
|
||||
# - run: make -Bj libs
|
||||
# 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
|
||||
- run: make -Bj libs
|
||||
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
|
||||
|
||||
1
Makefile
1
Makefile
@@ -32,6 +32,7 @@ LDLIBS += -lglfw3 -larchive -lm
|
||||
ifeq ($(OS),Windows_NT)
|
||||
ISWIN = 1
|
||||
NAME := $(NAME).exe
|
||||
LDLIBS += -lopengl32 -lgdi32
|
||||
$(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
|
||||
|
||||
Reference in New Issue
Block a user