Skip to content

Commit d04fc41

Browse files
committed
ci: add GCC 13.0.1 for Windows
1 parent dff04d2 commit d04fc41

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/main.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ jobs:
3333
--slave /usr/bin/g++ g++ /usr/bin/g++-${GCC_V} \
3434
--slave /usr/bin/gcov gcov /usr/bin/gcov-${GCC_V}
3535
36+
- name: Install GCC compilers Windows
37+
if: contains(matrix.os, 'windows')
38+
run: |
39+
Invoke-WebRequest -Uri $Env:GCC_DOWNLOAD -OutFile mingw-w64.zip
40+
Expand-Archive mingw-w64.zip
41+
echo "$pwd\mingw-w64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
42+
env:
43+
GCC_DOWNLOAD: |
44+
https://github.com/brechtsanders/winlibs_mingw/releases/download/13.0.1-snapshot20230122-10.0.0-msvcrt-r1/winlibs-i686-posix-dwarf-gcc-13.0.1-snapshot20230122-mingw-w64msvcrt-10.0.0-r1.zip
45+
3646
- name: Installing Extension
3747
run: npm ci
3848
- name: Compile

0 commit comments

Comments
 (0)