Skip to content

upgrade to boost-1.184.0 and build macos-14 artifacts #41

upgrade to boost-1.184.0 and build macos-14 artifacts

upgrade to boost-1.184.0 and build macos-14 artifacts #41

Workflow file for this run

name: vcpkg
on: [push, pull_request]
jobs:
job:
name: ${{ matrix.platform }}-${{ github.workflow }}
runs-on: ${{ matrix.runner }}
strategy:
fail-fast: false
matrix:
platform: [macos-14-intel, macos-14-arm, windows-2022]
include:
- platform: macos-14-intel
runner: 'macos-13-large'
vcpkg: '${{ github.workspace }}/vcpkg'
triplet: 'x64-osx-14'
- platform: macos-14-arm
runner: 'macos-13-xlarge'
vcpkg: '${{ github.workspace }}/vcpkg'
triplet: 'arm64-osx-14'
- platform: windows-2022
runner: 'windows-2022-xl8'
vcpkg: 'C:\vcpkg'
triplet: 'x64-windows'
env:
VCPKG_COMMIT_ID: '8ccb84df727bdf83045e53c319af05c554838b80'
VCPKG_ROOT: '${{ matrix.vcpkg }}'
VCPKG_INSTALLED_DIR: '${{ github.workspace }}/deps/vcpkg_installed/${{ matrix.platform }}'
VCPKG_DEFAULT_TRIPLET: '${{ matrix.triplet }}'
VCPKG_OVERLAY_TRIPLETS: '${{ github.workspace }}/overlay/triplets'
VCPKG_OVERLAY_PORTS: '${{ github.workspace }}/overlay/ports'
steps:
# - name: Get more disk space
# run: |
# rm -rvf '${GOROOT_1_17_X64}'
# rm -rvf '${GOROOT_1_18_X64}'
# rm -rvf '${GOROOT_1_19_X64}'
# rm -rvf '${JAVA_HOME_11_X64}'
# 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 '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'
# rm -rvf 'C:\Program Files\dotnet'
# rm -rvf 'C:\Program Files\dotnet'
# rm -rvf 'C:\SeleniumWebDrivers'
# rm -rvf 'C:\selenium'
# rm -rvf 'C:\tools\Apache24'
# rm -rvf 'C:\tools\nginx-1.23.1'
# shell: bash
# continue-on-error: true
- name: Setup XCode
if: runner.os == 'macOS'
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Install missing dependencies
run: |
if [ "$RUNNER_OS" == "macOS" ]; then
brew install autoconf-archive automake libtool md4c
fi
shell: bash
- name: Checkout source
uses: actions/checkout@v3
with:
fetch-depth: '0'
submodules: 'recursive'
- name: Update cmake
uses: lukka/get-cmake@latest
- name: Run vcpkg
uses: lukka/run-vcpkg@v11
with:
vcpkgDirectory: '${{ env.VCPKG_ROOT }}'
vcpkgGitCommitId: '${{ env.VCPKG_COMMIT_ID }}'
vcpkgJsonGlob: 'vcpkg.json'
runVcpkgInstall: true
- name: Compress packages
run: |
tar -czpf '${{ github.workspace }}/${{ matrix.platform }}.tar.gz' -C '${{ github.workspace }}/deps/vcpkg_installed' '${{ matrix.platform }}'
- name: Upload packages
uses: actions/upload-artifact@v3
with:
name: 'packages-${{ matrix.platform }}'
path: '${{ github.workspace }}/${{ matrix.platform }}.tar.gz'