Fix flux ci #1
Workflow file for this run
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
# Licensed under the Apache License, Version 2.0 or the MIT License. | |
# SPDX-License-Identifier: Apache-2.0 OR MIT | |
# Copyright Tock Contributors 2023. | |
# This workflow calculates size diffs for the compiled binary of each supported tock board | |
name: Benchmarks | |
# Controls when the action will run. Triggers the workflow on pull request | |
# events but only for the master branch | |
on: | |
pull_request: | |
branches: master | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
# If you add additional jobs, remember to add them to bors.toml | |
permissions: | |
contents: read | |
jobs: | |
benchmarks: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools wheel | |
pip install --user cxxfilt | |
sudo apt install llvm | |
- name: size report | |
run: | | |
./tools/github_actions_size_changes.sh |