chore(ci): add ci #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- add-ci | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
target: | |
- initrd | |
- rootfs | |
- kernel | |
arch: | |
- arm64 | |
- amd64 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Update kernel submodules | |
if: ${{ matrix.target == 'kernel'}} | |
run: git submodule update --init kernel | |
- name: Update buildroot submodules | |
if: ${{ matrix.target != 'kernel'}} | |
run: git submodule update --init buildroot | |
- name: Defconfig | |
run: make ${{ matrix.target }}-${{ matrix.arch }}-defconfig | |
- name: Build | |
run: make ${{ matrix.target }}-${{ matrix.arch }}-build | |
- name: List file | |
run: make print-outpath-${{ matrix.target }}-${{ matrix.arch }} |