mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-15 17:25:06 +00:00
Build with system libs in first run
This commit is contained in:
parent
fa1e3ea3e1
commit
28682b79d1
1 changed files with 21 additions and 0 deletions
21
.github/workflows/build.yml
vendored
21
.github/workflows/build.yml
vendored
|
@ -83,6 +83,8 @@ jobs:
|
|||
brew install \
|
||||
pkg-config \
|
||||
sdl2 \
|
||||
fmt \
|
||||
rtmidi \
|
||||
libsndfile \
|
||||
zlib \
|
||||
jack
|
||||
|
@ -93,6 +95,8 @@ jobs:
|
|||
sudo apt update
|
||||
sudo apt install \
|
||||
libsdl2-dev \
|
||||
libfmt-dev \
|
||||
librtmidi-dev \
|
||||
libsndfile1-dev \
|
||||
zlib1g-dev \
|
||||
libjack-jackd2-dev
|
||||
|
@ -108,6 +112,19 @@ jobs:
|
|||
export USE_WAE=OFF
|
||||
elif [ '${{ matrix.config.compiler }}' == 'mingw' ]; then
|
||||
CMAKE_EXTRA_ARGS+=('-DCMAKE_TOOLCHAIN_FILE=scripts/Cross-MinGW-${{ steps.windows-identify.outputs.mingw-target }}.cmake')
|
||||
else
|
||||
# Test with system libs
|
||||
CMAKE_EXTRA_ARGS+=(
|
||||
'-DSYSTEM_FMT=ON'
|
||||
'-DSYSTEM_LIBSNDFILE=ON'
|
||||
'-DSYSTEM_RTMIDI=ON'
|
||||
'-DSYSTEM_ZLIB=ON'
|
||||
'-DWITH_JACK=ON'
|
||||
)
|
||||
# Too old on Ubuntu
|
||||
if [ '${{ runner.os }}' == 'macOS' ]; then
|
||||
CMAKE_EXTRA_ARGS+=('-DSYSTEM_SDL2=ON')
|
||||
fi
|
||||
fi
|
||||
|
||||
cmake \
|
||||
|
@ -201,6 +218,8 @@ jobs:
|
|||
brew install \
|
||||
pkg-config \
|
||||
sdl2 \
|
||||
fmt \
|
||||
rtmidi \
|
||||
libsndfile \
|
||||
zlib \
|
||||
jack
|
||||
|
@ -211,6 +230,8 @@ jobs:
|
|||
sudo apt update
|
||||
sudo apt install \
|
||||
libsdl2-dev \
|
||||
libfmt-dev \
|
||||
librtmidi-dev \
|
||||
libsndfile1-dev \
|
||||
zlib1g-dev \
|
||||
libjack-jackd2-dev \
|
||||
|
|
Loading…
Reference in a new issue