name: macOS build on: push: pull_request: workflow_dispatch: jobs: build: strategy: matrix: os: [macos-15, macos-15-intel] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - name: Prepare Rust and native tools run: | rustup update stable rustup default stable brew install cmake pkgconf python if ! xcrun --find metal >/dev/null 2>&1; then xcodebuild -downloadComponent MetalToolchain fi - name: Test run: cargo test --locked - name: Build and package run: ./build.sh - name: Check installed configuration and app bundle run: | "$HOME/.local/bin/ducky" --check-config plutil -lint "$HOME/Applications/Ducky.app/Contents/Info.plist" codesign --verify --deep --strict "$HOME/Applications/Ducky.app"