Skip to content

unittest: initial

unittest: initial #18

Workflow file for this run

name: build
on:
push:
pull_request:
workflow_dispatch:
permissions: {}
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Install dependencies
run: |
sudo apt-get install -y --no-install-recommends clang-format-15
git clone --single-branch --branch v1.6.0 https://github.com/bxparks/EpoxyDuino.git ../EpoxyDuino
- uses: actions/checkout@v4
- name: Check code style
run: |
mk/format-code.sh
git diff --exit-code
- uses: arduino/compile-sketches@v1
with:
fqbn: esp32:esp32:esp32da
libraries: |
- source-path: ./
- name: AUnit
- name: Streaming
- name: Run unit tests
run: |
ln -s $GITHUB_WORKSPACE ~/Arduino/libraries/fipsy
make -j4
./unittest.out
working-directory: ./unittest
timeout-minutes: 30