pal3: Refine state menu #336
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 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 Rust toolchain | |
| uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| toolchain: stable | |
| rustflags: '' | |
| - name: Install Deps | |
| run: | | |
| brew install nasm molten-vk vulkan-headers vulkan-loader shaderc | |
| - name: Cache ffmpeg | |
| id: cache-ffmpeg | |
| uses: actions/cache@v3 | |
| with: | |
| path: vcpkg_installed | |
| key: ${{ runner.os }}-vcpkg-${{ hashFiles('vcpkg.json') }} | |
| - name: Install ffmpeg | |
| if: steps.cache-ffmpeg.outputs.cache-hit != 'true' | |
| run: | | |
| vcpkg install --triplet=arm64-osx | |
| - name: Build | |
| run: cargo build --workspace --release --verbose |