From 552a5abbbee8539b71d6c177861b5a9765e5a0f0 Mon Sep 17 00:00:00 2001 From: Prem Chaitanya Prathi Date: Thu, 5 Feb 2026 15:41:07 +0530 Subject: [PATCH] Update workflow to build libwaku on all platforms --- .github/workflows/ci-manual.yml | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci-manual.yml b/.github/workflows/ci-manual.yml index f9aea0e7d..879380cb9 100644 --- a/.github/workflows/ci-manual.yml +++ b/.github/workflows/ci-manual.yml @@ -1,38 +1,42 @@ name: On-demand multi-platform build on: + push: + branches: + - poc/logos-testnet-mix workflow_dispatch: inputs: ref: description: "Branch, tag, or commit SHA to build" required: true default: "master" - platform: - description: "Target platform" - required: true - type: choice - options: - - linux - - windows - - macos jobs: build: - runs-on: ${{ inputs.platform == 'linux' && 'ubuntu-latest' || inputs.platform == 'windows' && 'windows-latest' || 'macos-latest' }} + strategy: + matrix: + include: + - platform: linux + runner: ubuntu-latest + - platform: windows + runner: windows-latest + - platform: macos + runner: macos-latest + runs-on: ${{ matrix.runner }} steps: - name: Checkout requested ref uses: actions/checkout@v4 with: - ref: ${{ inputs.ref }} + ref: ${{ inputs.ref || github.ref }} - name: Build libwaku run: | - echo "Building ref=${{ inputs.ref }} for platform=${{ inputs.platform }}" + echo "Building ref=${{ inputs.ref || github.ref }} for platform=${{ matrix.platform }}" make libwaku - name: Upload artifacts uses: actions/upload-artifact@v4 with: - name: libwaku-${{ inputs.platform }} + name: libwaku-${{ matrix.platform }} path: build/libwaku.*