Skip to content

Commit

Permalink
added basic CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Oct 28, 2023
1 parent 355e3d0 commit 99f8039
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: test regression

on: [push, pull_request, workflow_dispatch]

jobs:
test:
runs-on: ubuntu-22.04
steps:
# git checkout the PR
- uses: actions/checkout@v3

- name: Install sdcc
run: sudo apt-get install -y sdcc

- name: test build
shell: bash
run: |
tests/test_build.sh
- name: Archive build binaries
uses: actions/upload-artifact@v3
with:
name: SiK build
path: |
Firmware/dst
retention-days: 90
5 changes: 5 additions & 0 deletions tests/test_build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

cd Firmware
make
make install

0 comments on commit 99f8039

Please sign in to comment.