diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..3ea10c0 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,17 @@ +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 \ No newline at end of file diff --git a/.github/workflows/main.yaml b/.github/workflows/test.yaml similarity index 52% rename from .github/workflows/main.yaml rename to .github/workflows/test.yaml index 20f0cc0..37040fb 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/test.yaml @@ -3,19 +3,6 @@ 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: diff --git a/README.md b/README.md index acdcc4b..8ec4045 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ **Contributions Welcome!** -[![Actions Status](https://github.com/CovidBraceletPrj/CovidBracelet/workflows/main/badge.svg)](https://github.com/CovidBraceletPrj/CovidBracelet/actions) +[![Actions Status: test](https://github.com/CovidBraceletPrj/CovidBracelet/workflows/test/badge.svg)](https://github.com/CovidBraceletPrj/CovidBracelet/actions) [![Actions Status: build](https://github.com/CovidBraceletPrj/CovidBracelet/workflows/build/badge.svg)](https://github.com/CovidBraceletPrj/CovidBracelet/actions) ## Features * Sends and receives exposure beacons as specified by Google and Apple for Covid Contact Tracing