Build Test #42
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: "Build Test" | |
| on: workflow_dispatch | |
| jobs: | |
| build-test: | |
| permissions: | |
| contents: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - platform: "macos-latest" # for Arm based macs (M1 and above). | |
| args: "--target aarch64-apple-darwin" | |
| target: "aarch64-apple-darwin" | |
| - platform: "macos-latest" # for Intel based macs. | |
| args: "--target x86_64-apple-darwin" | |
| target: "x86_64-apple-darwin" | |
| - platform: "ubuntu-22.04" # Build .deb on 22.04 | |
| args: "--bundles deb" | |
| target: "x86_64-unknown-linux-gnu" | |
| - platform: "ubuntu-24.04" # Build AppImage and RPM on 24.04 | |
| args: "--bundles appimage,rpm" | |
| target: "x86_64-unknown-linux-gnu" | |
| - platform: "windows-latest" | |
| args: "" | |
| target: "x86_64-pc-windows-msvc" | |
| - platform: "windows-11-arm" # for ARM64 Windows runner | |
| args: "--target aarch64-pc-windows-msvc" | |
| target: "aarch64-pc-windows-msvc" | |
| uses: ./.github/workflows/build.yml | |
| with: | |
| platform: ${{ matrix.platform }} | |
| target: ${{ matrix.target }} | |
| build-args: ${{ matrix.args }} | |
| sign-binaries: true | |
| asset-prefix: "handy-test" | |
| upload-artifacts: true | |
| is-debug-build: ${{ contains(matrix.args, '--debug') }} | |
| secrets: inherit |