File tree 3 files changed +16
-47
lines changed
3 files changed +16
-47
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Arduino CI
3
+
4
+ on : [push, pull_request]
5
+
6
+ jobs :
7
+ arduino_ci :
8
+ runs-on : ubuntu-latest
9
+ env :
10
+ CUSTOM_INIT_SCRIPT : scripts/install_libraries.sh
11
+ steps :
12
+ - uses : actions/checkout@v2
13
+ - uses : Arduino-CI/action@stable-1.x
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
+ # arduino_ci runs this script in its GitHub Action because it is referenced by CUSTOM_INIT_SCRIPT
3
+ # arduino_ci ensures that the script is run in the libraries directory
2
4
3
- # this script has two use cases
4
- # 1 - CI testing and local development of this library only (SHALLOW)
5
- # 2 - Development of this library AND the supporting libraries
6
- # comment this out if you want full depth for the supporting libraries (case 2)
7
5
export SHALLOW=' --depth 1 --branch master --single-branch '
8
- # use this if you started with SHALLOW and now want the full repository with history
6
+ # If you want the full repository with history, execute the following
9
7
# git fetch --unshallow
10
8
11
- # ensure we have `arduino_ci`
12
- bundle config --local path vendor/bundle
13
- bundle install
14
-
15
- # set up directories
16
- bundle exec ensure_arduino_installation.rb
17
- cd $( bundle exec arduino_library_location.rb)
18
-
19
9
# add missing libraries
20
10
export GITHUB=" https://github.com/Arduino-CI"
21
11
if [ ! -d " ./Adafruit_BusIO" ] ; then
You can’t perform that action at this time.
0 commit comments