Switch to vs2026 #273
This file contains hidden or 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, pull_request, workflow_dispatch] | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.x' | |
| - name: Install Homebrew packages | |
| run: | | |
| export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 | |
| brew update | |
| brew install ffmpeg lld llvm meson vapoursynth xxhash | |
| - name: Set environment variables for Clang/LLVM | |
| run: | | |
| echo "CC=/opt/homebrew/opt/llvm/bin/clang" >> $GITHUB_ENV | |
| echo "CXX=/opt/homebrew/opt/llvm/bin/clang++" >> $GITHUB_ENV | |
| echo "PATH=/opt/homebrew/opt/llvm/bin:$PATH" >> $GITHUB_ENV | |
| - name: Build | |
| run: | | |
| meson setup -Dcpp_link_args=-fuse-ld=lld build | |
| meson compile -C build |