42 lines
1 KiB
YAML
42 lines
1 KiB
YAML
name: "Build Test"
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
- develop
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build-test:
|
|
permissions:
|
|
contents: read
|
|
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-24.04"
|
|
args: ""
|
|
target: "x86_64-unknown-linux-gnu"
|
|
- platform: "windows-latest"
|
|
args: ""
|
|
target: "x86_64-pc-windows-msvc"
|
|
|
|
uses: ./.github/workflows/build.yml
|
|
with:
|
|
platform: ${{ matrix.platform }}
|
|
target: ${{ matrix.target }}
|
|
build-args: ${{ matrix.args }}
|
|
sign-binaries: false
|
|
asset-prefix: "handy-test"
|
|
upload-artifacts: true
|
|
secrets: inherit
|