Add main Github Actions workflow
This commit is contained in:
parent
1ca37ace96
commit
5c479d51ab
|
@ -0,0 +1,30 @@
|
||||||
|
name: PlatformIO CI
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v1
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
pip install platformio
|
||||||
|
- name: Run PlatformIO Build
|
||||||
|
run: platformio run --environment nrf52840_dk
|
||||||
|
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v1
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
pip install platformio
|
||||||
|
- name: Run PlatformIO Tests
|
||||||
|
run: platformio test --environment desktop
|
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
**Contributions Welcome!**
|
**Contributions Welcome!**
|
||||||
|
|
||||||
|
[![Actions Status](https://github.com/CovidBraceletPrj/CovidBracelet/workflows/main/badge.svg)](https://github.com/CovidBraceletPrj/CovidBracelet/actions)
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
* Sends and receives exposure beacons as specified by Google and Apple for Covid Contact Tracing
|
* Sends and receives exposure beacons as specified by Google and Apple for Covid Contact Tracing
|
||||||
* Rolling, encrypted, anonymous beacons
|
* Rolling, encrypted, anonymous beacons
|
||||||
|
|
Loading…
Reference in New Issue