Skip to content

Commit

Permalink
update artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
matth-x committed Sep 2, 2024
1 parent 38c6c55 commit 71561ee
Showing 1 changed file with 12 additions and 34 deletions.
46 changes: 12 additions & 34 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,39 +92,8 @@ jobs:
path: bloaty_v16.csv
if-no-files-found: error

evaluate_firmware_size:
needs: profile_firmware
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/cache@v2
with:
key: ${{ github.ref }}
path: .cache
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade pandas
- name: Get v16 bloaty analysis
uses: actions/download-artifact@v4
with:
name: bloaty_v16.csv
path: docs/assets/bloaty_v16.csv
- name: Evaluate and create reports
run: python tests/benchmarks/scripts/eval_firmware_size.py


deploy:
needs: profile_firmware
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -135,5 +104,14 @@ jobs:
with:
key: ${{ github.ref }}
path: .cache
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
- name: Install Python dependencies
run: pip install pandas mkdocs-material
- name: Get v16 bloaty analysis
uses: actions/download-artifact@v4
with:
name: bloaty_v16.csv
path: docs/assets
- name: Evaluate and create reports
run: python tests/benchmarks/scripts/eval_firmware_size.py
- name: Run mkdocs
run: mkdocs gh-deploy --force

0 comments on commit 71561ee

Please sign in to comment.