Skip to content

ci-staging: split build action #3

ci-staging: split build action

ci-staging: split build action #3

Workflow file for this run

name: 'Linux Release Builds'
on:
workflow_call:
inputs:
do_package:
required: false
type: boolean
default: false
do_package_symbols:
required: false
type: boolean
default: false
retention_days:
required: false
type: number
default: 14
run_build:
required: true
type: boolean
jobs:
ci-testing:
name: Linux Build
environment: public-github-runners
runs-on: ubuntu-22.04
if: inputs.run_build == true
steps:

Check failure on line 28 in .github/workflows/build-linux.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-linux.yml

Invalid workflow file

You have an error in your yaml syntax on line 28
- name: checkout workflows and actions
uses: actions/checkout@v3
with:
sparse-checkout: '.github/**'
submodules: false
- name: setup build environment
uses: ./.github/actions/sil-kit-ci-setup-build-environment
id: setup-build-environment
with:
preset-name: linux-release
do-package: ${{ inputs.do_package }}
retention-days: ${{ env.retention_days }}
- name: configure build
uses: ./.github/actions/sil-kit-ci-configure-build
id: configure-build
with:
preset-name: linux-release
do-package: ${{ inputs.do_package }}
retention-days: ${{ env.retention_days }}
# - name: pull docker container
# run: docker pull ghcr.io/mariusbgm/sil-kit-ci-ubuntu-22.04:main
# clang14-release:
# name: Clang 14 release Builds for Ubuntu 22.04
# environment: public-github-runners
# runs-on: ubuntu-22.04
# if: inputs.run_build == true
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: true
# - uses: ./.github/actions/build-cmake-preset
# with:
# preset-name: clang14-release
# do-package: ${{ inputs.do_package }}
# retention-days: ${{ inputs.retention_days }}
#
# gcc-release:
# name: GCC release Builds for Ubuntu 22.04
# environment: public-github-runners
# runs-on: ubuntu-latest
# container:
# image: ghcr.io/mariusbgm/sil-kit-ci-ubuntu-22.04:main
# if: inputs.run_build == true
# steps:
# - name: git checkout
# uses: actions/checkout@v1
# with:
# submodules: true
# - name: GCC release build
# uses: ./.github/actions/build-cmake-preset
# id: build
# with:
# preset-name: linux-release
# do-package: ${{ inputs.do_package }}
# retention-days: ${{ env.retention_days }}