sys/bluetooth: add support for Pybricks Profile v1.3.0 #553
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
name: Stats | |
on: | |
push: | |
branches: | |
- "master" | |
env: | |
MAKEOPTS: -j2 | |
jobs: | |
stats: | |
name: Generate stats | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Install cross-compiler | |
run: sudo apt-get update && sudo apt-get install --yes gcc-arm-none-eabi | |
- name: Install python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install Python packages | |
run: | | |
python -m pip install azure-cosmosdb-table GitPython plotly | |
python -m pip install gql[requests] --pre | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
- name: Build missing commits | |
env: | |
STORAGE_ACCOUNT: ${{ secrets.STORAGE_ACCOUNT }} | |
STORAGE_KEY: ${{ secrets.STORAGE_KEY }} | |
CI_STATUS_TABLE: ${{ secrets.CI_STATUS_TABLE }} | |
FIRMWARE_SIZE_TABLE: ${{ secrets.FIRMWARE_SIZE_TABLE }} | |
run: .github/build-missing-commits.py | |
- name: Download commit metadata | |
env: | |
STORAGE_ACCOUNT: ${{ secrets.STORAGE_ACCOUNT }} | |
STORAGE_KEY: ${{ secrets.STORAGE_KEY }} | |
FIRMWARE_SIZE_TABLE: ${{ secrets.FIRMWARE_SIZE_TABLE }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: .github/download-commit-metadata.py | |
- name: Build web pages | |
run: .github/build-stats-web.py | |
- name: Install lftp | |
if: ${{ success() }} | |
run: sudo apt-get update && sudo apt-get install --yes lftp | |
- name: Publish | |
if: ${{ success() }} | |
shell: bash | |
env: | |
LFTP_USER: ${{ secrets.lftpUser }} | |
LFTP_PASSWORD: ${{ secrets.lftpPassword }} | |
LFTP_SITE: ${{ secrets.lftpSite }} | |
run: | | |
lftp -e "set ssl:check-hostname false; open --user $LFTP_USER --env-password $LFTP_SITE && mirror --verbose --reverse --delete --exclude=.htaccess build stats; exit" |