diff --git a/ci/build-platformio.sh b/ci/build-platformio.sh new file mode 100644 index 0000000..3670758 --- /dev/null +++ b/ci/build-platformio.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Exit immediately if a command exits with a non-zero status. +set -e + +# Make sure we are inside the github workspace +cd $GITHUB_WORKSPACE + +# Install PlatformIO CLI +export PATH=$PATH:~/.platformio/penv/bin +curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py -o get-platformio.py +python3 get-platformio.py