mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
[DEFCONFIG/ACTIONS] add static uClibc & musl SDK build (#49)
- striped defconfigs with static libs to build working toolchains - disable PARTED & GDB on static uClibc - update actions with static toolchains output
This commit is contained in:
78
.github/workflows/build.yml
vendored
78
.github/workflows/build.yml
vendored
@@ -151,3 +151,81 @@ jobs:
|
||||
name: rootfs (musl)
|
||||
path: ${{ inputs.submodule || '.' }}/output/images/rootfs.ext4
|
||||
if-no-files-found: error # 'error', 'warn', 'ignore'; defaults to `warn`
|
||||
|
||||
build-sdk-uclibc-static:
|
||||
runs-on: ubuntu-22.04
|
||||
env:
|
||||
FORCE_UNSAFE_CONFIGURE: 1
|
||||
steps:
|
||||
- name: Maximize build space
|
||||
uses: easimon/maximize-build-space@v8
|
||||
with:
|
||||
overprovision-lvm: true
|
||||
remove-dotnet: true
|
||||
remove-android: true
|
||||
remove-haskell: true
|
||||
remove-codeql: true
|
||||
remove-docker-images: true
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
- if: inputs.submodule
|
||||
run: git submodule update --init --depth 1 -- ${{ inputs.submodule }}
|
||||
|
||||
- name: retrieve ccache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.buildroot-ccache
|
||||
key: ${{ inputs.submodule }}uclibc-static-ccache-${{ github.sha }}
|
||||
restore-keys: |
|
||||
${{ inputs.submodule }}uclibc-static-ccache-
|
||||
|
||||
- name: build
|
||||
run: |
|
||||
cd ${{ inputs.submodule || '.' }}
|
||||
make miyoo_uclibc_static_defconfig
|
||||
make sdk
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: SDK (uclibc_static)
|
||||
path: ${{ inputs.submodule || '.' }}/output/images/arm-miyoo-linux-uclibcgnueabi_sdk-buildroot.tar.gz
|
||||
if-no-files-found: error # 'error', 'warn', 'ignore'; defaults to `warn`
|
||||
|
||||
build-sdk-musl-static:
|
||||
runs-on: ubuntu-22.04
|
||||
env:
|
||||
FORCE_UNSAFE_CONFIGURE: 1
|
||||
steps:
|
||||
- name: Maximize build space
|
||||
uses: easimon/maximize-build-space@v8
|
||||
with:
|
||||
overprovision-lvm: true
|
||||
remove-dotnet: true
|
||||
remove-android: true
|
||||
remove-haskell: true
|
||||
remove-codeql: true
|
||||
remove-docker-images: true
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
- if: inputs.submodule
|
||||
run: git submodule update --init --depth 1 -- ${{ inputs.submodule }}
|
||||
|
||||
- name: retrieve ccache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.buildroot-ccache
|
||||
key: ${{ inputs.submodule }}musl-static-ccache-${{ github.sha }}
|
||||
restore-keys: |
|
||||
${{ inputs.submodule }}musl-static-ccache-
|
||||
|
||||
- name: build
|
||||
run: |
|
||||
cd ${{ inputs.submodule || '.' }}
|
||||
make miyoo_musl_static_defconfig
|
||||
make sdk
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: SDK (musl_static)
|
||||
path: ${{ inputs.submodule || '.' }}/output/images/arm-miyoo-linux-musleabi_sdk-buildroot.tar.gz
|
||||
if-no-files-found: error # 'error', 'warn', 'ignore'; defaults to `warn`
|
||||
|
Reference in New Issue
Block a user