Skip to content

revert to fetch mutliple and all build artifacts #16

revert to fetch mutliple and all build artifacts

revert to fetch mutliple and all build artifacts #16

Workflow file for this run

on:
push:
pull_request:
branches:
- master
jobs:
code-analysis:
runs-on: "ubuntu-22.04"
steps:
- uses: actions/checkout@v4
- uses: awalsh128/cache-apt-pkgs-action@a6c3917cc929dd0345bfb2d3feaf9101823370ad
with:
packages: clang-format
version: 1.0
- name: clang-format
run: find . -type f -iregex ".*\.\(c\|h\|cpp\|ino\)" -exec clang-format -i -style=file {} \; && git diff --exit-code
raspi-source-dist:
runs-on: "ubuntu-22.04"
steps:
- uses: actions/checkout@v4
- name: run-download
run: |
cd ./examples/raspberry-pi
ls
make download
- uses: actions/upload-artifact@v4
with:
name: raspi-source-dist
path: ./examples/raspberry-pi/*
if-no-files-found: error
build-examples:
runs-on: "ubuntu-22.04"
needs: raspi-source-dist
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: raspi-source-dist
path: ./examples/raspberry-pi/build-test
- name: test-build
run: |
cd ./examples/raspberry-pi/build-test
ls
make algorithm_example_usage
make low_power_example