Update c-cpp.yml

This commit is contained in:
Peter Buchegger 2020-06-15 03:51:19 +02:00 committed by GitHub
parent 725e4ca7b1
commit 6adaa046f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,16 +14,20 @@ jobs:
- run: pip3 -v install platformio
- run: echo "::add-path::~/.local/bin"
- uses: actions/checkout@v2
- run: PLATFORMIO_BUILD_CACHE_DIR="build_cache/" pio run
- run: pio run
- uses: actions/upload-artifact@v1
with:
name: build_cache
path: build_cache
name: build_files
path: .pio/build
build:
runs-on: self-hosted
needs: precompile
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v1
with:
name: build_files
- name: check for updates
run: platformio update
- name: run cppcheck