ci: Add GitHub action to test build pushes to main #1
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: | |
- main | |
jobs: | |
kas: | |
runs-on: [self-hosted, x86] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Compile | |
run: | | |
export DL_DIR=/srv/gh-runners/quic-yocto/downloads | |
export SSTATE_DIR=/srv/gh-runners/quic-yocto/sstate-cache | |
mkdir -p $DL_DIR | |
mkdir -p $SSTATE_DIR | |
mkdir build | |
cd build | |
kas build ../kas/qcs6490-rb3gen2-core-kit.yml |