Skip to content

Commit f1d426e

Browse files
committed
Try and install openssl dependency
1 parent 28ffe07 commit f1d426e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/examples.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
example:
1212
- "examples/arduino-blink"
1313
- "examples/arduino-wifi-scan"
14+
- "examples/arduino-ota"
15+
- "examples/arduino-signed-ota"
1416
- "examples/arduino-external-libs"
1517
runs-on: ${{ matrix.os }}
1618
steps:
@@ -25,6 +27,17 @@ jobs:
2527
run: |
2628
pip install -U https://github.com/platformio/platformio/archive/develop.zip
2729
pio pkg install --global --platform symlink://.
30+
if [ "$RUNNER_OS" == "Linux" ]; then
31+
apt install openssl
32+
elif [ "$RUNNER_OS" == "Windows" ]; then
33+
choco install openssl
34+
elif [ "$RUNNER_OS" == "Mac" ]; then
35+
brew install openssl
36+
else
37+
echo "$RUNNER_OS not supported"
38+
exit 1
39+
fi
40+
shell: bash
2841
- name: Build examples
2942
run: |
3043
pio run -d ${{ matrix.example }}

0 commit comments

Comments
 (0)