Skip to content

Commit ca9b8d5

Browse files
committed
dont build ESP32-s2, Ci-Arduino bug
1 parent 2999e63 commit ca9b8d5

File tree

1 file changed

+42
-41
lines changed

1 file changed

+42
-41
lines changed

.github/workflows/release.yml

Lines changed: 42 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ jobs:
1212
release-wippersnapper:
1313
name: Release WipperSnapper
1414
runs-on: ubuntu-latest
15-
needs: [build-samd, build-esp32, build-esp32s2]
15+
#needs: [build-samd, build-esp32, build-esp32s2]
16+
needs: [build-samd, build-esp32]
1617
steps:
1718
- name: Download build artifacts from build-platform steps
1819
uses: actions/download-artifact@v2
@@ -28,46 +29,46 @@ jobs:
2829
wippersnapper.*.uf2
2930
wippersnapper.*.bin
3031
31-
build-esp32s2:
32-
name: Build WipperSnapper ESP32-S2
33-
runs-on: ubuntu-latest
34-
strategy:
35-
fail-fast: false
36-
matrix:
37-
arduino-platform: ["funhouse_tinyusb", "magtag_tinyusb",
38-
"metro_s2_tinyusb"]
39-
steps:
40-
- uses: actions/setup-python@v1
41-
with:
42-
python-version: '3.x'
43-
- uses: actions/checkout@v2
44-
- name: Get WipperSnapper version
45-
run: |
46-
git fetch --prune --unshallow --tags
47-
git describe --dirty --tags
48-
echo >>$GITHUB_ENV WS_VERSION=$(git describe --dirty --tags)
49-
- uses: actions/checkout@v2
50-
with:
51-
repository: brentru/ci-arduino
52-
path: ci
53-
- name: Install CI-Arduino
54-
run: bash ci/actions_install.sh
55-
- name: Install extra Arduino libraries
56-
run: |
57-
git clone --quiet https://github.com/brentru/Adafruit_MQTT_Library.git /home/runner/Arduino/libraries/Adafruit_MQTT_Library
58-
- name: Build for ESP32-S2
59-
run: python3 ci/build_platform.py ${{ matrix.arduino-platform }}
60-
- name: Rename build artifacts to reflect the platform name
61-
run: |
62-
mv examples/*/build/*/Wippersnapper_demo.ino.uf2 wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.uf2
63-
mv examples/*/build/*/Wippersnapper_demo.ino.bin wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.bin
64-
- name: upload build artifacts
65-
uses: actions/upload-artifact@v2
66-
with:
67-
name: build-files
68-
path: |
69-
wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.uf2
70-
wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.bin
32+
# build-esp32s2:
33+
# name: Build WipperSnapper ESP32-S2
34+
# runs-on: ubuntu-latest
35+
# strategy:
36+
# fail-fast: false
37+
# matrix:
38+
# arduino-platform: ["funhouse_tinyusb", "magtag_tinyusb",
39+
# "metro_s2_tinyusb"]
40+
# steps:
41+
# - uses: actions/setup-python@v1
42+
# with:
43+
# python-version: '3.x'
44+
# - uses: actions/checkout@v2
45+
# - name: Get WipperSnapper version
46+
# run: |
47+
# git fetch --prune --unshallow --tags
48+
# git describe --dirty --tags
49+
# echo >>$GITHUB_ENV WS_VERSION=$(git describe --dirty --tags)
50+
# - uses: actions/checkout@v2
51+
# with:
52+
# repository: brentru/ci-arduino
53+
# path: ci
54+
# - name: Install CI-Arduino
55+
# run: bash ci/actions_install.sh
56+
# - name: Install extra Arduino libraries
57+
# run: |
58+
# git clone --quiet https://github.com/brentru/Adafruit_MQTT_Library.git /home/runner/Arduino/libraries/Adafruit_MQTT_Library
59+
# - name: Build for ESP32-S2
60+
# run: python3 ci/build_platform.py ${{ matrix.arduino-platform }}
61+
# - name: Rename build artifacts to reflect the platform name
62+
# run: |
63+
# mv examples/*/build/*/Wippersnapper_demo.ino.uf2 wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.uf2
64+
# mv examples/*/build/*/Wippersnapper_demo.ino.bin wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.bin
65+
# - name: upload build artifacts
66+
# uses: actions/upload-artifact@v2
67+
# with:
68+
# name: build-files
69+
# path: |
70+
# wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.uf2
71+
# wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.bin
7172

7273

7374
build-esp32:

0 commit comments

Comments
 (0)