mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-16 01:35:07 +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 \
|
brew install \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
sdl2 \
|
sdl2 \
|
||||||
|
fmt \
|
||||||
|
rtmidi \
|
||||||
libsndfile \
|
libsndfile \
|
||||||
zlib \
|
zlib \
|
||||||
jack
|
jack
|
||||||
|
@ -93,6 +95,8 @@ jobs:
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install \
|
sudo apt install \
|
||||||
libsdl2-dev \
|
libsdl2-dev \
|
||||||
|
libfmt-dev \
|
||||||
|
librtmidi-dev \
|
||||||
libsndfile1-dev \
|
libsndfile1-dev \
|
||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
libjack-jackd2-dev
|
libjack-jackd2-dev
|
||||||
|
@ -108,6 +112,19 @@ jobs:
|
||||||
export USE_WAE=OFF
|
export USE_WAE=OFF
|
||||||
elif [ '${{ matrix.config.compiler }}' == 'mingw' ]; then
|
elif [ '${{ matrix.config.compiler }}' == 'mingw' ]; then
|
||||||
CMAKE_EXTRA_ARGS+=('-DCMAKE_TOOLCHAIN_FILE=scripts/Cross-MinGW-${{ steps.windows-identify.outputs.mingw-target }}.cmake')
|
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
|
fi
|
||||||
|
|
||||||
cmake \
|
cmake \
|
||||||
|
@ -201,6 +218,8 @@ jobs:
|
||||||
brew install \
|
brew install \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
sdl2 \
|
sdl2 \
|
||||||
|
fmt \
|
||||||
|
rtmidi \
|
||||||
libsndfile \
|
libsndfile \
|
||||||
zlib \
|
zlib \
|
||||||
jack
|
jack
|
||||||
|
@ -211,6 +230,8 @@ jobs:
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install \
|
sudo apt install \
|
||||||
libsdl2-dev \
|
libsdl2-dev \
|
||||||
|
libfmt-dev \
|
||||||
|
librtmidi-dev \
|
||||||
libsndfile1-dev \
|
libsndfile1-dev \
|
||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
libjack-jackd2-dev \
|
libjack-jackd2-dev \
|
||||||
|
|
Loading…
Reference in a new issue