Skip to content

Commit

Permalink
Merge pull request #1 from TechSmith/add-overlay-ports
Browse files Browse the repository at this point in the history
Build Cairo without LZO
  • Loading branch information
dchengTSC authored Aug 1, 2023
2 parents 347c540 + 15b10d8 commit e3b8132
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 32 deletions.
30 changes: 18 additions & 12 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ jobs:
cd vcpkg
./bootstrap-vcpkg.sh
displayName: Setup vcpkg
- bash: |
./vcpkg install pango:x64-osx-dynamic-release --overlay-triplets=$(Build.SourcesDirectory)/triplets
./vcpkg install pango:arm64-osx-dynamic-release --overlay-triplets=$(Build.SourcesDirectory)/triplets
./vcpkg install pango:x64-osx-dynamic-release
workingDirectory: vcpkg
displayName: Run vcpkg install
displayName: Run vcpkg install (x64-osx-dynamic-release)
- bash: |
./vcpkg install pango:arm64-osx-dynamic-release
workingDirectory: vcpkg
displayName: Run vcpkg install (arm64-osx-dynamic-release)
- bash: |
./vcpkg list > ../versions.txt
Expand Down Expand Up @@ -63,6 +67,7 @@ jobs:

###########################
- job: CreateWinPangoLibsViaVcpkg
#condition: eq(true, false) # disable job for now
pool:
vmImage: 'windows-2022'
steps:
Expand All @@ -73,8 +78,8 @@ jobs:
displayName: Setup vcpkg
- bash: |
./vcpkg.exe install pango:x64-windows-release --overlay-triplets=$(Build.SourcesDirectory)/triplets
workingDirectory: vcpkg
./vcpkg/vcpkg.exe install pango:x64-windows-dynamic-release
workingDirectory: $(Build.SourcesDirectory)
displayName: Run vcpkg install
- bash: |
Expand All @@ -84,26 +89,26 @@ jobs:
displayName: Save library versions to a text and json file
- bash: |
ls -l vcpkg/installed/x64-windows-release/include
ls -l vcpkg/installed/x64-windows-release/lib
ls -l vcpkg/installed/x64-windows-dynamic-release/include
ls -l vcpkg/installed/x64-windows-dynamic-release/lib
displayName: DEBUGGING
- bash: |
ls -l
rm -rf tools
rm -rf share
rm -rf debug # shouldn't need this
workingDirectory: vcpkg/installed/x64-windows-release
workingDirectory: vcpkg/installed/x64-windows-dynamic-release
displayName: Remove stuff we don't want
- bash: |
cp versions.txt vcpkg/installed/x64-windows-release
cp versions.json vcpkg/installed/x64-windows-release
cp versions.txt vcpkg/installed/x64-windows-dynamic-release
cp versions.json vcpkg/installed/x64-windows-dynamic-release
displayName: Copy versions.txt/json to archive stage
- task: ArchiveFiles@2
inputs:
rootFolderOrFile: vcpkg/installed/x64-windows-release
rootFolderOrFile: vcpkg/installed/x64-windows-dynamic-release
archiveType: 'tar'
archiveFile: '$(Build.ArtifactStagingDirectory)/WinPango.tar.gz'
verbose: true # boolean. Force verbose output. Default: false.
Expand All @@ -114,3 +119,4 @@ jobs:
inputs:
pathToPublish: $(Build.ArtifactStagingDirectory)/WinPango.tar.gz
artifactName: WinPango

8 changes: 0 additions & 8 deletions triplets/arm64-osx-dynamic-release.cmake

This file was deleted.

8 changes: 0 additions & 8 deletions triplets/x64-osx-dynamic-release.cmake

This file was deleted.

4 changes: 0 additions & 4 deletions triplets/x64-windows-dynamic-release.cmake

This file was deleted.

0 comments on commit e3b8132

Please sign in to comment.