mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Add generate build graphs
This commit is contained in:
23
.github/workflows/rootfs.yml
vendored
23
.github/workflows/rootfs.yml
vendored
@@ -50,6 +50,11 @@ jobs:
|
|||||||
make miyoo_uclibc_defconfig
|
make miyoo_uclibc_defconfig
|
||||||
make sdk
|
make sdk
|
||||||
|
|
||||||
|
- name: generate-graphs
|
||||||
|
run: |
|
||||||
|
cd ${{ inputs.submodule || '.' }}
|
||||||
|
sudo apt update && sudo apt install -y python3-matplotlib python3-numpy
|
||||||
|
make graph-build
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
@@ -63,6 +68,12 @@ jobs:
|
|||||||
path: ${{ inputs.submodule || '.' }}/output/images/arm-miyoo-linux-uclibcgnueabi_sdk-buildroot.tar.gz
|
path: ${{ inputs.submodule || '.' }}/output/images/arm-miyoo-linux-uclibcgnueabi_sdk-buildroot.tar.gz
|
||||||
if-no-files-found: error # 'error', 'warn', 'ignore'; defaults to `warn`
|
if-no-files-found: error # 'error', 'warn', 'ignore'; defaults to `warn`
|
||||||
|
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: build-graphs (uClibc)
|
||||||
|
path: ${{ inputs.submodule || '.' }}/output/graphs/
|
||||||
|
if-no-files-found: error # 'error', 'warn', 'ignore'; defaults to `warn`
|
||||||
|
|
||||||
build-image-musl:
|
build-image-musl:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
env:
|
env:
|
||||||
@@ -102,6 +113,12 @@ jobs:
|
|||||||
make miyoo_musl_defconfig
|
make miyoo_musl_defconfig
|
||||||
make sdk
|
make sdk
|
||||||
|
|
||||||
|
- name: generate-graphs
|
||||||
|
run: |
|
||||||
|
cd ${{ inputs.submodule || '.' }}
|
||||||
|
sudo apt update && sudo apt install -y python3-matplotlib python3-numpy
|
||||||
|
make graph-build
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: build image (musl)
|
name: build image (musl)
|
||||||
@@ -113,3 +130,9 @@ jobs:
|
|||||||
name: SDK (musl)
|
name: SDK (musl)
|
||||||
path: ${{ inputs.submodule || '.' }}/output/images/arm-miyoo-linux-musleabi_sdk-buildroot.tar.gz
|
path: ${{ inputs.submodule || '.' }}/output/images/arm-miyoo-linux-musleabi_sdk-buildroot.tar.gz
|
||||||
if-no-files-found: error # 'error', 'warn', 'ignore'; defaults to `warn`
|
if-no-files-found: error # 'error', 'warn', 'ignore'; defaults to `warn`
|
||||||
|
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: build-graphs (musl)
|
||||||
|
path: ${{ inputs.submodule || '.' }}/output/graphs/
|
||||||
|
if-no-files-found: error # 'error', 'warn', 'ignore'; defaults to `warn`
|
Reference in New Issue
Block a user