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: |
|
- script: |
|
||||||
set -ex
|
set -ex
|
||||||
mkdir -p $(Build.ArtifactStagingDirectory)/$(ARCH)
|
# use ANDROID_ABI_CMAKE so libs can be simply copied to the archive contents in src/main/jniLibs
|
||||||
cd $(Build.ArtifactStagingDirectory)/$(ARCH)
|
mkdir -p $(Build.ArtifactStagingDirectory)/lib/$(ANDROID_ABI_CMAKE)
|
||||||
cp -a $(PREFIX)/lib/* .
|
cd $(Build.ArtifactStagingDirectory)/lib/$(ANDROID_ABI_CMAKE)
|
||||||
|
cp -LR $(PREFIX)/lib/* .
|
||||||
ls -Rg .
|
ls -Rg .
|
||||||
rm -rf *.dll *.alias gettext/ libtextstyle.* *.a *.la
|
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'
|
displayName: 'Collecting artifacts'
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
|
@ -634,7 +639,7 @@ jobs:
|
||||||
workingDirectory: '$(PREFIX)/lib'
|
workingDirectory: '$(PREFIX)/lib'
|
||||||
|
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
displayName: 'Publishing Artefacts for Android API$(ANDROID_API) $(ARCH)'
|
displayName: 'Publishing Artefacts for Android API$(ANDROID_API) $(ANDROID_ABI_CMAKE)'
|
||||||
inputs:
|
inputs:
|
||||||
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
|
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
|
||||||
ArtifactName: '$(ARTIFACT_NAME)'
|
ArtifactName: '$(ARTIFACT_NAME)'
|
||||||
|
|
Loading…
Reference in a new issue