Skip to content

Fix macOS CI: Update Vulkan toolchain and migrate to winit 0.30/ash 0.38 APIs #141

Fix macOS CI: Update Vulkan toolchain and migrate to winit 0.30/ash 0.38 APIs

Fix macOS CI: Update Vulkan toolchain and migrate to winit 0.30/ash 0.38 APIs #141

Workflow file for this run

name: macOS CI Build
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
CARGO_TERM_COLOR: always
jobs:
macos-build:
runs-on: macos-latest
env:
VCPKG_FEATURE_FLAGS: manifests
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Install Deps
run: |
brew install automake fdk-aac git lame libass libtool libvorbis libvpx opus sdl shtool texi2html theora wget x264 x265 xvid nasm
# Install Vulkan tools via Homebrew (includes glslc shader compiler)
brew install molten-vk vulkan-headers vulkan-loader vulkan-tools
- name: Cache ffmpeg
uses: actions/cache@v3
with:
path: vcpkg_installed
key: ${{ runner.os }}-build-ffmpeg
- name: Install ffmpeg
run: |
vcpkg x-update-baseline
vcpkg install --triplet=arm64-osx
vcpkg integrate install
- name: Build
run: cargo build --workspace --release --verbose