diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e80fbe1160217c..f9c604a3a3aee1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: check_disk_space: df -h env: VCPKG_PACKAGES: >- - ableton + ableton-link benchmark chromaprint fdk-aac @@ -103,14 +103,21 @@ jobs: run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT working-directory: ${{ matrix.vcpkg_path }} + # python3-distutils is required for fontconfig but it has been removed in Python 3.12 + - name: Setup Python 3.11 + uses: actions/setup-python@v4 + with: + python-version: '3.11' + - name: Bootstrap vcpkg run: ${{ matrix.vcpkg_bootstrap }} working-directory: ${{ matrix.vcpkg_path }} + # FFmpeg requires nasm - name: "[macOS] Bootstrap vcpkg" if: runner.os == 'macOS' run: | - brew update && brew install nasm automake pkg-config + brew update && brew install nasm /bin/bash -c "sudo xcode-select --switch /Applications/Xcode_12.4.app/Contents/Developer" xcrun --show-sdk-version - name: Set up cache