Build kernel in CI #10
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: build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.run_id || github.head_ref || github.ref }}-${{ github.workflow }}-${{ github.event_name }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
filter: blob:none | |
- name: checkout submodule ref | |
run: git submodule update --init --filter blob:none agnos-kernel-sdm845 | |
- uses: hendrikmuhs/ccache-action@c92f40bee50034e84c763e33b317c77adaa81c92 | |
with: | |
create-symlink: true | |
- run: ./build_kernel.sh | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: boot.img | |
path: output/boot.img | |
- run: ./build_system.sh | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: system.img | |
path: output/system.img |