From 5d739056f2a4d1f720476453fe505d06383f084b Mon Sep 17 00:00:00 2001 From: Prem Chaitanya Prathi Date: Thu, 5 Feb 2026 15:32:12 +0530 Subject: [PATCH] manual workflow to build libs for all platforms --- .github/workflows/ci-manual.yml | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/ci-manual.yml diff --git a/.github/workflows/ci-manual.yml b/.github/workflows/ci-manual.yml new file mode 100644 index 000000000..f9aea0e7d --- /dev/null +++ b/.github/workflows/ci-manual.yml @@ -0,0 +1,38 @@ +name: On-demand multi-platform build + +on: + 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' }} + + steps: + - name: Checkout requested ref + uses: actions/checkout@v4 + with: + ref: ${{ inputs.ref }} + + - name: Build libwaku + run: | + echo "Building ref=${{ inputs.ref }} for platform=${{ inputs.platform }}" + make libwaku + + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: libwaku-${{ inputs.platform }} + path: build/libwaku.*