diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 78c7ee3..58605d4 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -11,6 +11,8 @@ jobs: example: - "examples/arduino-blink" - "examples/arduino-wifi-scan" + - "examples/arduino-ota" + - "examples/arduino-signed-ota" - "examples/arduino-external-libs" runs-on: ${{ matrix.os }} steps: @@ -25,6 +27,17 @@ jobs: run: | pip install -U https://github.com/platformio/platformio/archive/develop.zip pio pkg install --global --platform symlink://. + if [ "$RUNNER_OS" == "Linux" ]; then + apt install openssl + elif [ "$RUNNER_OS" == "Windows" ]; then + choco install openssl + elif [ "$RUNNER_OS" == "Mac" ]; then + brew install openssl + else + echo "$RUNNER_OS not supported" + exit 1 + fi + shell: bash - name: Build examples run: | pio run -d ${{ matrix.example }}