Skip to content

ci: add github workflow for smoke-building on pushes and PRs #10

ci: add github workflow for smoke-building on pushes and PRs

ci: add github workflow for smoke-building on pushes and PRs #10

Workflow file for this run

name: Kas
on:
pull_request:
branches: [ "master", "kirkstone" ]
push:
branches: [ "master", "kirkstone" ]
jobs:
kas-jammy:
runs-on: ubuntu-22.04
# TODO: use large runners when available
timeout-minutes: 240
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: Run kas checkout
run: |
kas checkout kas-poky-snapd.yml
- name: Run kas build
run: |
kas build kas-poky-snapd.yml