@@ -50,13 +50,29 @@ jobs:
50
50
- name : Download and Unzip GCCs
51
51
shell : powershell
52
52
run : |
53
- Invoke-WebRequest -OutFile gcc-arm-none-eabi-win64-13.zip https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-mingw-w64-i686-arm-none-eabi.zip
54
- New-Item -Path "C:\" -Name "arm-none-eabi-13" -ItemType "Directory"
55
- Expand-Archive -Path gcc-arm-none-eabi-win64-13.zip -DestinationPath C:\arm-none-eabi-13 -Force
56
-
57
- Invoke-WebRequest -OutFile gcc-arm-none-eabi-win64-14.zip https://developer.arm.com/-/media/Files/downloads/gnu/14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-mingw-w64-x86_64-arm-none-eabi.zip
58
- New-Item -Path "C:\" -Name "arm-none-eabi-14" -ItemType "Directory"
59
- Expand-Archive -Path gcc-arm-none-eabi-win64-14.zip -DestinationPath C:\arm-none-eabi-14 -Force
53
+ $ProgressPreference = 'SilentlyContinue'
54
+ Start-Job {
55
+ Set-Location $using:PWD
56
+ Invoke-WebRequest -OutFile gcc-arm-none-eabi-win64-13.zip https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-mingw-w64-i686-arm-none-eabi.zip
57
+ New-Item -Path "C:\" -Name "arm-none-eabi-13" -ItemType "Directory"
58
+ Expand-Archive -Path gcc-arm-none-eabi-win64-13.zip -DestinationPath C:\arm-none-eabi-13 -Force
59
+ Remove-Item gcc-arm-none-eabi-win64-13.zip
60
+ }
61
+ Start-Job {
62
+ Set-Location $using:PWD
63
+ Invoke-WebRequest -OutFile gcc-arm-none-eabi-win64-14.zip https://developer.arm.com/-/media/Files/downloads/gnu/14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-mingw-w64-x86_64-arm-none-eabi.zip
64
+ New-Item -Path "C:\" -Name "arm-none-eabi-14" -ItemType "Directory"
65
+ Expand-Archive -Path gcc-arm-none-eabi-win64-14.zip -DestinationPath C:\arm-none-eabi-14 -Force
66
+ Remove-Item gcc-arm-none-eabi-win64-14.zip
67
+ }
68
+ Start-Job {
69
+ Set-Location $using:PWD
70
+ Add-Type -Assembly "System.IO.Compression.Filesystem"
71
+ Invoke-WebRequest -OutFile gcc-avr-win64.zip https://github.com/ZakKemble/avr-gcc-build/releases/download/v14.1.0-1/avr-gcc-14.1.0-x64-windows.zip
72
+ [System.IO.Compression.ZipFile]::ExtractToDirectory("gcc-avr-win64.zip", "C:\")
73
+ Remove-Item gcc-avr-win64.zip
74
+ }
75
+ Get-Job | Wait-Job
60
76
61
77
# No need for this anymore
62
78
# dir C:\mingw64
78
94
echo "C:\arm-none-eabi-13\arm-gnu-toolchain-13.2.rel1-mingw-w64-i686-arm-none-eabi\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
79
95
echo "C:\arm-none-eabi-14\arm-gnu-toolchain-14.2.rel1-mingw-w64-x86_64-arm-none-eabi\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
80
96
echo "C:\avr-gcc-14.1.0-x64-windows\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
81
- rm gcc-arm-none-eabi-win64-13.zip
82
- rm gcc-arm-none-eabi-win64-14.zip
83
97
84
98
- name : Show Version Information
85
99
if : always()
0 commit comments