@@ -22,29 +22,27 @@ jobs:
22
22
include : [
23
23
{ os: windows-2019, arch: x86_64, msystem: mingw64, debug: true, suffix: "-dbg" },
24
24
{ os: windows-2019, arch: x86_64, msystem: mingw64, debug: false, suffix: "" },
25
- { os: windows-2019, arch: i686, msystem: mingw32, debug: true, suffix: "-dbg" },
26
- { os: windows-2019, arch: i686, msystem: mingw32, debug: false, suffix: "" },
27
25
{ os: windows-2019, arch: msvc, msystem: mingw64, debug: false, suffix: "-md" },
28
26
{ os: windows-2022, arch: msvc, msystem: mingw64, debug: false, suffix: "-md" },
29
27
]
30
28
steps :
31
29
- name : Checkout source
32
- uses : actions/checkout@v3
30
+ uses : actions/checkout@v4
33
31
with :
34
32
path : ${{ github.event.repository.name }}
35
33
- name : Checkout coinbrew
36
- uses : actions/checkout@v3
34
+ uses : actions/checkout@v4
37
35
with :
38
36
repository : coin-or/coinbrew
39
37
path : coinbrew
40
38
- name : Set up msvc
41
- uses : ilammy/msvc-dev-cmd@v1
42
39
if : ${{ matrix.arch == 'msvc' }}
40
+ uses : ilammy/msvc-dev-cmd@v1
43
41
- name : Set correct host flag and install requirements
42
+ if : ${{ matrix.arch != 'msvc' }}
44
43
run : |
45
44
echo "host_flag=--host=${{ matrix.arch }}-w64-mingw32" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
46
45
C:\msys64\usr\bin\pacman -S mingw-w64-${{ matrix.arch }}-lapack mingw-w64-${{ matrix.arch }}-winpthreads-git mingw-w64-${{ matrix.arch }}-readline mingw-w64-${{ matrix.arch }}-suitesparse mingw-w64-${{ matrix.arch }}-metis --noconfirm
47
- if : ${{ matrix.arch != 'msvc' }}
48
46
- name : Set up msys with ${{ matrix.msystem }}
49
47
uses : msys2/setup-msys2@v2
50
48
with :
71
69
cp ${{ github.event.repository.name }}/LICENSE dist/
72
70
shell : msys2 {0}
73
71
- name : Upload failed build directory
74
- uses : actions/upload-artifact@v3
72
+ uses : actions/upload-artifact@v4
75
73
if : failure()
76
74
with :
77
75
name : ${{ matrix.os}}-{{ matrix.arch }}-debug=${{ matrix.debug }}-failedbuild
88
86
shell : msys2 {0}
89
87
if : ${{ matrix.arch != 'msvc' }}
90
88
- name : Upload artifact
91
- if : ${{ github.event_name == 'pull_request'}}
92
- uses : actions/upload-artifact@v3
89
+ uses : actions/upload-artifact@v4
93
90
with :
94
- name : ${{ github.event.repository.name }}-${{ github.head_ref }}-${{ env.package_suffix }}
91
+ name : ${{ github.event.repository.name }}-${{ env.package_suffix }}
95
92
path : dist
96
93
if-no-files-found : error
97
94
- name : Zip up dist contents for release
0 commit comments