forked from hagbard/fluidsynth

96 changed files with 6936 additions and 3886 deletions
@ -1,63 +0,0 @@ |
|||
image: |
|||
- Visual Studio 2013 |
|||
|
|||
build: |
|||
parallel: true |
|||
verbosity: detailed |
|||
|
|||
environment: |
|||
matrix: |
|||
- platform: x86 |
|||
glib-url: http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.28/glib_2.28.8-1_win32.zip |
|||
glib-dev-url: http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.28/glib-dev_2.28.8-1_win32.zip |
|||
pkg-config-url: http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.26-1_win32.zip |
|||
gettext-url: http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime_0.18.1.1-2_win32.zip |
|||
proxy-libintl-dev-url: http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/proxy-libintl-dev_20100902_win32.zip |
|||
|
|||
- platform: x64 |
|||
glib-url: http://ftp.gnome.org/pub/gnome/binaries/win64/glib/2.26/glib_2.26.1-1_win64.zip |
|||
glib-dev-url: http://ftp.gnome.org/pub/gnome/binaries/win64/glib/2.26/glib-dev_2.26.1-1_win64.zip |
|||
pkg-config-url: http://ftp.gnome.org/pub/gnome/binaries/win64/dependencies/pkg-config_0.23-2_win64.zip |
|||
gettext-url: http://ftp.gnome.org/pub/gnome/binaries/win64/dependencies/gettext-runtime_0.18.1.1-2_win64.zip |
|||
proxy-libintl-dev-url: http://ftp.gnome.org/pub/gnome/binaries/win64/dependencies/proxy-libintl-dev_20100902_win64.zip |
|||
|
|||
init: |
|||
- echo %APPVEYOR_BUILD_WORKER_IMAGE% |
|||
|
|||
install: |
|||
# make sure the latest version of git is installed |
|||
- choco upgrade git -y |
|||
- mkdir c:\deps |
|||
- cd c:\deps |
|||
- curl -fsS -o glib.zip %glib-url% |
|||
- curl -fsS -o glib-dev.zip %glib-dev-url% |
|||
- curl -fsS -o pkg-config.zip %pkg-config-url% |
|||
- curl -fsS -o gettext.zip %gettext-url% |
|||
- curl -fsS -o libintl-dev.zip %proxy-libintl-dev-url% |
|||
- 7z x glib.zip > NUL |
|||
- 7z x glib-dev.zip > NUL |
|||
- 7z x pkg-config.zip > NUL |
|||
- 7z x gettext.zip > NUL |
|||
- 7z x libintl-dev.zip > NUL |
|||
- SET PATH=C:\deps\bin;%PATH% |
|||
- if "%platform%"=="x64" ( SET "PATH=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%" ) else ( SET "PATH=C:\MinGW\bin;%PATH%" ) |
|||
|
|||
build_script: |
|||
# - call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 |
|||
# - call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64 |
|||
- cd C:\projects\fluidsynth-rjimi |
|||
- mkdir build |
|||
- cd build |
|||
# remove that path from PATH to make sure sh.exe is not found (cmake will complain otherwise) |
|||
- set PATH=%PATH:C:\Program Files\Git\usr\bin;=% |
|||
- echo %PATH% |
|||
- echo %CFLAGS% |
|||
- cmake -G "MinGW Makefiles" -DCMAKE_VERBOSE_MAKEFILE=1 .. |
|||
- mingw32-make.exe check |
|||
|
|||
after_build: |
|||
- 7z a fluidsynth-%platform%.zip %APPVEYOR_BUILD_FOLDER%\build\src\* c:\deps\bin\libglib*.dll c:\deps\bin\libgthread*.dll c:\deps\bin\*intl*.dll |
|||
|
|||
artifacts: |
|||
- path: build/fluidsynth-%platform%.zip |
|||
name: FluidSynth |
@ -1,83 +0,0 @@ |
|||
image: |
|||
- Visual Studio 2015 |
|||
|
|||
build: |
|||
parallel: true |
|||
verbosity: detailed |
|||
|
|||
configuration: |
|||
- Release |
|||
|
|||
environment: |
|||
matrix: |
|||
- platform: x86 |
|||
glib-url: http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.28/glib_2.28.8-1_win32.zip |
|||
glib-dev-url: http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.28/glib-dev_2.28.8-1_win32.zip |
|||
pkg-config-url: http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.26-1_win32.zip |
|||
gettext-url: http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime_0.18.1.1-2_win32.zip |
|||
proxy-libintl-dev-url: http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/proxy-libintl-dev_20100902_win32.zip |
|||
|
|||
- platform: x64 |
|||
glib-url: http://ftp.gnome.org/pub/gnome/binaries/win64/glib/2.26/glib_2.26.1-1_win64.zip |
|||
glib-dev-url: http://ftp.gnome.org/pub/gnome/binaries/win64/glib/2.26/glib-dev_2.26.1-1_win64.zip |
|||
pkg-config-url: http://ftp.gnome.org/pub/gnome/binaries/win64/dependencies/pkg-config_0.23-2_win64.zip |
|||
gettext-url: http://ftp.gnome.org/pub/gnome/binaries/win64/dependencies/gettext-runtime_0.18.1.1-2_win64.zip |
|||
proxy-libintl-dev-url: http://ftp.gnome.org/pub/gnome/binaries/win64/dependencies/proxy-libintl-dev_20100902_win64.zip |
|||
|
|||
- platform: x86 |
|||
glib-url: http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.16/glib_2.16.6-1_win32.zip |
|||
glib-dev-url: http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.16/glib-dev_2.16.6-1_win32.zip |
|||
pkg-config-url: http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.26-1_win32.zip |
|||
gettext-url: http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime_0.18.1.1-2_win32.zip |
|||
proxy-libintl-dev-url: http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/proxy-libintl-dev_20100902_win32.zip |
|||
|
|||
- platform: x64 |
|||
glib-url: http://ftp.acc.umu.se/pub/gnome/binaries/win64/glib/2.24/glib_2.24.2-2_win64.zip |
|||
glib-dev-url: http://ftp.acc.umu.se/pub/gnome/binaries/win64/glib/2.24/glib-dev_2.24.0-1_win64.zip |
|||
pkg-config-url: http://ftp.gnome.org/pub/gnome/binaries/win64/dependencies/pkg-config_0.23-2_win64.zip |
|||
gettext-url: http://ftp.gnome.org/pub/gnome/binaries/win64/dependencies/gettext-runtime_0.18.1.1-2_win64.zip |
|||
proxy-libintl-dev-url: http://ftp.gnome.org/pub/gnome/binaries/win64/dependencies/proxy-libintl-dev_20100902_win64.zip |
|||
|
|||
init: |
|||
- set TARGET_PLATFORM= |
|||
- if "%platform%"=="x64" ( set TARGET_PLATFORM= Win64) |
|||
- echo %TARGET_PLATFORM% |
|||
- echo %APPVEYOR_BUILD_WORKER_IMAGE% |
|||
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" ( set "generator=Visual Studio 15 2017%TARGET_PLATFORM%" && set "toolset=v141_xp" ) |
|||
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" ( set "generator=Visual Studio 14 2015%TARGET_PLATFORM%" && set "toolset=v140_xp" ) |
|||
- echo %generator% |
|||
- echo %toolset% |
|||
|
|||
install: |
|||
# make sure the latest version of git is installed |
|||
- choco upgrade git -y |
|||
- mkdir c:\deps |
|||
- cd c:\deps |
|||
- curl -fsS -o glib.zip %glib-url% |
|||
- curl -fsS -o glib-dev.zip %glib-dev-url% |
|||
- curl -fsS -o pkg-config.zip %pkg-config-url% |
|||
- curl -fsS -o gettext.zip %gettext-url% |
|||
- curl -fsS -o libintl-dev.zip %proxy-libintl-dev-url% |
|||
- 7z x glib.zip > NUL |
|||
- 7z x glib-dev.zip > NUL |
|||
- 7z x pkg-config.zip > NUL |
|||
- 7z x gettext.zip > NUL |
|||
- 7z x libintl-dev.zip > NUL |
|||
- SET "PATH=C:\deps\bin;%PATH%" |
|||
|
|||
build_script: |
|||
# - call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 |
|||
# - call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64 |
|||
- cd C:\projects\fluidsynth |
|||
- mkdir build |
|||
- cd build |
|||
- cmake -G "%generator%" -T "%toolset%" .. |
|||
- cmake --build . --config Release |
|||
- cmake --build . --config Release --target check # build and exec unittests |
|||
|
|||
after_build: |
|||
- 7z a fluidsynth-%platform%.zip %APPVEYOR_BUILD_FOLDER%\build\src\Release\* c:\deps\bin\libglib*.dll c:\deps\bin\libgthread*.dll c:\deps\bin\*intl*.dll |
|||
|
|||
artifacts: |
|||
- path: build/fluidsynth-%platform%.zip |
|||
name: FluidSynth |
@ -0,0 +1,24 @@ |
|||
# C/C++ with GCC |
|||
# Build your C/C++ project with GCC using make. |
|||
# Add steps that publish test results, save build artifacts, deploy, and more: |
|||
# https://docs.microsoft.com/azure/devops/pipelines/apps/c-cpp/gcc |
|||
|
|||
jobs: |
|||
- job: macOS |
|||
pool: |
|||
vmImage: 'macOS-10.14' |
|||
steps: |
|||
- script: | |
|||
brew update |
|||
brew install glib gobject-introspection libsndfile pkg-config jack dbus-glib pulseaudio portaudio sdl2 |
|||
displayName: 'Prerequisites' |
|||
- script: | |
|||
mkdir build && cd build |
|||
export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig" |
|||
cmake -DCMAKE_INSTALL_PREFIX=$(Build.ArtifactStagingDirectory) -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=1 -DNO_GUI=1 .. |
|||
make |
|||
displayName: 'Compile fluidsynth' |
|||
- script: | |
|||
cd build || exit -1 |
|||
make check || exit -1 |
|||
displayName: 'Execute Unittests' |
@ -0,0 +1,203 @@ |
|||
# C/C++ with GCC |
|||
# Build your C/C++ project with GCC using make. |
|||
# Add steps that publish test results, save build artifacts, deploy, and more: |
|||
# https://docs.microsoft.com/azure/devops/pipelines/apps/c-cpp/gcc |
|||
|
|||
jobs: |
|||
- job: Windows |
|||
strategy: |
|||
matrix: |
|||
XP_x86: |
|||
platform: Win32 |
|||
toolset: v141_xp |
|||
gtk-bundle: $(gtk-bundle-x86) |
|||
libsndfile-url: $(libsndfile-url-x86) |
|||
artifact-prefix: "fluidsynth" |
|||
imageName: 'vs2017-win2016' |
|||
XP_x64: |
|||
platform: x64 |
|||
toolset: v141_xp |
|||
gtk-bundle: $(gtk-bundle-x64) |
|||
libsndfile-url: $(libsndfile-url-x64) |
|||
artifact-prefix: "fluidsynth" |
|||
imageName: 'vs2017-win2016' |
|||
pool: |
|||
vmImage: $(imageName) |
|||
steps: |
|||
- task: DownloadBuildArtifacts@0 |
|||
inputs: |
|||
buildType: specific |
|||
# https://dev.azure.com/tommbrt/_apis/projects?api-version=5.0 |
|||
project: 'd3638885-de4a-4ce7-afe7-f237ae461c07' |
|||
pipeline: 1 |
|||
artifactName: libinstpatch-$(platform) |
|||
downloadPath: '$(Build.ArtifactStagingDirectory)' |
|||
displayName: 'Get libinstpatch' |
|||
- script: | |
|||
@ECHO ON |
|||
mkdir d:\deps || exit -1 |
|||
cd d:\deps || exit -1 |
|||
curl -LfsS -o gtk-bundle-dev.zip $(gtk-bundle) || exit -1 |
|||
curl -LfsS -o libsndfile-dev.zip $(libsndfile-url) || exit -1 |
|||
7z x -aos -- gtk-bundle-dev.zip > NUL || exit -1 |
|||
7z x -aos -- libsndfile-dev.zip > NUL || exit -1 |
|||
REM need to fix the naming of libsndfile otherwise the linker won't find it |
|||
mv lib\libsndfile-1.lib lib\sndfile.lib || exit -1 |
|||
mv lib\libsndfile-1.def lib\sndfile.def || exit -1 |
|||
cd $(Build.ArtifactStagingDirectory)\libinstpatch-$(platform) |
|||
cp -rf * d:\deps\ |
|||
mv -f * .. |
|||
cd .. |
|||
rmdir $(Build.ArtifactStagingDirectory)\libinstpatch-$(platform)\ |
|||
displayName: 'Prerequisites' |
|||
- script: | |
|||
@ECHO ON |
|||
SET "PATH=d:\deps\bin;%PATH%" |
|||
pkg-config --list-all |
|||
mkdir build && cd build || exit -1 |
|||
cmake -A $(platform) -T $(toolset) -DCMAKE_INSTALL_PREFIX=$(Build.ArtifactStagingDirectory) -Denable-readline=0 -Denable-floats=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=1 -DNO_GUI=1 .. || exit -1 |
|||
cmake --build . --config Release || exit -1 |
|||
displayName: 'Compile fluidsynth' |
|||
- script: | |
|||
@ECHO ON |
|||
SET "PATH=d:\deps\bin;%PATH%" |
|||
cd build || exit -1 |
|||
cmake --build . --config Release --target check || exit -1 |
|||
displayName: 'Execute Unittests' |
|||
- script: | |
|||
@ECHO ON |
|||
cd build |
|||
cmake --build . --config Release --target install || exit -1 |
|||
del $(Build.ArtifactStagingDirectory)\bin\concrt*.dll |
|||
del $(Build.ArtifactStagingDirectory)\bin\vcruntime*.dll |
|||
del $(Build.ArtifactStagingDirectory)\bin\msvcp*.dll |
|||
del $(Build.ArtifactStagingDirectory)\lib\libinstpatch*.lib |
|||
del $(Build.ArtifactStagingDirectory)\lib\pkgconfig\libinstpatch*.pc |
|||
rd $(Build.ArtifactStagingDirectory)\include\libinstpatch-1 /s /q |
|||
displayName: 'Copy Artifacts' |
|||
- task: PublishBuildArtifacts@1 |
|||
inputs: |
|||
pathtoPublish: $(Build.ArtifactStagingDirectory) |
|||
artifactName: $(artifact-prefix)-$(platform) |
|||
|
|||
- job: WindowsCI |
|||
strategy: |
|||
matrix: |
|||
default: |
|||
CMAKE_FLAGS: |
|||
CMAKE_CONFIG: Release |
|||
gtk-bundle: $(gtk-bundle-x64) |
|||
libsndfile-url: $(libsndfile-url-x64) |
|||
debug_prof: |
|||
CMAKE_FLAGS: -Denable-profiling=1 -Denable-trap-on-fpe=1 -Denable-fpe-check=1 |
|||
CMAKE_CONFIG: Debug |
|||
gtk-bundle: $(gtk-bundle-x64) |
|||
libsndfile-url: $(libsndfile-url-x64) |
|||
no_network: |
|||
CMAKE_FLAGS: -Denable-network=0 |
|||
CMAKE_CONFIG: Release |
|||
gtk-bundle: $(gtk-bundle-x64) |
|||
libsndfile-url: $(libsndfile-url-x64) |
|||
static_lib: |
|||
CMAKE_FLAGS: -DBUILD_SHARED_LIBS=0 |
|||
CMAKE_CONFIG: Release |
|||
gtk-bundle: $(gtk-bundle-x64) |
|||
libsndfile-url: $(libsndfile-url-x64) |
|||
minimal: |
|||
CMAKE_FLAGS: -Denable-ipv6=0 -Denable-network=0 -Denable-aufile=0 -Denable-dbus=0 -Denable-threads=0 -Denable-winmidi=0 -Denable-waveout=0 -Denable-dsound=0 -Denable-libsndfile=0 -Denable-floats=1 |
|||
CMAKE_CONFIG: Release |
|||
gtk-bundle: $(gtk-bundle-x64) |
|||
libsndfile-url: $(libsndfile-url-x64) |
|||
pool: |
|||
vmImage: 'windows-2019' |
|||
steps: |
|||
- script: | |
|||
@ECHO ON |
|||
mkdir d:\deps || exit -1 |
|||
cd d:\deps || exit -1 |
|||
curl -LfsS -o gtk-bundle-dev.zip $(gtk-bundle) || exit -1 |
|||
curl -LfsS -o libsndfile-dev.zip $(libsndfile-url) || exit -1 |
|||
7z x -aos -- gtk-bundle-dev.zip > NUL || exit -1 |
|||
7z x -aos -- libsndfile-dev.zip > NUL || exit -1 |
|||
REM need to fix the naming of libsndfile otherwise the linker won't find it |
|||
mv lib\libsndfile-1.lib lib\sndfile.lib || exit -1 |
|||
mv lib\libsndfile-1.def lib\sndfile.def || exit -1 |
|||
displayName: 'Prerequisites' |
|||
- script: | |
|||
@ECHO ON |
|||
SET "PATH=d:\deps\bin;%PATH%" |
|||
mkdir build && cd build || exit -1 |
|||
cmake -A x64 -DCMAKE_BUILD_TYPE=$(CMAKE_CONFIG) -DCMAKE_VERBOSE_MAKEFILE=1 $(CMAKE_FLAGS) -DNO_GUI=1 .. || exit -1 |
|||
cmake --build . --config $(CMAKE_CONFIG) || exit -1 |
|||
displayName: 'Compile fluidsynth' |
|||
- script: | |
|||
@ECHO ON |
|||
SET "PATH=d:\deps\bin;%PATH%" |
|||
cd build || exit -1 |
|||
cmake --build . --config $(CMAKE_CONFIG) --target check || exit -1 |
|||
displayName: 'Execute Unittests' |
|||
|
|||
- job: WindowsMinGW |
|||
strategy: |
|||
matrix: |
|||
x86: |
|||
CMAKE_FLAGS: -DCMAKE_C_FLAGS="-m32" |
|||
platform: Win32 |
|||
gtk-bundle: $(gtk-bundle-x86) |
|||
libsndfile-url: $(libsndfile-url-x86) |
|||
mingw-url: $(mingw-url-x86) |
|||
x64: |
|||
CMAKE_FLAGS: |
|||
platform: x64 |
|||
gtk-bundle: $(gtk-bundle-x64) |
|||
libsndfile-url: $(libsndfile-url-x64) |
|||
mingw-url: $(mingw-url-x64) |
|||
pool: |
|||
vmImage: 'vs2017-win2016' |
|||
steps: |
|||
- task: DownloadBuildArtifacts@0 |
|||
inputs: |
|||
buildType: specific |
|||
# https://dev.azure.com/tommbrt/_apis/projects?api-version=5.0 |
|||
project: 'd3638885-de4a-4ce7-afe7-f237ae461c07' |
|||
pipeline: 1 |
|||
artifactName: libinstpatch-$(platform) |
|||
downloadPath: '$(Build.ArtifactStagingDirectory)' |
|||
displayName: 'Get libinstpatch' |
|||
- script: | |
|||
@ECHO ON |
|||
mkdir d:\deps || exit -1 |
|||
cd d:\deps || exit -1 |
|||
curl -LfsS -o gtk-bundle-dev.zip $(gtk-bundle) || exit -1 |
|||
curl -LfsS -o libsndfile-dev.zip $(libsndfile-url) || exit -1 |
|||
curl -LfsS -o mingw.zip $(mingw-url) || exit -1 |
|||
7z x -aos -- gtk-bundle-dev.zip > NUL || exit -1 |
|||
7z x -aos -- libsndfile-dev.zip > NUL || exit -1 |
|||
7z x -aos -- mingw.zip > NUL || exit -1 |
|||
rm *.zip |
|||
REM need to fix the naming of libsndfile otherwise the linker won't find it |
|||
mv lib\libsndfile-1.lib lib\sndfile.lib || exit -1 |
|||
mv lib\libsndfile-1.def lib\sndfile.def || exit -1 |
|||
cd mingw*\ && cp -rf * .. && cd .. && rm -rf mingw* || exit -1 |
|||
cd $(Build.ArtifactStagingDirectory)\libinstpatch-$(platform) && cp -rf * d:\deps\ && mv -f * .. && cd .. && rmdir $(Build.ArtifactStagingDirectory)\libinstpatch-$(platform)\ || exit -1 |
|||
displayName: 'Prerequisites' |
|||
- script: | |
|||
@ECHO ON |
|||
SET "PATH=d:\deps\bin;%PATH%" |
|||
REM remove that path from PATH to make sure sh.exe is not found (cmake will complain otherwise) |
|||
set PATH=%PATH:C:\Program Files\Git\bin;=% |
|||
set PATH=%PATH:C:\Program Files\Git\usr\bin;=% |
|||
pkg-config --list-all |
|||
mkdir build && cd build || exit -1 |
|||
cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=$(Build.ArtifactStagingDirectory) $(CMAKE_FLAGS) -Denable-readline=0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=1 -DNO_GUI=1 .. || exit -1 |
|||
mingw32-make.exe all || exit -1 |
|||
displayName: 'Compile fluidsynth' |
|||
- script: | |
|||
@ECHO ON |
|||
SET "PATH=d:\deps\bin;%PATH%" |
|||
REM remove that path from PATH to make sure sh.exe is not found (cmake will complain otherwise) |
|||
set PATH=%PATH:C:\Program Files\Git\bin;=% |
|||
set PATH=%PATH:C:\Program Files\Git\usr\bin;=% |
|||
cd build || exit -1 |
|||
mingw32-make.exe check || exit -1 |
|||
displayName: 'Execute Unittests' |
@ -0,0 +1,55 @@ |
|||
version: 2.1 |
|||
orbs: |
|||
android: circleci/android@0.2.0 |
|||
jobs: |
|||
build: |
|||
working_directory: ~/code |
|||
docker: |
|||
- image: circleci/android:api-29 |
|||
environment: |
|||
JVM_OPTS: -Xmx3200m |
|||
steps: |
|||
- run: |
|||
name: Setup Git email and user for Cerbero |
|||
command: git config --global user.email "ci@beatscratch.io" && git config --global user.name "CI testing" |
|||
- android/install-ndk: |
|||
ndk-version: android-ndk-r18b |
|||
ndk-sha: 500679655da3a86aecf67007e8ab230ea9b4dd7b |
|||
- run: |
|||
name: Link NDK for Cerbero |
|||
command: | |
|||
mkdir -p /home/circleci/android-sdk-linux |
|||
ln -s /opt/android/android-ndk-r18b /home/circleci/android-sdk-linux/ndk-bundle |
|||
- run: |
|||
name: Install FluidSynth build dependencies |
|||
command: sudo apt-get update && sudo apt-get install autotools-dev automake autoconf libtool g++ autopoint make cmake |
|||
bison flex yasm pkg-config gtk-doc-tools libxv-dev libx11-dev libpulse-dev |
|||
python3-dev texinfo gettext build-essential pkg-config doxygen curl libxext-dev |
|||
libxi-dev x11proto-record-dev libxrender-dev libgl1-mesa-dev libxfixes-dev |
|||
libxdamage-dev libxcomposite-dev libasound2-dev libxml-simple-perl dpkg-dev |
|||
debhelper build-essential devscripts fakeroot transfig gperf libdbus-glib-1-dev |
|||
wget glib-networking libxtst-dev libxrandr-dev libglu1-mesa-dev libegl1-mesa-dev |
|||
git subversion xutils-dev intltool ccache python3-setuptools autogen maven make |
|||
- checkout |
|||
- run: |
|||
name: Prepare FluidSynth Android |
|||
working_directory: doc/android |
|||
command: | |
|||
make -f Makefile.android prepare |
|||
- run: |
|||
name: Build FluidSynth Android |
|||
working_directory: doc/android |
|||
command: | |
|||
make -f Makefile.android |
|||
- run: |
|||
name: Show directory contents |
|||
working_directory: doc/android |
|||
command: | |
|||
ls -R |
|||
- run: |
|||
name: Zip FluidSnyth Android Distribution |
|||
working_directory: doc/android |
|||
command: zip -r android-dist.zip dist |
|||
- store_artifacts: |
|||
path: doc/android/android-dist.zip |
|||
destination: android-dist.zip |
@ -0,0 +1,43 @@ |
|||
--- |
|||
name: Bug report |
|||
about: Create a report to help us improve |
|||
title: '' |
|||
labels: bug |
|||
assignees: '' |
|||
|
|||
--- |
|||
|
|||
<!-- DO NOT SUBMIT SUPPORT REQUESTS OR "HOW TO" QUESTIONS HERE! |
|||
Else it might be closed without further notice. |
|||
|
|||
If you have a question look into our wiki |
|||
( https://github.com/FluidSynth/fluidsynth/wiki ) |
|||
or the developer resources |
|||
( http://www.fluidsynth.org/api/ ) |
|||
|
|||
If you still have a question, need support or want to discuss ideas, contact our mailing list: |
|||
https://lists.nongnu.org/mailman/listinfo/fluid-dev |
|||
|
|||
Below is a form that shall help getting relevant information for bugs together. |
|||
We strongly recommend to use it! Feel free to edit or remove inapplicable/unneeded parts. |
|||
--> |
|||
|
|||
### FluidSynth version |
|||
_Execute `fluidsynth --version` and provide the output._ |
|||
|
|||
### Describe the bug |
|||
_Provide a clear and concise description of the current situation, e.g. how the bug manifests._ |
|||
|
|||
### Expected behavior |
|||
_Provide a clear and concise description of what you expected to happen._ |
|||
|
|||
### Steps to reproduce |
|||
_Please explain the steps required to duplicate the issue, esp. if you are able to provide a sample application. E.g. how to start fluidsynth, what shell commands to enter, what midi events to send, etc._ |
|||
|
|||
### Additional context |
|||
_If you are able to illustrate the bug with an example, please provide simple |
|||
source code below or as attached file. List any other information that is relevant to your issue, e.g. stack traces, related issues, build logs, suggestions on how to fix, links to related discussions at fluid-dev, etc._ |
|||
|
|||
``` |
|||
insert code snippets, soundfonts or anything relevant here, or attach it as extra file(s) if it's too much |
|||
``` |
@ -0,0 +1,38 @@ |
|||
--- |
|||
name: Feature request |
|||
about: Suggest a concrete feature |
|||
title: '' |
|||
labels: enhancement |
|||
assignees: '' |
|||
|
|||
--- |
|||
|
|||
<!-- DO NOT SUBMIT SUPPORT REQUESTS OR "HOW TO" QUESTIONS HERE! |
|||
Else it might be closed without further notice. |
|||
|
|||
If you have a question look into our wiki |
|||
( https://github.com/FluidSynth/fluidsynth/wiki ) |
|||
or the developer resources |
|||
( http://www.fluidsynth.org/api/ ) |
|||
|
|||
If you still have a question, need support or want to discuss ideas, contact our mailing list: |
|||
https://lists.nongnu.org/mailman/listinfo/fluid-dev |
|||
|
|||
Below is a form that shall help getting relevant information for features together. |
|||
Feel free to edit or remove inapplicable/unneeded parts. |
|||
--> |
|||
|
|||
### Related discussion on the mailing list |
|||
_Features should be discussed by the community. Historically, our community lives at the mailing list. Bring up your ideas there, before opening tickets. In case you already did that, provide a link to the thread._ |
|||
|
|||
### Is your feature request related to a problem? |
|||
_A clear and concise description of what the problem is._ |
|||
|
|||
### Describe the solution you'd like |
|||
_A clear and concise description of what you want to happen._ |
|||
|
|||
### Describe alternatives you've considered |
|||
_A clear and concise description of any alternative solutions or features you've considered._ |
|||
|
|||
### Additional context |
|||
_Add any other context or screenshots about the feature request here._ |
@ -1,2 +0,0 @@ |
|||
Check the web site at http://www.fluidsynth.org for the latest news. |
|||
|
@ -1,3 +0,0 @@ |
|||
This file is obsolete and may be removed in the future. For tips building fluidsynth on MacOSX please see our wiki for the latest information: |
|||
|
|||
https://github.com/FluidSynth/fluidsynth/wiki/BuildingWithCMake#building-on-os-x |
@ -1,179 +1,239 @@ |
|||
message( "\n**************************************************************\n" |
|||
"Summary:" ) |
|||
|
|||
message( "Build type: " ${CMAKE_BUILD_TYPE} ) |
|||
message( "Install Prefix: " ${CMAKE_INSTALL_PREFIX} ) |
|||
|
|||
if ( LIBSNDFILE_SUPPORT ) |
|||
if ( LIBSNDFILE_HASVORBIS ) |
|||
message ( "libsndfile: yes (with ogg vorbis support)" ) |
|||
else ( LIBSNDFILE_HASVORBIS ) |
|||
message ( "libsndfile: yes" ) |
|||
endif ( LIBSNDFILE_HASVORBIS ) |
|||
else ( LIBSNDFILE_SUPPORT ) |
|||
message ( "libsndfile: no (raw audio file rendering only)" ) |
|||
endif ( LIBSNDFILE_SUPPORT ) |
|||
|
|||
if ( DBUS_SUPPORT ) |
|||
message ( "D-Bus: yes" ) |
|||
else ( DBUS_SUPPORT ) |
|||
message ( "D-Bus: no" ) |
|||
endif ( DBUS_SUPPORT ) |
|||
|
|||
if ( PULSE_SUPPORT ) |
|||
message ( "PulseAudio: yes" ) |
|||
else ( PULSE_SUPPORT ) |
|||
message ( "PulseAudio: no" ) |
|||
endif ( PULSE_SUPPORT ) |
|||
|
|||
if ( JACK_SUPPORT ) |
|||
message ( "JACK: yes" ) |
|||
else ( JACK_SUPPORT ) |
|||
message ( "JACK: no" ) |
|||
endif ( JACK_SUPPORT ) |
|||
set ( AUDIO_MIDI_REPORT "\n" ) |
|||
|
|||
if ( ALSA_SUPPORT ) |
|||
message ( "ALSA: yes" ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} ALSA: yes\n" ) |
|||
else ( ALSA_SUPPORT ) |
|||
message ( "ALSA: no" ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} ALSA: no\n" ) |
|||
endif ( ALSA_SUPPORT ) |
|||
|
|||
if ( PORTAUDIO_SUPPORT ) |
|||
message ( "PortAudio: yes" ) |
|||
else ( PORTAUDIO_SUPPORT ) |
|||
message ( "PortAudio: no" ) |
|||
endif ( PORTAUDIO_SUPPORT ) |
|||
|
|||
if ( OSS_SUPPORT ) |
|||
message ( "OSS: yes" ) |
|||
else ( OSS_SUPPORT ) |
|||
message ( "OSS: no" ) |
|||
endif ( OSS_SUPPORT ) |
|||
|
|||
if ( MIDISHARE_SUPPORT ) |
|||
message ( "MidiShare: yes" ) |
|||
else ( MIDISHARE_SUPPORT ) |
|||
message ( "MidiShare: no" ) |
|||
endif ( MIDISHARE_SUPPORT ) |
|||
|
|||
if ( COREAUDIO_SUPPORT ) |
|||
message ( "CoreAudio: yes" ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} CoreAudio: yes\n" ) |
|||
else ( COREAUDIO_SUPPORT ) |
|||
message ( "CoreAudio: no" ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} CoreAudio: no\n" ) |
|||
endif ( COREAUDIO_SUPPORT ) |
|||
|
|||
if ( COREMIDI_SUPPORT ) |
|||
message ( "CoreMIDI: yes" ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} CoreMIDI: yes\n" ) |
|||
else ( COREMIDI_SUPPORT ) |
|||
message ( "CoreMIDI: no" ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} CoreMIDI: no\n" ) |
|||
endif ( COREMIDI_SUPPORT ) |
|||
|
|||
if ( WINDOWS_SUPPORT ) |
|||
message ( "Windows: yes" ) |
|||
else ( WINDOWS_SUPPORT ) |
|||
message ( "Windows: no" ) |
|||
endif ( WINDOWS_SUPPORT ) |
|||
|
|||
if ( DSOUND_SUPPORT ) |
|||
message ( "DSound: yes" ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} DSound: yes\n" ) |
|||
else ( DSOUND_SUPPORT ) |
|||
message ( "DSound: no" ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} DSound: no\n" ) |
|||
endif ( DSOUND_SUPPORT ) |
|||
|
|||
if ( WINMIDI_SUPPORT ) |
|||
message ( "WinMidi support: yes" ) |
|||
else ( WINMIDI_SUPPORT ) |
|||
message ( "WinMidi support: no" ) |
|||
endif ( WINMIDI_SUPPORT ) |
|||
if ( JACK_SUPPORT ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} JACK: yes\n" ) |
|||
else ( JACK_SUPPORT ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} JACK: no\n" ) |
|||
endif ( JACK_SUPPORT ) |
|||
|
|||
if ( LADSPA_SUPPORT ) |
|||
message ( "LADSPA support: yes" ) |
|||
else ( LADSPA_SUPPORT ) |
|||
message ( "LADSPA support: no" ) |
|||
endif ( LADSPA_SUPPORT ) |
|||
if ( MIDISHARE_SUPPORT ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} MidiShare: yes\n" ) |
|||
else ( MIDISHARE_SUPPORT ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} MidiShare: no\n" ) |
|||
endif ( MIDISHARE_SUPPORT ) |
|||
|
|||
if ( LASH_SUPPORT ) |
|||
message ( "LASH support: yes (NOTE: GPL library)" ) |
|||
else ( LASH_SUPPORT ) |
|||
message ( "LASH support: no" ) |
|||
endif ( LASH_SUPPORT ) |
|||
if ( OBOE_SUPPORT ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} Oboe: yes\n" ) |
|||
else ( OBOE_SUPPORT ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} Oboe: no\n" ) |
|||
endif ( OBOE_SUPPORT ) |
|||
|
|||
if ( SYSTEMD_SUPPORT ) |
|||
message ( "systemd support: yes" ) |
|||
else ( SYSTEMD_SUPPORT ) |
|||
message ( "systemd support: no" ) |
|||
endif ( SYSTEMD_SUPPORT ) |
|||
if ( OPENSLES_SUPPORT ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} OpenSLES: yes\n" ) |
|||
else ( OPENSLES_SUPPORT ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} OpenSLES: no\n" ) |
|||
endif ( OPENSLES_SUPPORT ) |
|||
|
|||
if ( DART_SUPPORT ) |
|||
message ( "OS/2 DART support: yes" ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} OS/2 DART: yes\n" ) |
|||
else ( DART_SUPPORT ) |
|||
message ( "OS/2 DART support: no" ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} OS/2 DART: no\n" ) |
|||
endif ( DART_SUPPORT ) |
|||
|
|||
if ( OSS_SUPPORT ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} OSS: yes\n" ) |
|||
else ( OSS_SUPPORT ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} OSS: no\n" ) |
|||
endif ( OSS_SUPPORT ) |
|||
|
|||
if ( PORTAUDIO_SUPPORT ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} PortAudio: yes\n" ) |
|||
else ( PORTAUDIO_SUPPORT ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} PortAudio: no\n" ) |
|||
endif ( PORTAUDIO_SUPPORT ) |
|||
|
|||
if ( PULSE_SUPPORT ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} PulseAudio: yes\n" ) |
|||
else ( PULSE_SUPPORT ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} PulseAudio: no\n" ) |
|||
endif ( PULSE_SUPPORT ) |
|||
|
|||
if ( SDL2_SUPPORT ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} SDL2: yes\n" ) |
|||
else ( SDL2_SUPPORT ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} SDL2: no\n" ) |
|||
endif ( SDL2_SUPPORT ) |
|||
|
|||
if ( WAVEOUT_SUPPORT ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} WaveOut: yes\n" ) |
|||
else ( WAVEOUT_SUPPORT ) |
|||
set ( AUDIO_MIDI_REPORT "${AUDIO_MIDI_REPORT} WaveOut: no\n" ) |
|||
endif ( WAVEOUT_SUPPORT ) |
|||
|
|||