mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-02 17:12:15 +00:00
Include header files in Android Artifacts (#896)
This commit is contained in:
parent
148cec6c03
commit
17fb48def5
1 changed files with 9 additions and 4 deletions
|
@ -601,11 +601,16 @@ jobs:
|
|||
|
||||
- script: |
|
||||
set -ex
|
||||
mkdir -p $(Build.ArtifactStagingDirectory)/$(ARCH)
|
||||
cd $(Build.ArtifactStagingDirectory)/$(ARCH)
|
||||
cp -a $(PREFIX)/lib/* .
|
||||
# use ANDROID_ABI_CMAKE so libs can be simply copied to the archive contents in src/main/jniLibs
|
||||
mkdir -p $(Build.ArtifactStagingDirectory)/lib/$(ANDROID_ABI_CMAKE)
|
||||
cd $(Build.ArtifactStagingDirectory)/lib/$(ANDROID_ABI_CMAKE)
|
||||
cp -LR $(PREFIX)/lib/* .
|
||||
ls -Rg .
|
||||
rm -rf *.dll *.alias gettext/ libtextstyle.* *.a *.la
|
||||
rm -f *.so.*
|
||||
mkdir -p $(Build.ArtifactStagingDirectory)/include
|
||||
cd $(Build.ArtifactStagingDirectory)/include
|
||||
cp -a $(PREFIX)/include/fluidsynth* .
|
||||
displayName: 'Collecting artifacts'
|
||||
|
||||
- script: |
|
||||
|
@ -634,7 +639,7 @@ jobs:
|
|||
workingDirectory: '$(PREFIX)/lib'
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: 'Publishing Artefacts for Android API$(ANDROID_API) $(ARCH)'
|
||||
displayName: 'Publishing Artefacts for Android API$(ANDROID_API) $(ANDROID_ABI_CMAKE)'
|
||||
inputs:
|
||||
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
|
||||
ArtifactName: '$(ARTIFACT_NAME)'
|
||||
|
|
Loading…
Reference in a new issue