commit
28c25a02aa
5 changed files with 36 additions and 64 deletions
24
.github/workflows/ccpp.yml
vendored
24
.github/workflows/ccpp.yml
vendored
|
|
@ -1,24 +0,0 @@
|
|||
name: Github Arduino Library CI
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: pre-install
|
||||
run: |
|
||||
source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)
|
||||
- name: install libraries
|
||||
run: |
|
||||
arduino --install-library "Adafruit BusIO"
|
||||
arduino --install-library "Adafruit Unified Sensor"
|
||||
- name: test platform
|
||||
run: build_main_platforms
|
||||
- name: build documentation
|
||||
run: |
|
||||
source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/library_check.sh)
|
||||
source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/doxy_gen_and_deploy.sh)
|
||||
32
.github/workflows/githubci.yml
vendored
Normal file
32
.github/workflows/githubci.yml
vendored
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
name: Arduino Library CI
|
||||
|
||||
on: [pull_request, push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
repository: adafruit/ci-arduino
|
||||
path: ci
|
||||
|
||||
- name: pre-install
|
||||
run: bash ci/actions_install.sh
|
||||
|
||||
- name: test platforms
|
||||
run: python3 ci/build_platform.py main_platforms
|
||||
|
||||
- name: clang
|
||||
run: python3 ci/run-clang-format.py -e "ci/*" -e "bin/*" -r .
|
||||
|
||||
- name: doxygen
|
||||
env:
|
||||
GH_REPO_TOKEN: ${{ secrets.GH_REPO_TOKEN }}
|
||||
PRETTYNAME : "Adafruit MSA301 Sensor Library"
|
||||
run: bash ci/doxy_gen_and_deploy.sh
|
||||
38
.travis.yml
38
.travis.yml
|
|
@ -1,38 +0,0 @@
|
|||
language: c
|
||||
sudo: false
|
||||
cache:
|
||||
directories:
|
||||
- ~/arduino_ide
|
||||
- ~/.arduino15/packages/
|
||||
git:
|
||||
depth: false
|
||||
quiet: true
|
||||
env:
|
||||
global:
|
||||
- PRETTYNAME="Adafruit MSA301 Arduino Library"
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- llvm-toolchain-trusty-5.0
|
||||
- key_url: 'http://apt.llvm.org/llvm-snapshot.gpg.key'
|
||||
packages:
|
||||
- clang-format-5.0
|
||||
|
||||
before_install:
|
||||
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)
|
||||
- curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/run-clang-format.py > run-clang-format.py
|
||||
|
||||
install:
|
||||
- arduino --install-library "Adafruit BusIO"
|
||||
- arduino --install-library "Adafruit Unified Sensor"
|
||||
- arduino --install-library "Adafruit GFX Library"
|
||||
- arduino --install-library "Adafruit SSD1306"
|
||||
|
||||
script:
|
||||
- python run-clang-format.py -r .
|
||||
- build_main_platforms
|
||||
|
||||
# Generate and deploy documentation
|
||||
after_success:
|
||||
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/library_check.sh)
|
||||
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/doxy_gen_and_deploy.sh)
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
Adafruit_MSA301 [](https://travis-ci.com/adafruit/Adafruit_MSA301)
|
||||
Adafruit_MSA301 
|
||||
|
||||
================
|
||||
|
||||
<a href="https://www.adafruit.com/products"><img src="assets/board.jpg?raw=true" width="500px"></a>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
name=Adafruit MSA301
|
||||
version=1.0.4
|
||||
version=1.0.5
|
||||
author=Adafruit <info@adafruit.com>
|
||||
maintainer=Adafruit <info@adafruit.com>
|
||||
sentence=Library for the Adafruit MSA301 Accelerometer.
|
||||
|
|
@ -7,3 +7,4 @@ paragraph=Designed specifically to work with the Adafruit MSA301 Breakout, and i
|
|||
category=Sensors
|
||||
url=https://github.com/adafruit/Adafruit_MSA301
|
||||
architectures=*
|
||||
depends=Adafruit BusIO, Adafruit Unified Sensor, Adafruit SSD1306
|
||||
Loading…
Reference in a new issue