Skip to content

Replace python script with tracegen #4843

Replace python script with tracegen

Replace python script with tracegen #4843

name: Build binaries
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ (github.event.pull_request && github.event.pull_request.number) || github.ref || github.run_id }}
cancel-in-progress: true
# See https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
permissions:
contents: read
jobs:
build-binaries:
runs-on: ubuntu-latest
strategy:
matrix:
platform:
- name: linux
task: build-binaries-linux
- name: windows
task: build-binaries-windows
- name: osx
task: build-binaries-darwin
- name: osx-m1
task: build-binaries-darwin-arm64
- name: system/390
task: build-binaries-s390x
- name: arm
task: build-binaries-arm64
- name: powerpc
task: build-binaries-ppc64le
name: build binaries for ${{ matrix.platform.name }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
with:
submodules: true
- name: Fetch git tags
run: |
git fetch --prune --unshallow --tags
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe
with:
go-version: 1.21.x
- name: Setup Node.js version
uses: ./.github/actions/setup-node.js
- name: Export BRANCH variable
uses: ./.github/actions/setup-branch
- name: Install tools
run: make install-ci
- name: Build binaries
run: make ${{ matrix.platform.task }}