47
47
strategy :
48
48
fail-fast : false
49
49
matrix :
50
- os : [windows-latest, macos-latest, ubuntu-20.04, ARM, ARM64 ]
50
+ os : [windows-latest, macos-latest, ubuntu-20.04, ARM]
51
51
include :
52
52
- os : windows-latest
53
53
TARGET : win64
63
63
CONTAINER : python:3.8-bullseye
64
64
TARGET : arm
65
65
SEPARATOR : ' :'
66
- - os : ARM64
67
- CONTAINER : python:3.8-bullseye
68
- TARGET : arm64
69
- SEPARATOR : ' :'
70
66
container : ${{ matrix.CONTAINER }} # use python container on ARM
71
67
env :
72
68
DISTPATH : pytools-${{ matrix.TARGET }}
@@ -89,11 +85,10 @@ jobs:
89
85
- name : Checkout repository
90
86
uses : actions/checkout@v4
91
87
with :
92
- token : ${{ secrets.TOOLS_UPLOAD_PAT }}
93
88
ref : ${{ github.event.pull_request.head.ref }}
94
89
- name : Set up Python 3.8
95
90
# 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'
91
+ if : matrix.os != 'ARM'
97
92
uses : actions/setup-python@master
98
93
with :
99
94
python-version : 3.8
@@ -108,7 +103,7 @@ jobs:
108
103
pyinstaller --distpath ./${{ env.DISTPATH }} -F --icon=.github/pytools/espressif.ico tools/$tool.py
109
104
done
110
105
- name : Sign binaries
111
- if : matrix.os == 'windows-latest' && env.CERTIFICATE != '' && env.CERTIFICATE_PASSWORD != ''
106
+ if : matrix.os == 'windows-latest'
112
107
env :
113
108
CERTIFICATE : ${{ secrets.CERTIFICATE }}
114
109
CERTIFICATE_PASSWORD : ${{ secrets.CERTIFICATE_PASSWORD }}
0 commit comments