@@ -40,43 +40,48 @@ jobs:
40
40
# Unzip -zipfile "gcc-arm-none-eabi-win64.zip" -outdir "C:\"
41
41
# is not faster than
42
42
# Expand-Archive -Path gcc-arm-none-eabi-win64.zip -DestinationPath C:\ -Force
43
+ # GCC 12 comes with the Windows image now
44
+ # Start-Job {
45
+ # Set-Location $using:PWD
46
+ # Add-Type -Assembly "System.IO.Compression.Filesystem"
47
+ # Invoke-WebRequest -OutFile gcc-win64.zip https://github.com/brechtsanders/winlibs_mingw/releases/download/14.2.0posix-19.1.7-12.0.0-msvcrt-r3/winlibs-x86_64-posix-seh-gcc-14.2.0-mingw-w64msvcrt-12.0.0-r3.zip
48
+ # [System.IO.Compression.ZipFile]::ExtractToDirectory("gcc-win64.zip", "C:\")
49
+ # }
43
50
- name : Download and Unzip GCCs
44
51
shell : powershell
45
52
run : |
46
- $ProgressPreference = 'SilentlyContinue'
47
- Start-Job {
48
- Set-Location $using:PWD
49
- Add-Type -Assembly "System.IO.Compression.Filesystem"
50
- Invoke-WebRequest -OutFile gcc-win64.zip https://github.com/brechtsanders/winlibs_mingw/releases/download/14.2.0posix-19.1.7-12.0.0-msvcrt-r3/winlibs-x86_64-posix-seh-gcc-14.2.0-mingw-w64msvcrt-12.0.0-r3.zip
51
- [System.IO.Compression.ZipFile]::ExtractToDirectory("gcc-win64.zip", "C:\")
52
- }
53
- Start-Job {
54
- Set-Location $using:PWD
55
- Invoke-WebRequest -OutFile gcc-arm-none-eabi-win64.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
56
- Expand-Archive -Path gcc-arm-none-eabi-win64.zip -DestinationPath C:\ -Force
57
- }
58
- Start-Job {
59
- Set-Location $using:PWD
60
- Add-Type -Assembly "System.IO.Compression.Filesystem"
61
- 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
62
- [System.IO.Compression.ZipFile]::ExtractToDirectory("gcc-avr-win64.zip", "C:\")
63
- }
64
- Get-Job | Wait-Job
53
+ Set-Location $using:PWD
54
+
55
+ 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-x86_64-arm-none-eabi.zip
56
+ New-Item -Path "C:\" -Name "arm-none-eabi-13" -ItemType "Directory"
57
+ Expand-Archive -Path gcc-arm-none-eabi-win64-13.zip -DestinationPath C:\arm-none-eabi-13 -PassThru
58
+
59
+ 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
60
+ New-Item -Path "C:\" -Name "arm-none-eabi-14" -ItemType "Directory"
61
+ Expand-Archive -Path gcc-arm-none-eabi-win64-14.zip -DestinationPath C:\arm-none-eabi-14 -PassThru
65
62
63
+ # No need for this anymore
64
+ # dir C:\mingw64
65
+ # dir C:\mingw64\bin
66
+ # echo "C:\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
66
67
- name : Install GCCs
67
68
if : always()
68
69
shell : powershell
69
70
run : |
70
71
dir C:\
71
- dir C:\mingw64
72
- dir C:\mingw64\bin
73
- dir C:\arm-gnu-toolchain-13.2.rel1-mingw-w64-i686-arm-none-eabi
72
+ dir C:\arm-none-eabi-13\
73
+ dir C:\arm-none-eabi-13\arm-gnu-toolchain-13.2.rel1-mingw-w64-x86_64-arm-none-eabi
74
+ dir C:\arm-none-eabi-13\arm-gnu-toolchain-13.2.rel1-mingw-w64-x86_64-arm-none-eabi\bin
75
+ dir C:\arm-none-eabi-14\
76
+ dir C:\arm-none-eabi-14\arm-gnu-toolchain-14.2.rel1-mingw-w64-x86_64-arm-none-eabi
77
+ dir C:\arm-none-eabi-14\arm-gnu-toolchain-14.2.rel1-mingw-w64-x86_64-arm-none-eabi\bin
74
78
dir C:\avr-gcc-14.1.0-x64-windows
75
79
dir C:\avr-gcc-14.1.0-x64-windows\bin
76
- echo "C:\mingw64 \bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
77
- echo "C:\arm-gnu-toolchain-13 .2.rel1-mingw-w64-i686 -arm-none-eabi\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
80
+ echo "C:\arm-none-eabi-13\arm-gnu-toolchain-13.2.rel1-mingw-w64-x86_64-arm-none-eabi \bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
81
+ 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
78
82
echo "C:\avr-gcc-14.1.0-x64-windows\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
79
- rm gcc-arm-none-eabi-win64.zip
83
+ rm gcc-arm-none-eabi-win64-13.zip
84
+ rm gcc-arm-none-eabi-win64-14.zip
80
85
81
86
- name : Show Version Information
82
87
if : always()
0 commit comments