Files
espurna/ci_install.sh
Maxim Prokhorov eaa2e370eb ci: use esp8266 mock framework
Resolve the issue with the UnixHostDuino not really being compatible
with the esp8266 Core String (...and the rest of the Core, as well)

Port the CMakeLists.txt from the rpnlib and update it use FetchContent
instead of either manually fetching dependencies or using PIO artifacts
Caching is *expected* to work, but might need slight adjustments
2022-01-13 04:04:37 +03:00

41 lines
488 B
Bash
Executable File

#!/bin/bash
set -x -e -v
npm_install() {
npm install -g npm@latest
npm ci
}
pio_install() {
pip3 install -U platformio
pio upgrade --dev
pio platform update -p
}
host_install() {
sudo apt install cmake
}
cd code
case "$1" in
("host")
host_install
;;
("webui")
npm_install
;;
("build")
pio_install
;;
("release")
npm_install
pio_install
;;
(*)
echo -e "\e[1;33mUnknown stage name, exiting!\e[0m"
exit 1
;;
esac