Files
buildroot/.github/workflows/rootfs.yml
T
2023-10-20 00:21:57 +02:00

33 lines
874 B
YAML

name: Build SDK static musl
on:
push:
pull_request:
workflow_call:
inputs:
submodule:
description: The directory of the submodule, if this workflow is being called on a submodule
required: true
type: string
jobs:
rootfs:
runs-on: ubuntu-22.04
env:
FORCE_UNSAFE_CONFIGURE: 1
steps:
- uses: actions/checkout@v3
- if: inputs.submodule
run: git submodule update --init --depth 1 -- ${{ inputs.submodule }}
- name: build SDK static
run: |
cd ${{ inputs.submodule || '.' }}
make sdk
- uses: actions/upload-artifact@v3
with:
name: SDK (static-musl)
path: ${{ inputs.submodule || '.' }}/output/images/arm-buildroot-linux-musleabi_sdk-buildroot.tar.gz
if-no-files-found: error # 'error', 'warn', 'ignore'; defaults to `warn`