Skip to content

Commit 811c889

Browse files
authored
Update main.yml
1 parent d2dc17e commit 811c889

File tree

1 file changed

+0
-58
lines changed

1 file changed

+0
-58
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1 @@
1-
name: ESP32 Arduino Libs CI
21

3-
on:
4-
push:
5-
branches:
6-
- master
7-
pull_request:
8-
9-
concurrency:
10-
group: esp-idf-libs-${{github.event.pull_request.number || github.ref}}
11-
cancel-in-progress: true
12-
13-
jobs:
14-
15-
build-libs:
16-
name: Build Libs for ${{ matrix.target }}
17-
runs-on: ubuntu-latest
18-
strategy:
19-
matrix:
20-
target: [esp32, esp32s2, esp32s3, esp32c2, esp32c3, esp32c6, esp32h2]
21-
fail-fast: false
22-
steps:
23-
- uses: actions/checkout@v3
24-
- name: Install dependencies
25-
run: bash ./tools/prepare-ci.sh
26-
- name: Build Libs for ${{ matrix.target }}
27-
run: bash ./build.sh -e -t ${{ matrix.target }}
28-
- name: Upload archive
29-
uses: actions/upload-artifact@v3
30-
with:
31-
name: artifacts
32-
path: dist
33-
34-
combine-artifacts:
35-
name: Combine artifacts
36-
needs: build-libs
37-
runs-on: ubuntu-latest
38-
steps:
39-
- name: Download artifacts
40-
uses: actions/download-artifact@v3
41-
with:
42-
name: artifacts
43-
path: dist
44-
- shell: bash
45-
run: |
46-
mkdir -p out
47-
find dist -name 'arduino-esp32-libs-esp*.tar.gz' -exec tar zxvf {} -C out \;
48-
cd out/tools/esp32-arduino-libs && tar zcf ../../../dist/esp32-arduino-libs.tar.gz * && cd ../../..
49-
cp out/package_esp32_index.template.json dist/package_esp32_index.template.json
50-
- name: Upload full esp32-arduino-libs archive
51-
uses: actions/upload-artifact@v3
52-
with:
53-
name: esp32-arduino-libs
54-
path: dist/esp32-arduino-libs.tar.gz
55-
- name: Upload package_esp32_index.template.json
56-
uses: actions/upload-artifact@v3
57-
with:
58-
name: package-esp32-index-json
59-
path: dist/package_esp32_index.template.json

0 commit comments

Comments
 (0)