Fix Windows CI

Remove fake pkg-config
This commit is contained in:
Tom M 2020-12-11 12:22:00 +01:00 committed by GitHub
parent 9b485fad7c
commit f6276a14ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,6 +49,7 @@ jobs:
mv -f * .. mv -f * ..
cd .. cd ..
rmdir $(Build.ArtifactStagingDirectory)\libinstpatch-$(platform)\ rmdir $(Build.ArtifactStagingDirectory)\libinstpatch-$(platform)\
DEL /F C:\Strawberry\perl\bin\pkg-config.bat
displayName: 'Prerequisites' displayName: 'Prerequisites'
- script: | - script: |
@ECHO ON @ECHO ON
@ -122,6 +123,7 @@ jobs:
REM need to fix the naming of libsndfile otherwise the linker won't find it 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.lib lib\sndfile.lib || exit -1
mv lib\libsndfile-1.def lib\sndfile.def || exit -1 mv lib\libsndfile-1.def lib\sndfile.def || exit -1
DEL /F C:\Strawberry\perl\bin\pkg-config.bat
displayName: 'Prerequisites' displayName: 'Prerequisites'
- script: | - script: |
@ECHO ON @ECHO ON
@ -182,6 +184,7 @@ jobs:
mv lib\libsndfile-1.def lib\sndfile.def || exit -1 mv lib\libsndfile-1.def lib\sndfile.def || exit -1
cd mingw*\ && cp -rf * .. && cd .. && rm -rf mingw* || 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 cd $(Build.ArtifactStagingDirectory)\libinstpatch-$(platform) && cp -rf * d:\deps\ && mv -f * .. && cd .. && rmdir $(Build.ArtifactStagingDirectory)\libinstpatch-$(platform)\ || exit -1
DEL /F C:\Strawberry\perl\bin\pkg-config.bat
displayName: 'Prerequisites' displayName: 'Prerequisites'
- script: | - script: |
@ECHO ON @ECHO ON