Skip to content

Commit

Permalink
ci: Add GitHub action to test build pushes to main
Browse files Browse the repository at this point in the history
This adds logic to do a test build when code is merged to main.

Signed-off-by: Andy Doan <[email protected]>
  • Loading branch information
doanac authored and ricardosalveti committed Sep 5, 2024
1 parent 75cbb30 commit a191cd1
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/merge-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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

0 comments on commit a191cd1

Please sign in to comment.