mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-18 03:24:05 -08:00
25 lines
618 B
YAML
25 lines
618 B
YAML
|
name: Build
|
||
|
inputs:
|
||
|
thread:
|
||
|
type: integer
|
||
|
description: Current thread
|
||
|
required: true
|
||
|
default: 3
|
||
|
parallelism:
|
||
|
type: integer
|
||
|
description: Number of builds to do in parallel
|
||
|
default: 3
|
||
|
promu_opts:
|
||
|
type: string
|
||
|
description: Options to pass to promu
|
||
|
runs:
|
||
|
using: composite
|
||
|
steps:
|
||
|
- uses: ./.github/actions/setup_environment
|
||
|
- run: ~/go/bin/promu crossbuild -v --parallelism ${{ inputs.parallelism }} --parallelism-thread ${{ inputs.thread }} ${{ inputs.promu_opts }}
|
||
|
shell: bash
|
||
|
- uses: actions/upload-artifact@v3
|
||
|
with:
|
||
|
path: |
|
||
|
.build
|