ci gh-actions: self-hosted runner's vcpkg to 2023.12.12 #170
Workflow file for this run
This file contains 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: "macOS" | |
on: [push, workflow_dispatch] | |
env: | |
VCPKG_FEATURE_FLAGS: "registries,binarycaching,manifests,versions" | |
jobs: | |
manifest: | |
runs-on: "macos-12" | |
strategy: | |
matrix: | |
include: | |
- vcpkg_tag: "2023.12.12" | |
vcpkg_commit: "c8696863d371ab7f46e213d8f5ca923c4aef2a00" | |
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/[email protected] | |
- uses: ConorMacBride/[email protected] | |
with: | |
brew: ninja autoconf automake libtool | |
- uses: actions/[email protected] | |
with: | |
python-version: '3.11' | |
cache: 'pip' | |
- name: "Run pip install" | |
run: pip install typing-extensions pyyaml numpy sympy | |
- name: "create cache folders" | |
run: | | |
mkdir -p ${VCPKG_DOWNLOADS} | |
mkdir -p ${VCPKG_DEFAULT_BINARY_CACHE} | |
- uses: actions/[email protected] | |
with: | |
key: "v2351-${{ runner.os }}-${{ matrix.vcpkg_tag }}" | |
path: | | |
/usr/local/share/vcpkg-downloads | |
/usr/local/share/vcpkg-archives | |
- uses: lukka/[email protected] | |
name: "Run run-vcpkg(x64-osx)" | |
with: | |
vcpkgDirectory: "/usr/local/share/vcpkg" # see VCPKG_INSTALLATION_ROOT | |
vcpkgGitCommitId: "${{ matrix.vcpkg_commit }}" | |
vcpkgJsonGlob: "test/vcpkg.json" | |
runVcpkgInstall: true | |
runVcpkgFormatString: '[`install`, `--clean-buildtrees-after-build`, `--clean-packages-after-build`, `--triplet`, `$[env.VCPKG_DEFAULT_TRIPLET]`]' | |
env: | |
VCPKG_DEFAULT_TRIPLET: "x64-osx" | |
VCPKG_BINARY_SOURCES: "default" | |
- uses: lukka/[email protected] | |
name: "Run run-vcpkg(arm64-osx)" | |
with: | |
vcpkgDirectory: "/usr/local/share/vcpkg" # see VCPKG_INSTALLATION_ROOT | |
vcpkgGitCommitId: "${{ matrix.vcpkg_commit }}" | |
vcpkgJsonGlob: "test/vcpkg.json" | |
runVcpkgInstall: true | |
runVcpkgFormatString: '[`install`, `--clean-buildtrees-after-build`, `--clean-packages-after-build`, `--triplet`, `$[env.VCPKG_DEFAULT_TRIPLET]`]' | |
env: | |
VCPKG_DEFAULT_TRIPLET: "arm64-osx" | |
VCPKG_BINARY_SOURCES: "default" |