Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features/syncbranch #4

Closed
wants to merge 21 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 2 additions & 3 deletions .cproject
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
<storageModule moduleId="org.eclipse.cdt.core.pathentry">
<pathentry kind="src" path=""/>
<pathentry excluding="**/CMakeFiles/**" kind="out" path="build"/>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
</cproject>
51 changes: 51 additions & 0 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Build and commit snapcast binaries

on:
push:
branches:
- 'features/**'
paths-ignore:
- 'installer/**'
- 'doc/**'
- 'docs/**'

jobs:
build:
runs-on: ubuntu-latest
container:
image: espressif/idf:v5.1.1

steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: 'true'

- run: |
datestring=$(date '+%Y-%m-%d')
. $IDF_PATH/export.sh

for config in 'hifi-esparagus' 'loud-esparagus' 'louder-esparagus' 'lyra-t-4.2' 'lyra-t-4.3' 'lyra-t-mini' 'korvo' 'esp-ai-thinker' ; do
echo Building $config

cp sdkconfig.$config sdkconfig
idf.py build

cp build/snapclient.bin ./docs/artifacts/$config-snapclient-$datestring-snapclient.bin
cp build/storage.bin ./docs/artifacts/$config-snapclient-$datestring-storage.bin
cp build/ota_data_initial.bin ./docs/artifacts/$config-snapclient-$datestring-ota_data_initial.bin
cp build/bootloader/bootloader.bin ./docs/artifacts/$config-snapclient-$datestring-bootloader.bin
cp build/partition_table/partition-table.bin ./docs/artifacts/$config-snapclient-$datestring-partition-table.bin

sed -e "s/latest/$datestring/g" ./docs/artifacts/templates/manifest-$config-template.json > ./docs/artifacts/manifest-$config-latest.json
done

- run: |
git config --global --add safe.directory /__w/esparagus-snapclient/esparagus-snapclient
git config user.name github-actions
git config user.email [email protected]

- run: |
git add ./docs/artifacts
git commit -m "Latest binaries by github-actions"
git push origin HEAD:$GITHUB_REF
147 changes: 147 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,149 @@
build
libopus
managed_components
sdkconfig
sdkconfig.old

# Created by https://www.toptal.com/developers/gitignore/api/c,c++,eclipse
# Edit at https://www.toptal.com/developers/gitignore?templates=c,c++,eclipse

### C ###
# Prerequisites
*.d

# Object files
*.o
*.ko
*.obj
*.elf

# Linker output
*.ilk
*.map
*.exp

# Precompiled Headers
*.gch
*.pch

# Libraries
#*.lib
#*.a
#*.la
#*.lo

# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib

# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex

# Debug files
*.dSYM/
*.su
*.idb
*.pdb

# Kernel Module Compile Results
*.mod*
*.cmd
.tmp_versions/
modules.order
Module.symvers
Mkfile.old
dkms.conf

### C++ ###
# Prerequisites

# Compiled Object files
*.slo

# Precompiled Headers

# Compiled Dynamic libraries

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai

# Executables

### Eclipse ###
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath
.recommenders

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# PyDev specific (Python IDE for Eclipse)
*.pydevproject

# CDT-specific (C/C++ Development Tooling)
.cproject

# CDT- autotools
.autotools

# Java annotation processor (APT)
.factorypath

# PDT-specific (PHP Development Tools)
.buildpath

# sbteclipse plugin
.target

# Tern plugin
.tern-project

# TeXlipse plugin
.texlipse

# STS (Spring Tool Suite)
.springBeans

# Code Recommenders
.recommenders/

# Annotation Processing
.apt_generated/
.apt_generated_test/

# Scala IDE specific (Scala & Java development for Eclipse)
.cache-main
.scala_dependencies
.worksheet

# Uncomment this line if you wish to ignore the project description file.
# Typically, this file would be tracked if it contains build/dependency configurations:
#.project

### Eclipse Patch ###
# Spring Boot Tooling
.sts4-cache/

# End of https://www.toptal.com/developers/gitignore/api/c,c++,eclipse
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
[submodule "components/opus/opus"]
path = components/opus/opus
url = https://github.com/xiph/opus
[submodule "components/improv_wifi/Improv-WiFi-Library"]
path = components/improv_wifi/Improv-WiFi-Library
url = https://github.com/jnthas/Improv-WiFi-Library.git
Loading