Skip to content

ci: install g++-11 in Ubuntu 22.04 #469

ci: install g++-11 in Ubuntu 22.04

ci: install g++-11 in Ubuntu 22.04 #469

Workflow file for this run

name: "macOS"
on: [push, workflow_dispatch]
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
env:
VCPKG_FEATURE_FLAGS: "registries,binarycaching,manifests,versions"
jobs:
overlay:
runs-on: "macos-13"
strategy:
matrix:
include:
- vcpkg_tag: "2024.03.25"
vcpkg_commit: "a34c873a9717a888f58dc05268dea15592c2f0ff"
- vcpkg_tag: "2024.04.26"
vcpkg_commit: "943c5ef1c8f6b5e6ced092b242c8299caae2ff01"
fail-fast: false
env:
VCPKG_DOWNLOADS: "/usr/local/share/vcpkg-downloads"
VCPKG_DEFAULT_BINARY_CACHE: "/usr/local/share/vcpkg-archives"
VCPKG_OVERLAY_PORTS: "${{ github.workspace }}/ports"
VCPKG_OVERLAY_TRIPLETS: ${{ github.workspace }}/triplets
steps:
- uses: actions/checkout@v4.1.1
- uses: ConorMacBride/install-package@v1.1.0
with:
brew: ninja autoconf automake libtool
# - uses: mobiledevops/xcode-select-version-action@v1.0.0
# with:
# xcode-select-version: "15.2"
- name: "create cache folders"
run: |
mkdir -p ${VCPKG_DOWNLOADS}
mkdir -p ${VCPKG_DEFAULT_BINARY_CACHE}
- uses: actions/cache@v4.0.0
with:
key: "v2419-${{ runner.os }}-${{ matrix.vcpkg_tag }}"
path: |
/usr/local/share/vcpkg-downloads
/usr/local/share/vcpkg-archives
- uses: lukka/run-vcpkg@v11.5
with:
vcpkgDirectory: "/usr/local/share/vcpkg" # see VCPKG_INSTALLATION_ROOT
vcpkgGitCommitId: "${{ matrix.vcpkg_commit }}"
vcpkgJsonGlob: "test/vcpkg.json"
runVcpkgInstall: true
runVcpkgFormatString: '[`install`, `--keep-going`, `--clean-buildtrees-after-build`, `--clean-packages-after-build`, `--triplet`, `$[env.VCPKG_DEFAULT_TRIPLET]`]'
env:
VCPKG_DEFAULT_TRIPLET: "x64-osx"
VCPKG_BINARY_SOURCES: "default;${{ secrets.VCPKG_BINARY_SOURCES }}"
- uses: lukka/run-vcpkg@v11.5
with:
vcpkgDirectory: "/usr/local/share/vcpkg" # see VCPKG_INSTALLATION_ROOT
vcpkgGitCommitId: "${{ matrix.vcpkg_commit }}"
vcpkgJsonGlob: "test/vcpkg.json"
runVcpkgInstall: true
runVcpkgFormatString: '[`install`, `--keep-going`, `--clean-buildtrees-after-build`, `--clean-packages-after-build`, `--triplet`, `$[env.VCPKG_DEFAULT_TRIPLET]`]'
env:
VCPKG_DEFAULT_TRIPLET: "arm64-osx"
VCPKG_BINARY_SOURCES: "default;${{ secrets.VCPKG_BINARY_SOURCES }}"