ci: try fix of ICE with VS version #142
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: | |
macos12: | |
runs-on: "macos-12" | |
strategy: | |
fail-fast: false | |
matrix: | |
triplet: [x64-osx, arm64-ios] | |
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/install-package@v1 | |
# with: | |
# brew: curl bison nasm yasm meson nuget pkg-config | |
- 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/cache@v3 | |
with: | |
key: "v2350-${{ runner.os }}-${{ matrix.triplet }}" | |
path: | | |
/usr/local/share/vcpkg-downloads | |
/usr/local/share/vcpkg-archives | |
- uses: ConorMacBride/install-package@v1 | |
with: | |
brew: ninja autoconf automake libtool | |
- uses: lukka/run-vcpkg@v11 | |
timeout-minutes: 180 | |
with: | |
vcpkgDirectory: "/usr/local/share/vcpkg" # see VCPKG_INSTALLATION_ROOT | |
vcpkgGitCommitId: "a42af01b72c28a8e1d7b48107b33e4f286a55ef6" # 2023.11.20 | |
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: "${{ matrix.triplet }}" |