Skip to content

Fix doxygen, split up CI jobs #68

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 30 additions & 1 deletion .github/workflows/githubci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,47 @@ jobs:
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
clang-format:
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: clang
run: python3 ci/run-clang-format.py -e "ci/*" -e "bin/*" -r .
doxygen:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
repository: adafruit/ci-arduino
path: ci

# The Adafruit doxygen setup is configured to only look for files in the root directory
- name: move src contents to root
run: mv -v src/* .

- name: doxygen
env:
GH_REPO_TOKEN: ${{ secrets.GH_REPO_TOKEN }}
PRETTYNAME : "Adafruit MCP23017 Library"
run: bash ci/doxy_gen_and_deploy.sh

18 changes: 0 additions & 18 deletions src/Adafruit_MCP23X08.cpp
Original file line number Diff line number Diff line change
@@ -1,23 +1,5 @@
/*!
* @file Adafruit_MCP23X08.cpp
*
* @mainpage Adafruit MCP23X08/17 Library
*
* @section intro_sec Introduction
*
* This is a library for the MCP23008/17 I2C and MCP23S08/17 SPI port
* expanders.
* Adafruit invests time and resources providing this open source code,
* please support Adafruit and open-source hardware by purchasing
* products from Adafruit!
*
* @section author Author
*
* Written by Carter Nelson for Adafruit Industries.
*
* @section license License
*
* BSD license, all text above must be included in any redistribution
*/

#include "Adafruit_MCP23X08.h"
Expand Down
18 changes: 0 additions & 18 deletions src/Adafruit_MCP23X17.cpp
Original file line number Diff line number Diff line change
@@ -1,23 +1,5 @@
/*!
* @file Adafruit_MCP23X17.cpp
*
* @mainpage Adafruit MCP23X08/17 Library
*
* @section intro_sec Introduction
*
* This is a library for the MCP23008/17 I2C and MCP23S08/17 SPI port
* expanders.
* Adafruit invests time and resources providing this open source code,
* please support Adafruit and open-source hardware by purchasing
* products from Adafruit!
*
* @section author Author
*
* Written by Carter Nelson for Adafruit Industries.
*
* @section license License
*
* BSD license, all text above must be included in any redistribution
*/

#include "Adafruit_MCP23X17.h"
Expand Down
3 changes: 2 additions & 1 deletion src/Adafruit_MCP23XXX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ void Adafruit_MCP23XXX::writeGPIO(uint8_t value, uint8_t port) {
/*!
@brief Configure the interrupt system.
@param mirroring true to OR both INTA and INTB pins.
@param open true for open drain output, false for active drive output.
@param openDrain true for open drain output, false for active drive output.
@param polarity HIGH or LOW
*/
/**************************************************************************/
Expand Down Expand Up @@ -247,6 +247,7 @@ uint8_t Adafruit_MCP23XXX::getLastInterruptPin() {
@brief helper to get register address
@param baseAddress base register address
@param port 0 for A, 1 for B (MCP23X17 only)
@returns calculated register address
*/
/**************************************************************************/
uint16_t Adafruit_MCP23XXX::getRegister(uint8_t baseAddress, uint8_t port) {
Expand Down