Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added basic CI build #86

Merged
merged 1 commit into from
Oct 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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