Commit graph

2528 commits

Author SHA1 Message Date
Tom M
08a9efb97a
Update CMakeLists.txt 2021-06-15 20:33:59 +02:00
Tom M
c8e1853772
Update build.gradle 2021-06-15 19:41:03 +02:00
Tom M
b0ee079529 Update azure-pipelines-android.yml for Azure Pipelines 2021-06-15 19:33:27 +02:00
Tom M
c454574fea Update azure-pipelines-android.yml for Azure Pipelines 2021-06-15 19:32:12 +02:00
Tom M
faccd36d02
Update CMakeLists.txt 2021-06-15 19:27:24 +02:00
Tom M
b3dfce91b7
Update CMakeLists.txt 2021-06-15 19:19:36 +02:00
Tom M
90f122597f
Update CMakeLists.txt 2021-06-15 19:13:47 +02:00
Tom M
cdd61de3c7 Update azure-pipelines-android.yml for Azure Pipelines 2021-06-14 23:30:09 +02:00
Tom M
d30d0e80f9 Update azure-pipelines-android.yml for Azure Pipelines 2021-06-14 23:22:55 +02:00
Tom M
9c910f45f1
Update cmake-android.yml 2021-06-14 23:10:56 +02:00
Tom M
39897d9b76 Update azure-pipelines-android.yml for Azure Pipelines 2021-06-14 22:59:16 +02:00
Tom M
e256b21fe3 Update azure-pipelines-android.yml for Azure Pipelines 2021-06-14 22:48:47 +02:00
Tom M
807e5c27ec
Update convert-tests.sh 2021-06-14 22:48:36 +02:00
Tom M
8023bc9dd6
Update convert-tests.sh 2021-06-14 22:29:07 +02:00
Tom M
52f341fc59 Update azure-pipelines-android.yml for Azure Pipelines 2021-06-14 22:28:03 +02:00
Tom M
5529585e03 Update azure-pipelines-android.yml for Azure Pipelines 2021-06-14 22:14:52 +02:00
Tom M
b3c0e96b1b Update azure-pipelines-android.yml for Azure Pipelines 2021-06-14 22:07:11 +02:00
Tom M
071270c935 Update azure-pipelines-android.yml for Azure Pipelines 2021-06-14 21:53:39 +02:00
Tom M
c8215622d3 Update azure-pipelines-android.yml for Azure Pipelines 2021-06-14 21:50:04 +02:00
derselbst
e6837c2051 Merge branch 'master' into android-emulator 2021-06-14 21:30:44 +02:00
Tom M
15bd824af0
Merge pull request #913 from atsushieno/android-testing-rebased
Add Android testing setup
2021-06-14 08:53:55 +02:00
atsushieno
9eb855a96d Add flexibility on abiFilters.
context: https://github.com/FluidSynth/fluidsynth/pull/913#issuecomment-860195788

Run with `./gradlew -PcustomAbiFilters=x86` etc.
2021-06-14 03:18:15 +09:00
Tom M
35409560d4 Update azure-pipelines-android.yml for Azure Pipelines 2021-06-13 17:21:55 +02:00
Tom M
38047ce37e Update azure-pipelines-android.yml for Azure Pipelines 2021-06-13 16:58:54 +02:00
Tom M
b7e1554e73 Update azure-pipelines-android.yml for Azure Pipelines 2021-06-13 16:49:31 +02:00
Tom M
c49708188b Update azure-pipelines-android.yml for Azure Pipelines 2021-06-13 16:47:30 +02:00
Tom M
76e94e158f Update azure-pipelines-android.yml for Azure Pipelines 2021-06-13 16:44:06 +02:00
Tom M
d385341204 Update azure-pipelines-android.yml for Azure Pipelines 2021-06-13 16:24:36 +02:00
Tom M
402f70cf02 Update azure-pipelines-android.yml for Azure Pipelines 2021-06-13 16:03:23 +02:00
derselbst
06619e99e0 fix cp -ur 2021-06-13 15:30:24 +02:00
derselbst
82a80ad2c8 bumpcache 2021-06-13 15:08:16 +02:00
derselbst
618e51814b port to macos because it has android emulator 2021-06-13 15:05:15 +02:00
derselbst
d1cf69f804 update androi 2021-06-13 14:26:54 +02:00
derselbst
dfeea7c7a0 fix 2021-06-13 14:13:17 +02:00
derselbst
30c4644ca5 try to get android emulator working 2021-06-13 14:11:53 +02:00
derselbst
0ef0c703b6 minor fixes during Android testing 2021-06-13 13:14:50 +02:00
Pedro López-Cabanillas
6b7fc061eb
fix for bug#915 fluidsynth.exe short option '-Q' not working when compiled with getopt (#916) 2021-06-13 10:46:47 +02:00
atsushieno
e36d1438df [test-android] disable tests by the converter. And it is fully documented now. 2021-06-12 19:05:52 +09:00
atsushieno
7dd8f0118c [test-android] Tests are now runnable as ./gradlew connectedCheck 2021-06-12 19:05:52 +09:00
atsushieno
f176cd8e7b [test-android] disable failing tests in run_all_tests.c.
... not in CMakeLists.txt.
2021-06-12 19:05:52 +09:00
atsushieno
c232274d6a [test-android] fix java package names. 2021-06-12 19:05:52 +09:00
atsushieno
ecdae699da [test-android] those converted tests are now loaded and run (and fail hard). 2021-06-12 19:05:52 +09:00
atsushieno
12cc9ed74b Convert ctests into another test sources that can be compiled in Android test.
The existing ctests cannot be simply used in Android tests because
everything is compiled as standalone executable with `main()` function.
Since Android 11+ does not support standalone executables, those test
`main()` functions are converted as unique functions and then picked up
in this test's native-lib CMakeLists.txt.

Since those tests depend on libfluidsynth internals, we cannot simply
link with libfluidsynth.so. We instead compile the library with OBJ files.
2021-06-12 19:05:52 +09:00
atsushieno
962a544d15 Revert "[test-android] another build script fix for host/target was needed."
This reverts commit f5144c011ef58b901dc5b1153d59ee61fa32a900.
2021-06-12 19:05:52 +09:00
atsushieno
ed555f076b [test-android] another build script fix for host/target was needed. 2021-06-12 19:05:52 +09:00
atsushieno
0635766f85 [test-android] fix gettext build in build.sh by distinct --host and --target.
gettext is known as cause of problem for running host tool in target ABI
in our builds, and the latest script still had the issue.
https://github.com/atsushieno/aap-lv2-fluidsynth/actions/runs/914453645

This fixes the problem by explicitly specifying that the build host is
x86_64 linux.
If you want to reuse the script on other platforms, you have to edit it.
2021-06-12 19:05:52 +09:00
atsushieno
ea2a824383 [android] make $NDK optional in the build script. 2021-06-12 19:05:51 +09:00
atsushieno
e4ef966630 [test-android] really fix build scripts.
Changes are from https://github.com/FluidSynth/fluidsynth/issues/897#issuecomment-854896563
2021-06-12 19:05:51 +09:00
atsushieno
6e23e82a29 update build script, still broken. 2021-06-12 19:05:51 +09:00
atsushieno
fc4dcd709e [test-android] some followups on README. 2021-06-12 19:05:51 +09:00