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