From 6bb21305adcf8155a8488bc69ebddd4edc710930 Mon Sep 17 00:00:00 2001 From: duckyriley Date: Mon, 23 Nov 2026 20:50:50 +0800 Subject: Support macOS app bundles and document Linux distro builds --- .github/workflows/macos.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/macos.yml (limited to '.github/workflows/macos.yml') diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 0000000..55c5d67 --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,30 @@ +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" -- cgit v1.2.3