Skip to content

Commit befc208

Browse files
committed
ci(tools): Remove ARM64 and use get.exe
1 parent fa89bfb commit befc208

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/scripts/install-arduino-core-esp32.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ if [ ! -d "$ARDUINO_ESP32_PATH" ]; then
2828
#git submodule update --init --recursive > /dev/null 2>&1
2929

3030
echo "Installing Platform Tools ..."
31-
cd tools && python get.py
31+
if [ "$OS_IS_WINDOWS" == "1" ]; then
32+
cd tools && ./get.exe
33+
else
34+
cd tools && python get.py
35+
fi
3236
cd $script_init_path
3337

3438
echo "ESP32 Arduino has been installed in '$ARDUINO_ESP32_PATH'"

.github/workflows/build_py_tools.yml

+6-10
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 2
23-
ref: ${{ github.event.pull_request.head.ref }}
2423
- name: Verify Python Tools Changed
2524
uses: tj-actions/changed-files@v41
2625
id: verify-changed-files
@@ -47,7 +46,7 @@ jobs:
4746
strategy:
4847
fail-fast: false
4948
matrix:
50-
os: [windows-latest, macos-latest, ubuntu-20.04, ARM, ARM64]
49+
os: [windows-latest, macos-latest, ubuntu-20.04, ARM]
5150
include:
5251
- os: windows-latest
5352
TARGET: win64
@@ -63,10 +62,6 @@ jobs:
6362
CONTAINER: python:3.8-bullseye
6463
TARGET: arm
6564
SEPARATOR: ':'
66-
- os: ARM64
67-
CONTAINER: python:3.8-bullseye
68-
TARGET: arm64
69-
SEPARATOR: ':'
7065
container: ${{ matrix.CONTAINER }} # use python container on ARM
7166
env:
7267
DISTPATH: pytools-${{ matrix.TARGET }}
@@ -88,13 +83,14 @@ jobs:
8883
done
8984
- name: Checkout repository
9085
uses: actions/checkout@v4
86+
env:
87+
TOKEN: ${{ secrets.GITHUB_TOKEN }}
9188
with:
92-
token: ${{ secrets.TOOLS_UPLOAD_PAT }}
93-
ref: ${{ github.event.pull_request.head.ref }}
89+
token: ${{ env.TOKEN }}
9490
- name: Set up Python 3.8
9591
# Skip setting python on ARM because of missing compatibility: https://github.com/actions/setup-python/issues/108
96-
if: matrix.os != 'ARM' && matrix.os != 'ARM64'
97-
uses: actions/setup-python@master
92+
if: matrix.os != 'ARM'
93+
uses: actions/setup-python@v5
9894
with:
9995
python-version: 3.8
10096
- name: Install dependencies

0 commit comments

Comments
 (0)