From 38bf49bd68a3158508c0ac8bb1cbee972d6828b3 Mon Sep 17 00:00:00 2001 From: Takumi Sueda Date: Mon, 22 Mar 2021 03:47:17 +0900 Subject: [PATCH] Generate listconfig --- .github/workflows/build.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 574d84d..ca73053 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,7 +39,11 @@ jobs: - name: Workaround for apt update failure run: sudo rm /etc/apt/sources.list.d/github_git-lfs.* - name: Install deps - run: sudo apt update && sudo apt install build-essential bison flex libncurses5-dev gcc-arm-linux-gnueabi qemu-user-static debootstrap + run: sudo apt update && sudo apt install build-essential bison flex libncurses5-dev gcc-arm-linux-gnueabi qemu-user-static debootstrap python3-pip + - name: Upgrade pip and setuptools + run: pip3 install -U pip setuptools + - name: Install listconfig + run: pip3 install listconfig - name: Configure for Linux run: make ldefconfig - name: Build Linux @@ -63,6 +67,17 @@ jobs: asset_path: release.zip asset_name: ${{ steps.archive_name.outputs.name }}.zip asset_content_type: application/zip + - name: Generate listconfig + run: listconfig ./linux-brain/Kconfig ./linux-brain/.config > listconfig + - name: Upload listconfig + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ needs.create_release.outputs.upload_url }} + asset_path: listconfig + asset_name: listconfig + asset_content_type: text/plain build-uboot: runs-on: ubuntu-20.04