File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ if [[ "$OSTYPE" == "linux"* ]]; then
12
12
OS_NAME=" linux32"
13
13
elif [[ " $OSBITS " == " x86_64" ]]; then
14
14
OS_NAME=" linux64"
15
- elif [[ " $OSBITS " == " armv7l" ]]; then
15
+ elif [[ " $OSBITS " == " armv7l" || " $OSBITS " == " aarch64 " ]]; then
16
16
OS_NAME=" linuxarm"
17
17
else
18
18
OS_NAME=" $OSTYPE -$OSBITS "
@@ -214,4 +214,3 @@ function build_sketches() # build_sketches <fqbn> <examples-path> <chunk> <total
214
214
done
215
215
return 0
216
216
}
217
-
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ def get_tool(tool):
122
122
f .write (r .content )
123
123
f .close ()
124
124
else :
125
- is_ci = os .environ .get ('TRAVIS_BUILD_DIR ' );
125
+ is_ci = os .environ .get ('GITHUB_WORKSPACE ' );
126
126
if is_ci :
127
127
download_file (url , local_path )
128
128
else :
@@ -159,7 +159,7 @@ def identify_platform():
159
159
sys_name = platform .system ()
160
160
sys_platform = platform .platform ()
161
161
print ('System: %s, Info: %s' % (sys_name , sys_platform ))
162
- if 'Linux' in sys_name and sys_platform .find ('arm' ) > 0 :
162
+ if 'Linux' in sys_name and ( sys_platform .find ('arm' ) > 0 or sys_platform . find ( 'aarch64' )) :
163
163
sys_name = 'LinuxARM'
164
164
if 'CYGWIN_NT' in sys_name :
165
165
sys_name = 'Windows'
You can’t perform that action at this time.
0 commit comments