ci: add workflow with smoke-build in kas #8
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: kas build | |
on: | |
pull_request: | |
branches: [ "master", "kirkstone" ] | |
push: | |
branches: [ "master", "kirkstone", "workflow"] | |
jobs: | |
kas: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install build dependencies | |
run: | | |
sudo apt-get update | |
sudo -E DEBIAN_FRONTEND=noninteractive apt install -y kas chrpath diffstat | |
- name: Cache meta-layers | |
uses: actions/cache@v4 | |
with: | |
path: layers | |
key: master-layers | |
save-always: true | |
- name: Cache bitbake downloads | |
uses: actions/cache@v4 | |
with: | |
path: build/downloads | |
key: master-downloads | |
save-always: true | |
- name: Kas checkout | |
run: | | |
kas checkout kas-poky-snapd.yml | |
- name: Kas build | |
run: | | |
kas build kas-poky-snapd.yml |