From 6117c63a253c94fa9de21fdb78ce9548594db44d Mon Sep 17 00:00:00 2001 From: F33RNI Date: Thu, 22 Aug 2024 12:12:37 +0300 Subject: [PATCH] build: fix tests again --- .github/workflows/tests.yml | 3 +-- .gitignore | 1 + examples/TemperatureController/.gitignore | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7206328..9b744fb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,8 +16,7 @@ jobs: steps: - uses: actions/checkout@v2 - run: sudo apt-get install curl - - run: cd examples/TemperatureController - run: mkdir arduino-cli - run: curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=./arduino-cli sh - run: ./arduino-cli/arduino-cli core install arduino:avr - - run: ./arduino-cli/arduino-cli compile --verbose --build-path ./build --library ../../ -b arduino:avr:nano *.ino + - run: ./arduino-cli/arduino-cli compile --verbose --build-path ./examples/TemperatureController/build --library . -b arduino:avr:nano ./examples/TemperatureController/*.ino diff --git a/.gitignore b/.gitignore index d82ed03..da11ae7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .pio .vscode +arduino-cli build docs diff --git a/examples/TemperatureController/.gitignore b/examples/TemperatureController/.gitignore index 7c24f6a..378eac2 100644 --- a/examples/TemperatureController/.gitignore +++ b/examples/TemperatureController/.gitignore @@ -1,2 +1 @@ build -arduino-cli