Skip to content

Commit

Permalink
Git files
Browse files Browse the repository at this point in the history
  • Loading branch information
xyzroe committed Oct 23, 2024
1 parent 7250290 commit f9c2108
Show file tree
Hide file tree
Showing 5 changed files with 543 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# These are supported funding model platforms

github: xyzroe
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
polar: # Replace with a single Polar username
buy_me_a_coffee: xyzroe
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
55 changes: 55 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: ESP-IDF Build

permissions:
contents: write

on:
workflow_dispatch:
push:
tags:
- "*"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.7'

- name: Install ESP-IDF
run: |
git clone --recursive -b v5.3.1 https://github.com/espressif/esp-idf.git
cd esp-idf
./install.sh
. ./export.sh
- name: Install IDF Component Manager and dependencies
run: |
. ./esp-idf/export.sh
python -m pip install idf-component-manager
idf.py reconfigure
- name: Build
id: build
run: |
. ./esp-idf/export.sh
idf.py build
- name: Make OTA and move BIN files
run: |
. ./tools/make_ota.sh
- name: Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
name: "${{ env.version }} (${{ env.build_date }})"
files: |
output/Q_sensor.ota
output/Q_sensor.bin
32 changes: 32 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
.cache
compile_commands.json
*.swp

# ESP-IDF default build directory name
build
build/
build_*/
sdkconfig.*
sdkconfig.defaults
dependencies.lock
managed_components
__pycache__/
out/
_build/

pytest_embedded_log/
# VS Code Settings
#.vscode/

# clangd set
.clangd
compile_commands.json
.clang-format

# pre-commit
.pre-commit-config.yaml

output/

# Commit message
commit.md
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "esp-idf-lib"]
path = esp-idf-lib
url = https://github.com/UncleRus/esp-idf-lib.git
Loading

0 comments on commit f9c2108

Please sign in to comment.