mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-09 07:18:34 -04:00
use make mac_x64
This commit is contained in:
parent
ee9ce314a5
commit
19b94877be
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -128,10 +128,10 @@ jobs:
|
|||||||
cd src
|
cd src
|
||||||
# fix for "error: implicit declaration of function 'CGDisplayBitsPerPixel'"
|
# fix for "error: implicit declaration of function 'CGDisplayBitsPerPixel'"
|
||||||
sed -i '' 's|#include <Cocoa/Cocoa.h>|&\'$'\nextern size_t CGDisplayBitsPerPixel(CGDirectDisplayID display);|' interop_cocoa.m
|
sed -i '' 's|#include <Cocoa/Cocoa.h>|&\'$'\nextern size_t CGDisplayBitsPerPixel(CGDirectDisplayID display);|' interop_cocoa.m
|
||||||
gcc *.c interop_cocoa.m -o ClassiCube -framework Cocoa -framework OpenGL -framework IOKit -lobjc
|
make mac_x64
|
||||||
|
|
||||||
- name: Build for ${{ matrix.config.plat }} (${{ matrix.config.bits }} bit)
|
- name: Build for ${{ matrix.config.plat }} (${{ matrix.config.bits }} bit)
|
||||||
if: matrix.config.plat == 'Mac' && matrix.config.bits == 32
|
if: matrix.config.plat == 'Mac' && matrix.config.bits == 32
|
||||||
run: |
|
run: |
|
||||||
cd src
|
cd src
|
||||||
make darwin
|
make mac_x32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user