Merge pull request #23 from tiopex/master

Add generate build graphs
This commit is contained in:
tiopex
2023-03-28 11:14:18 +02:00
committed by GitHub

View File

@@ -49,7 +49,12 @@ jobs:
#apt update && apt install -y wget unzip build-essential git bc swig libncurses-dev libpython3-dev libssl-dev cpio rsync subversion
make miyoo_uclibc_defconfig
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
with:
@@ -63,6 +68,12 @@ jobs:
path: ${{ inputs.submodule || '.' }}/output/images/arm-miyoo-linux-uclibcgnueabi_sdk-buildroot.tar.gz
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:
runs-on: ubuntu-22.04
env:
@@ -101,6 +112,12 @@ jobs:
#apt update && apt install -y wget unzip build-essential git bc swig libncurses-dev libpython3-dev libssl-dev cpio rsync subversion
make miyoo_musl_defconfig
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
with:
@@ -113,3 +130,9 @@ jobs:
name: SDK (musl)
path: ${{ inputs.submodule || '.' }}/output/images/arm-miyoo-linux-musleabi_sdk-buildroot.tar.gz
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`