-
-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Actually working firmware version detection (#365)
* Fix firmware version detection * Fix ci * remove release workflow
- Loading branch information
1 parent
608fbd2
commit 9f20c12
Showing
3 changed files
with
19 additions
and
40 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,8 @@ on: | |
push: | ||
branches: | ||
- main | ||
tags: | ||
- "*" | ||
pull_request: | ||
workflow_dispatch: | ||
create: | ||
|
@@ -17,15 +19,15 @@ jobs: | |
with: | ||
clang-format-version: "17" | ||
fallback-style: google | ||
# Disable clang-tidy for now | ||
# - name: Get clang-tidy | ||
# run: | | ||
# apt-get update | ||
# apt-get install -y clang-tidy | ||
# - uses: ZehMatt/[email protected] | ||
# with: | ||
# build_dir: 'build' | ||
# cmake_args: '-G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++' | ||
# Disable clang-tidy for now | ||
# - name: Get clang-tidy | ||
# run: | | ||
# apt-get update | ||
# apt-get install -y clang-tidy | ||
# - uses: ZehMatt/[email protected] | ||
# with: | ||
# build_dir: 'build' | ||
# cmake_args: '-G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++' | ||
|
||
build: | ||
runs-on: ubuntu-20.04 | ||
|
@@ -39,6 +41,9 @@ jobs: | |
~/.platformio/.cache | ||
key: ${{ runner.os }}-pio | ||
|
||
- name: Get tags | ||
run: git fetch --tags origin --recurse-submodules=no --force | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
|
This file was deleted.
Oops, something went wrong.
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