mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-08 00:31:11 +00:00
Android CircleCI Build (#574)
This commit is contained in:
parent
6895731df2
commit
d312def0ce
3 changed files with 58 additions and 0 deletions
55
.circleci/config.yml
Normal file
55
.circleci/config.yml
Normal file
|
@ -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
|
|
@ -5,6 +5,8 @@
|
|||
|  **Linux** | n.a. | [](https://travis-ci.org/FluidSynth/fluidsynth/branches) |
|
||||
| <img src="https://www.theinquirer.net/w-images/866eae81-b13b-47b5-8180-929943e9dc21/0/daemonhammerfreebsd-580x358.jpg" height="25"> **FreeBSD** | n.a. | [](https://cirrus-ci.com/github/FluidSynth/fluidsynth) |
|
||||
|  **Windows** &&  **MacOSX** | [](https://dev.azure.com/tommbrt/tommbrt/_build/latest?definitionId=3&branchName=master) | [](https://ci.appveyor.com/project/derselbst/fluidsynth-g2ouw/branch/master) |
|
||||
|  **Android** | n.a. | [](https://circleci.com/gh/Fluidsynth/fluidsynth) |
|
||||
|
||||
|
||||
|
||||
#### FluidSynth is a cross-platform, real-time software synthesizer based on the Soundfont 2 specification.
|
||||
|
|
|
@ -28,6 +28,7 @@ extern "C" {
|
|||
|
||||
#include "fluid_adriver.h"
|
||||
#include "fluid_settings.h"
|
||||
#include "fluid_sys.h"
|
||||
|
||||
} // extern "C"
|
||||
|
||||
|
|
Loading…
Reference in a new issue