diff options
| author | duckyriley <[email protected]> | 2026-11-23 20:50:50 +0800 |
|---|---|---|
| committer | duckyriley <[email protected]> | 2026-11-23 20:50:50 +0800 |
| commit | 6bb21305adcf8155a8488bc69ebddd4edc710930 (patch) | |
| tree | a607bd6c2d63d3c4c51e8a395cc8ec0e1cf43d28 /.github | |
| parent | 24d7f554d00901841810b856b44d5763cbc5bd76 (diff) | |
| download | ducky-6bb21305adcf8155a8488bc69ebddd4edc710930.tar.gz ducky-6bb21305adcf8155a8488bc69ebddd4edc710930.zip | |
Support macOS app bundles and document Linux distro builds
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/macos.yml | 30 |
1 files changed, 30 insertions, 0 deletions
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" |