File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 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
1212 OS_NAME=" linux32"
1313 elif [[ " $OSBITS " == " x86_64" ]]; then
1414 OS_NAME=" linux64"
15- elif [[ " $OSBITS " == " armv7l" ]]; then
15+ elif [[ " $OSBITS " == " armv7l" || " $OSBITS " == " aarch64 " ]]; then
1616 OS_NAME=" linuxarm"
1717 else
1818 OS_NAME=" $OSTYPE -$OSBITS "
@@ -214,4 +214,3 @@ function build_sketches() # build_sketches <fqbn> <examples-path> <chunk> <total
214214 done
215215 return 0
216216}
217-
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ def get_tool(tool):
122122 f .write (r .content )
123123 f .close ()
124124 else :
125- is_ci = os .environ .get ('TRAVIS_BUILD_DIR ' );
125+ is_ci = os .environ .get ('GITHUB_WORKSPACE ' );
126126 if is_ci :
127127 download_file (url , local_path )
128128 else :
@@ -159,7 +159,7 @@ def identify_platform():
159159 sys_name = platform .system ()
160160 sys_platform = platform .platform ()
161161 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' )) :
163163 sys_name = 'LinuxARM'
164164 if 'CYGWIN_NT' in sys_name :
165165 sys_name = 'Windows'
You can’t perform that action at this time.
0 commit comments