CircleCI work and support Raspbian.

This commit is contained in:
Kyle Isom 2023-10-18 04:44:10 -07:00
parent b7a8bfce9f
commit 3e33ad5f9a
2 changed files with 5 additions and 3 deletions

View File

@ -9,14 +9,14 @@ jobs:
# Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub. # Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub.
# See: https://circleci.com/docs/configuration-reference/#executor-job # See: https://circleci.com/docs/configuration-reference/#executor-job
docker: docker:
- image: kisom/sc-dev:latest - image: kisom/sc-dev:1.0.0
# Add steps to the job # Add steps to the job
# See: https://circleci.com/docs/configuration-reference/#steps # See: https://circleci.com/docs/configuration-reference/#steps
steps: steps:
- checkout - checkout
- run: - run:
name: "Setup cmake build" name: Setup cmake build
command: "./scripts/setup-cmake.sh" command: ./scripts/setup-cmake.sh
- -
# Orchestrate jobs using workflows # Orchestrate jobs using workflows

View File

@ -55,8 +55,10 @@ install_macos () {
install_linux () { install_linux () {
DISTRIB_ID="${DISTRIB_ID:-}"
echo "[+] host system is Linux" echo "[+] host system is Linux"
[[ -f "/etc/lsb-release" ]] && source /etc/lsb-release [[ -f "/etc/lsb-release" ]] && source /etc/lsb-release
[[ -f "/etc/rpi-issue" ]] && DISTRIB_ID=apt-based
if [ -z "${DISTRIB_ID}" ] if [ -z "${DISTRIB_ID}" ]
then then
if [ -d /etc/apt ] if [ -d /etc/apt ]