Skip to content

Commit

Permalink
build arm64 packages
Browse files Browse the repository at this point in the history
  • Loading branch information
justusranvier committed Dec 21, 2023
1 parent 6c6edd0 commit 9e101c9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,24 @@ on: [push, pull_request]
jobs:
job:
name: ${{ matrix.platform }}-${{ github.workflow }}
runs-on: ${{ matrix.platform }}
runs-on: ${{ matrix.runner }}
strategy:
fail-fast: false
matrix:
platform: [macos-13, windows-2022]
platform: [macos-13, macos-13-arm64, windows-2022]
include:
- platform: macos-13
vcpkg: '/usr/local/share/vcpkg'
runner: 'macos-13'
triplet: 'x64-osx-13'
- platform: macos-13-arm64
runner: 'macos-13-xlarge'
triplet: 'arm64-osx-13'
- platform: windows-2022
vcpkg: 'C:\vcpkg'
runner: 'windows-2022'
triplet: 'x64-windows'
env:
VCPKG_COMMIT_ID: '45f34d72b947e078be51cb33f0f9b9e8d5412983'
VCPKG_ROOT: '${{ matrix.vcpkg }}'
VCPKG_ROOT: '${{ github.workspace }}/vcpkg'
VCPKG_INSTALLED_DIR: '${{ github.workspace }}/deps/vcpkg_installed/${{ matrix.platform }}'
VCPKG_DEFAULT_TRIPLET: '${{ matrix.triplet }}'
VCPKG_OVERLAY_TRIPLETS: '${{ github.workspace }}/overlay/triplets'
Expand All @@ -34,8 +37,8 @@ jobs:
rm -rvf '${JAVA_HOME_13_X64}'
rm -rvf '${JAVA_HOME_17_X64}'
rm -rvf '${JAVA_HOME_8_X64}'
rm -rvf '${{ matrix.vcpkg }}'
rm -rvf '/Users/runner/Library/Android'
rm -rvf '/usr/local/share/vcpkg'
rm -rvf 'C:\Android'
rm -rvf 'C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools'
rm -rvf 'C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools'
Expand All @@ -45,6 +48,7 @@ jobs:
rm -rvf 'C:\selenium'
rm -rvf 'C:\tools\Apache24'
rm -rvf 'C:\tools\nginx-1.23.1'
rm -rvf 'C:\vcpkg'
shell: bash
continue-on-error: true
- name: Setup XCode
Expand All @@ -68,7 +72,7 @@ jobs:
- name: Run vcpkg
uses: lukka/run-vcpkg@v11
with:
vcpkgDirectory: '${{ env.VCPKG_ROOT }}'
vcpkgDirectory: '${{ github.workspace }}/vcpkg'
vcpkgGitCommitId: '${{ env.VCPKG_COMMIT_ID }}'
vcpkgJsonGlob: 'vcpkg.json'
runVcpkgInstall: true
Expand Down
Empty file.
2 changes: 1 addition & 1 deletion overlay

0 comments on commit 9e101c9

Please sign in to comment.