ci(vcpkg): Update vcpkg baseline to fix gmp build on macos #1441
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build with vcpkg | |
on: [push, pull_request] | |
jobs: | |
job: | |
name: ${{ matrix.os }}-${{ github.workflow }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
include: | |
- os: windows-latest | |
triplet: x64-windows | |
- os: ubuntu-latest | |
triplet: x64-linux | |
- os: macos-latest | |
triplet: x64-osx | |
env: | |
VCPKG_DEFAULT_TRIPLET: ${{ matrix.triplet }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install Ninja (Ubuntu) | |
if: matrix.os == 'ubuntu-latest' | |
run: sudo apt-get update && sudo apt-get install -y ninja-build | |
- name: Install Ninja (macOS) | |
if: matrix.os == 'macos-latest' | |
run: brew install ninja autoconf automake libtool | |
- name: Restore from cache and run vcpkg | |
uses: lukka/run-vcpkg@v11 | |
id: runvcpkg | |
- name: Run CMake+vcpkg+NinjaMulti-Config (Release configuration) | |
uses: lukka/run-cmake@v10 | |
id: runcmake | |
with: | |
cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt' | |
configurePreset: 'ninja-multi-vcpkg' | |
buildPreset: 'ninja-multi-vcpkg' | |
buildPresetAdditionalArgs: '[`--config Release`]' |