mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-06 19:00:50 +02:00
59 lines
1.5 KiB
YAML
59 lines
1.5 KiB
YAML
name: Onboard to Membrowse
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
num_commits:
|
|
description: 'Number of commits to process'
|
|
required: true
|
|
default: '100'
|
|
type: string
|
|
|
|
jobs:
|
|
load-targets:
|
|
runs-on: ubuntu-24.04
|
|
timeout-minutes: 10
|
|
outputs:
|
|
matrix: ${{ steps.set-matrix.outputs.matrix }}
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Load target matrix
|
|
id: set-matrix
|
|
run: echo "matrix=$(jq -c '.' .github/membrowse-targets.json)" >> $GITHUB_OUTPUT
|
|
|
|
onboard:
|
|
needs: load-targets
|
|
runs-on: ubuntu-24.04
|
|
timeout-minutes: 10
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include: ${{ fromJson(needs.load-targets.outputs.matrix) }}
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v5
|
|
with:
|
|
fetch-depth: 0
|
|
submodules: recursive
|
|
|
|
- name: Install packages
|
|
uses: ./.github/actions/install-apt-deps
|
|
with:
|
|
packages: ${{ matrix.apt_packages }}
|
|
|
|
- name: Run Membrowse Onboard Action
|
|
uses: membrowse/membrowse-action/onboard-action@v1
|
|
with:
|
|
target_name: ${{ matrix.target_name }}
|
|
num_commits: ${{ github.event.inputs.num_commits }}
|
|
build_script: ${{ matrix.build_cmd }}
|
|
elf: ${{ matrix.elf }}
|
|
ld: ${{ matrix.ld }}
|
|
linker_vars: ${{ matrix.linker_vars }}
|
|
binary_search: 'true'
|
|
api_key: ${{ secrets.MEMBROWSE_API_KEY }}
|
|
api_url: ${{ vars.MEMBROWSE_API_URL }}
|