mirror of
https://github.com/brain-hackers/buildbrain
synced 2025-01-03 01:50:12 +09:00
Generate listconfig
This commit is contained in:
parent
88ee1a04fc
commit
38bf49bd68
17
.github/workflows/build.yml
vendored
17
.github/workflows/build.yml
vendored
@ -39,7 +39,11 @@ jobs:
|
|||||||
- name: Workaround for apt update failure
|
- name: Workaround for apt update failure
|
||||||
run: sudo rm /etc/apt/sources.list.d/github_git-lfs.*
|
run: sudo rm /etc/apt/sources.list.d/github_git-lfs.*
|
||||||
- name: Install deps
|
- 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
|
- name: Configure for Linux
|
||||||
run: make ldefconfig
|
run: make ldefconfig
|
||||||
- name: Build Linux
|
- name: Build Linux
|
||||||
@ -63,6 +67,17 @@ jobs:
|
|||||||
asset_path: release.zip
|
asset_path: release.zip
|
||||||
asset_name: ${{ steps.archive_name.outputs.name }}.zip
|
asset_name: ${{ steps.archive_name.outputs.name }}.zip
|
||||||
asset_content_type: application/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:
|
build-uboot:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
Loading…
Reference in New Issue
Block a user