Skip to content

Commit

Permalink
more deps
Browse files Browse the repository at this point in the history
  • Loading branch information
gauteh committed May 24, 2024
1 parent 0c697e1 commit 4aced1d
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,37 @@ jobs:

- name: Install dependencies and arduino compiler cli
run: |
apt-get update && apt-get install -y curl git build-essential ffmpeg arduino-mk && apt-get clean
sudo apt-get update && apt-get install -y curl git build-essential ffmpeg arduino-mk && apt-get clean
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=/usr/local/bin sh
arduino-cli config init
arduino-cli config add board_manager.additional_urls https://raw.githubusercontent.com/sparkfun/Arduino_Apollo3/main/package_sparkfun_apollo3_index.json
arduino-cli core update-index
arduino-cli core install "Sparkfun:[email protected]"
arduino-cli lib update-index
arduino-cli lib install "Embedded Template Library ETL"
touch $HOME/Arduino/libraries/Embedded_Template_Library_ETL/src/etl.h
arduino-cli lib install Time
arduino-cli lib install "SparkFun Qwiic Power Switch Arduino Library"
arduino-cli lib install "SparkFun u-blox GNSS Arduino [email protected]"
arduino-cli lib install IridiumSBDi2c
arduino-cli lib install "Adafruit [email protected]"
arduino-cli lib install "Adafruit [email protected]"
arduino-cli lib install "Adafruit LIS3MDL"
arduino-cli lib install "Adafruit [email protected]"
arduino-cli lib install "[email protected]"
# Get Jean's fixed libs
cd $HOME/Arduino/libraries
rm -rf Adafruit_BusIO
git clone -b "fix/SPI_with_Artemis" --depth=1 https://github.com/jerabaul29/Adafruit_BusIO.git
rm -rf Adafruit_LSM6DS
git clone -b "feat/propagate_bool_flags" --depth=1 https://github.com/jerabaul29/Adafruit_LSM6DS.git
rm -rf OneWire
git clone -b "feat/Artemis_compatible" --depth=1 https://github.com/jerabaul29/OneWire.git
# - name: Run tests
Expand Down

0 comments on commit 4aced1d

Please sign in to comment.