From 1ad1580d094869cc19c91bf1737188c6c563144e Mon Sep 17 00:00:00 2001 From: Maximilian Gerhardt Date: Mon, 19 Aug 2024 22:45:41 +0200 Subject: [PATCH] Add Github CI --- .github/workflows/build.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..a450589 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +name: Build Firmware + +on: [push, pull_request] + +jobs: + build: + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + with: + submodules: "recursive" + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.9" + - name: Install dependencies + run: | + pip install -U https://github.com/platformio/platformio/archive/develop.zip + - name: Build firmware + run: | + pio run \ No newline at end of file