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 50189f2
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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
python3 -m pip install intelhex
- 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 50189f2

Please sign in to comment.