Skip to content

APT-4788: Prebuilding (and then reusing) binaries for common targets … #13

APT-4788: Prebuilding (and then reusing) binaries for common targets …

APT-4788: Prebuilding (and then reusing) binaries for common targets … #13

Workflow file for this run

name: Prebuild binaries for build speed-up
on:
push:
branches-ignore:
- master
- develop
jobs:
prebuild:
name: Prebuild binaries for build speed-up
runs-on: ${{matrix.runner}}
strategy:
matrix:
runner: [ubuntu-20.04, linux_arm]
build_type: [Release]
fail-fast: true
max-parallel: 1 # To avoid conflicts when pushing generated binaries to git
env:
CC: gcc
STATIC_ANALYSIS: OFF
WITH_PYTHON: ON
steps:
- uses: actions/checkout@v3
- run: .github/workflows/sudo.sh ./install_dependencies.sh "${WITH_PYTHON}" "${STATIC_ANALYSIS}"
- run: .github/workflows/prebuild.sh "${{matrix.build_type}}" "${WITH_PYTHON}" "${STATIC_ANALYSIS}"
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Binaries prebuilt in ${{matrix.runner}}