mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-31 21:59:43 +03:00
Compare commits
10 Commits
I2S-4MFlas
...
SqueezeAmp
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4dc6424fed | ||
|
|
a989fe06c2 | ||
|
|
1b5a877b98 | ||
|
|
9c9f79b0b6 | ||
|
|
6fef6d679e | ||
|
|
aa54b9dff9 | ||
|
|
05a704e7ec | ||
|
|
09e6518870 | ||
|
|
4d70d0998c | ||
|
|
9d0d957ec3 |
12
.github/workflows/CrossBuild.yml
vendored
12
.github/workflows/CrossBuild.yml
vendored
@@ -41,10 +41,14 @@ jobs:
|
|||||||
id: cache-build
|
id: cache-build
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: build
|
path: |
|
||||||
key: ${{ runner.os }}-${{ matrix.node }}
|
build
|
||||||
|
/var/lib/docker
|
||||||
|
key: ${{ runner.os }}-${{ matrix.node }}-${{ matrix.depth }}
|
||||||
- name: Set build parameters
|
- name: Set build parameters
|
||||||
run: |
|
run: |
|
||||||
|
git update-index --chmod=+x ./server_certs/getcert.sh
|
||||||
|
cd server_certs;./getcert.sh;cat github.pem;cd ..
|
||||||
shopt -s nocasematch
|
shopt -s nocasematch
|
||||||
branch_name="${GITHUB_REF//refs\/heads\//}"
|
branch_name="${GITHUB_REF//refs\/heads\//}"
|
||||||
branch_name="${branch_name//[^a-zA-Z0-9\-~!@_\.]/}"
|
branch_name="${branch_name//[^a-zA-Z0-9\-~!@_\.]/}"
|
||||||
@@ -81,7 +85,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
env | grep "artifact\|tag\|GITHUB\|version\|NUMBER\|TARGET" >${TARGET_BUILD_NAME}-env.txt
|
env | grep "artifact\|tag\|GITHUB\|version\|NUMBER\|TARGET" >${TARGET_BUILD_NAME}-env.txt
|
||||||
echo "${tag}" >version.txt
|
echo "${tag}" >version.txt
|
||||||
docker run --env-file=${TARGET_BUILD_NAME}-env.txt --rm -v $PWD:/project -w /project sle118/idf:release-v4.0 /bin/bash -c "cp build-scripts/${TARGET_BUILD_NAME}-sdkconfig.defaults sdkconfig && idf.py build -DDEPTH=${{ matrix.depth }} -DCUSTOM_VERSION=${BUILD_NUMBER}-${{ matrix.depth }} && zip -r build_output.zip build && zip build/${artifact_file_name} partitions*.csv build/*.bin build/bootloader/bootloader.bin build/partition_table/partition-table.bin build/flash_project_args build/size_*.txt"
|
docker pull sle118/idf:release-v4.0
|
||||||
|
docker info
|
||||||
|
docker run --env-file=${TARGET_BUILD_NAME}-env.txt -v $PWD:/project -w /project sle118/idf:release-v4.0 /bin/bash -c "cp build-scripts/${TARGET_BUILD_NAME}-sdkconfig.defaults sdkconfig && idf.py build -DDEPTH=${{ matrix.depth }} -DBUILD_NUMBER=${BUILD_NUMBER}-${{ matrix.depth }} && zip -r build_output.zip build && zip build/${artifact_file_name} partitions*.csv build/*.bin build/bootloader/bootloader.bin build/partition_table/partition-table.bin build/flash_project_args build/size_*.txt"
|
||||||
# - name: Build Mock firmware
|
# - name: Build Mock firmware
|
||||||
# run: |
|
# run: |
|
||||||
# mkdir -p build
|
# mkdir -p build
|
||||||
|
|||||||
@@ -29,10 +29,11 @@ set_source_files_properties(flac.c
|
|||||||
-Wno-maybe-uninitialized
|
-Wno-maybe-uninitialized
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_definitions(-DLINKALL -DLOOPBACK -DNO_FAAD -DEMBEDDED -DTREMOR_ONLY -DCUSTOM_VERSION=${BUILD_NUMBER})
|
||||||
if(${DEPTH} EQUAL "32")
|
if(${DEPTH} EQUAL "32")
|
||||||
add_definitions(-DLINKALL -DLOOPBACK -DNO_FAAD -DEMBEDDED -DTREMOR_ONLY -DBYTES_PER_FRAME=8)
|
add_definitions(-DBYTES_PER_FRAME=8)
|
||||||
else()
|
else()
|
||||||
add_definitions(-DLINKALL -DLOOPBACK -DNO_FAAD -DRESAMPLE16 -DEMBEDDED -DTREMOR_ONLY -DBYTES_PER_FRAME=4)
|
add_definitions(-DBYTES_PER_FRAME=4)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_compile_options (-O3 )
|
add_compile_options (-O3 )
|
||||||
|
|||||||
@@ -24,9 +24,9 @@
|
|||||||
|
|
||||||
// make may define: PORTAUDIO, SELFPIPE, RESAMPLE, RESAMPLE_MP, VISEXPORT, GPIO, IR, DSD, LINKALL to influence build
|
// make may define: PORTAUDIO, SELFPIPE, RESAMPLE, RESAMPLE_MP, VISEXPORT, GPIO, IR, DSD, LINKALL to influence build
|
||||||
|
|
||||||
#define MAJOR_VERSION "1.9"
|
#define MAJOR_VERSION "0"
|
||||||
#define MINOR_VERSION "2"
|
#define MINOR_VERSION "0"
|
||||||
#define MICRO_VERSION "1145"
|
#define MICRO_VERSION ""
|
||||||
|
|
||||||
#if defined(CUSTOM_VERSION)
|
#if defined(CUSTOM_VERSION)
|
||||||
#define VERSION "v" MAJOR_VERSION "." MINOR_VERSION "-" MICRO_VERSION STR(CUSTOM_VERSION)
|
#define VERSION "v" MAJOR_VERSION "." MINOR_VERSION "-" MICRO_VERSION STR(CUSTOM_VERSION)
|
||||||
|
|||||||
1
server_certs/getcert.sh
Normal file → Executable file
1
server_certs/getcert.sh
Normal file → Executable file
@@ -43,4 +43,5 @@ rm *.txt
|
|||||||
# seed the start pem
|
# seed the start pem
|
||||||
get_all_pem github.com github-com
|
get_all_pem github.com github-com
|
||||||
get_all_pem s3.amazonaws.com s3-amazon-com
|
get_all_pem s3.amazonaws.com s3-amazon-com
|
||||||
|
get_all_pem github-releases.githubusercontent.com githubusercontent-com
|
||||||
cat *.pem >github.pem
|
cat *.pem >github.pem
|
||||||
|
|||||||
Reference in New Issue
Block a user