forked from CarlosDerSeher/snapclient
-
Notifications
You must be signed in to change notification settings - Fork 5
54 lines (43 loc) · 1.7 KB
/
build-binaries.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Build snapcast
on:
pull_request:
jobs:
build:
# strategy:
# matrix:
# config: []
runs-on: ubuntu-latest
container:
image: espressif/idf:v5.1.1
# volumes:
# - ${{ github.workspace }}:/project
# - /dev:/dev
# options: --workdir /project
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: 'true'
# - run: cp sdkconfig.${{ matrix.config }} sdkconfig
- run: |
. $IDF_PATH/export.sh
for config in 'hifi-esparagus' 'loud-esparagus' 'louder-esparagus'; do
echo Building $config
cp sdkconfig.$config sdkconfig
idf.py build
done
# - run: ls -al build
# - run: cp build/snapclient.bin ./docs/artifacts/${{ matrix.config }}-snapclient-latest-snapclient.bin
# - run: cp build/storage.bin ./docs/artifacts/${{ matrix.config }}-snapclient-latest-storage.bin
# - run: cp build/ota_data_initial.bin ./docs/artifacts/${{ matrix.config }}-snapclient-latest-ota_data_initial.bin
# - run: cp build/bootloader/bootloader.bin ./docs/artifacts/${{ matrix.config }}-snapclient-latest-bootloader.bin
# - run: cp build/partition_table/partition-table.bin ./docs/artifacts/${{ matrix.config }}-snapclient-latest-partition-table.bin
# - run: git config --global --add safe.directory /__w/esparagus-snapclient/esparagus-snapclient
# - run: git status
# - run: |
# git config user.name github-actions
# git config user.email [email protected]
# git pull
# git add .
# git commit -m "${{ matrix.config }} binaries"
# git push