forked from wayoda/LedControl
-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from noah1510/master
update branch to v2.0.0 release state
- Loading branch information
Showing
34 changed files
with
1,051 additions
and
559 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,43 +7,39 @@ on: | |
- 'main' | ||
|
||
jobs: | ||
doxygen: | ||
runs-on: ubuntu-20.04 | ||
if: "contains(github.event.head_commit.message, '--build-docs')" | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: install dependencies | ||
run: sudo apt install doxygen graphviz | ||
- name: gernearte html folder | ||
run: mkdir doc/html | ||
- name: generate docs | ||
run: bash .scripts/doxygen_multilang.sh | ||
- name: Deploy | ||
uses: s0/git-publish-subdir-action@master | ||
env: | ||
REPO: self | ||
BRANCH: gh-pages | ||
FOLDER: doc/html | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
pre-release: | ||
latest-release: | ||
name: "Pre Release latest" | ||
runs-on: "ubuntu-20.04" | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: install doc deps | ||
run: sudo apt-get install --yes doxygen graphviz latexmk texlive-latex-extra | ||
|
||
- name: install platform io | ||
run: | | ||
pip3 install -U setuptools | ||
pip3 install -U wheel | ||
pip3 install -U platformio | ||
python3 -m platformio update | ||
python3 -m platformio lib -g install "adafruit/DHT sensor library" | ||
python3 -m platformio lib -g install "adafruit/Adafruit Unified Sensor" | ||
- name: building examples and running the unit tests | ||
run: bash ./.scripts/ci_local.sh | ||
|
||
- name: prepare for building docs | ||
run: | | ||
mkdir doc/html | ||
mkdir doc/latex | ||
- name: build documentation | ||
run: bash .scripts/doxygen_multilang.sh | ||
|
||
- name: pack repo | ||
run: | | ||
zip -r latest.zip src License README.md library.properties keywords.txt .vscode examples src | ||
- name: Check code meets quality standards | ||
id: code-inspector | ||
uses: codeinspectorio/github-action@master | ||
|
@@ -58,6 +54,7 @@ jobs: | |
max_long_functions_rate: '0.01' | ||
project_name: 'LedController' | ||
max_timeout_sec: '600' | ||
|
||
- uses: "marvinpinto/action-automatic-releases@latest" | ||
with: | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
|
@@ -67,14 +64,18 @@ jobs: | |
files: | | ||
License | ||
latest.zip | ||
- name: Discord Commits | ||
uses: Sniddl/[email protected] | ||
with: | ||
webhook: ${{ secrets.DISCORD_WEBHOOK }} | ||
message: "Successful commit to **{{ github.context.payload.repository.owner.name }}/{{ github.context.payload.repository.name}}**.\nDiff: {{ github.context.payload.compare }}" | ||
embed: '{ "title": "{{ commit.title }}", "description": "{{ commit.description }}", "url": "{{ commit.url }}", "author": { "name": "{{ commit.author.name }} ({{ commit.author.username }})", "icon_url": "https://avatars.io/gravatar/{{ commit.author.email }}"} }' | ||
|
||
refman_english.pdf | ||
refman_german.pdf | ||
- name: Deploy to pages | ||
if: "contains(github.event.head_commit.message, '--build-docs')" | ||
uses: s0/git-publish-subdir-action@master | ||
env: | ||
REPO: self | ||
BRANCH: gh-pages | ||
FOLDER: doc/html | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- uses: actions/upload-artifact@v1 | ||
if: failure() | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
doc/html | ||
doc/man | ||
doc/latex | ||
doxywarn*.txt | ||
refman_*.pdf | ||
|
||
.vscode | ||
.idea | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.