Skip to content

Commit

Permalink
ci: Allow flexible Rusk binary building in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
HDauven committed Dec 19, 2024
1 parent 71a27dd commit 2af5fdc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/rusk_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ on:
description: "Git branch, ref, or SHA to checkout"
required: true
default: "master"
targets_to_build:
description: "Choose targets to build (comma-separated)"
required: true
default: "ubuntu-24.04,macos-15,arm-linux"
features_to_build:
description: "Choose features to build (comma-separated)"
required: true
default: "default,archive"

jobs:
build_and_publish:
Expand All @@ -26,6 +34,11 @@ jobs:
- os: arm-linux
target: linux-arm64
flags: --target=aarch64-unknown-linux-gnu
fail-fast: false

if: |
contains(github.event.inputs.targets_to_build, ${{ matrix.os }}) &&
contains(github.event.inputs.features_to_build, ${{ matrix.features}})
steps:
- name: Checkout Repository
Expand Down

0 comments on commit 2af5fdc

Please sign in to comment.