Try and install openssl dependency

This commit is contained in:
unknown 2022-08-22 00:17:12 +02:00
parent 28ffe07370
commit f1d426ef45

View File

@ -11,6 +11,8 @@ jobs:
example: example:
- "examples/arduino-blink" - "examples/arduino-blink"
- "examples/arduino-wifi-scan" - "examples/arduino-wifi-scan"
- "examples/arduino-ota"
- "examples/arduino-signed-ota"
- "examples/arduino-external-libs" - "examples/arduino-external-libs"
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
@ -25,6 +27,17 @@ jobs:
run: | run: |
pip install -U https://github.com/platformio/platformio/archive/develop.zip pip install -U https://github.com/platformio/platformio/archive/develop.zip
pio pkg install --global --platform symlink://. 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 - name: Build examples
run: | run: |
pio run -d ${{ matrix.example }} pio run -d ${{ matrix.example }}