mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-31 22:42:52 +08:00
ci: use CMake for building SDL on FreeBSD
This commit is contained in:
@@ -14,7 +14,8 @@ jobs:
|
|||||||
usesh: true
|
usesh: true
|
||||||
prepare: |
|
prepare: |
|
||||||
pkg install -y \
|
pkg install -y \
|
||||||
gmake \
|
cmake \
|
||||||
|
ninja \
|
||||||
pkgconf \
|
pkgconf \
|
||||||
libXcursor \
|
libXcursor \
|
||||||
libXext \
|
libXext \
|
||||||
@@ -43,6 +44,5 @@ jobs:
|
|||||||
libudev-devd
|
libudev-devd
|
||||||
|
|
||||||
run: |
|
run: |
|
||||||
mkdir build_autotools
|
cmake -S . -B build -GNinja
|
||||||
(cd build_autotools && CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" ../configure)
|
cmake --build build --verbose -- -j`sysctl -n hw.ncpu`
|
||||||
gmake -C build_autotools -j`sysctl -n hw.ncpu` V=1
|
|
||||||
|
|||||||
Reference in New Issue
Block a user