File tree Expand file tree Collapse file tree 2 files changed +37
-4
lines changed
Expand file tree Collapse file tree 2 files changed +37
-4
lines changed Original file line number Diff line number Diff line change 4242 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4343 timeout-minutes : 10
4444
45- gcc :
45+ gcc-mingw :
46+ if : ${{ always() }}
47+ needs : msys2
4648 name : >-
4749 ${{ matrix.gcc }} gcc
4850 # env:
5456 include :
5557 - { gcc: mingw64 , ruby: '3.0' }
5658 - { gcc: mingw64-3.0, ruby: mingw }
59+ steps :
60+ - name : Checkout
61+ uses : actions/checkout@v4
62+
63+ - name : Set up Ruby
64+ uses : ruby/setup-ruby@v1
65+ with :
66+ ruby-version : ${{ matrix.ruby }}
67+ timeout-minutes : 7
68+
69+ - name : Update ${{ matrix.gcc }} gcc 7z and Upload
70+ run : ruby create_gcc_pkg.rb ${{ matrix.gcc }}
71+ env :
72+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
73+ timeout-minutes : 13
74+
75+ gcc-ucrt :
76+ if : ${{ always() }}
77+ needs : gcc-mingw
78+ name : >-
79+ ${{ matrix.gcc }} gcc
80+ # env:
81+ # FORCE_UPDATE: true
82+ runs-on : windows-2022
83+ strategy :
84+ fail-fast : false
85+ matrix :
86+ include :
5787 - { gcc: ucrt64 , ruby: 3.1 }
5888 - { gcc: ucrt64-3.0 , ruby: ucrt }
5989 steps :
70100 run : ruby create_gcc_pkg.rb ${{ matrix.gcc }}
71101 env :
72102 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
73- timeout-minutes : 10
103+ timeout-minutes : 13
104+
Original file line number Diff line number Diff line change @@ -326,11 +326,13 @@ def pacman_syuu(ignore = nil)
326326
327327 ignore = ignore ? "--ignore #{ ignore } " : nil
328328
329- exec_check 'Updating all installed packages' , "#{ PACMAN } -Syuu --noconfirm #{ ignore } "
329+ cmd = "#{ PACMAN } -Syuu --disable-download-timeout --noconfirm #{ ignore } "
330+
331+ exec_check 'Updating all installed packages' , cmd
330332
331333 system 'taskkill /f /fi "MODULES eq msys-2.0.dll"'
332334
333- exec_check 'Updating all installed packages (2nd pass)' , " #{ PACMAN } -Syuu --noconfirm #{ ignore } "
335+ exec_check 'Updating all installed packages (2nd pass)' , cmd
334336
335337 system 'taskkill /f /fi "MODULES eq msys-2.0.dll"'
336338
You can’t perform that action at this time.
0 commit comments