Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Cairo without LZO #1

Merged
merged 3 commits into from
Aug 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
dchengTSC marked this conversation as resolved.
Show resolved Hide resolved
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.