File tree 1 file changed +36
-0
lines changed
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 36
36
with :
37
37
name : msmtp-libressl
38
38
path : D:\a\msmtp\tmp\
39
+ nls :
40
+ runs-on : windows-latest
41
+ defaults :
42
+ run :
43
+ shell : msys2 {0}
44
+ steps :
45
+ - name : Check out repository code
46
+ uses : actions/checkout@v4
47
+ - name : Install build dependencies
48
+ uses : msys2/setup-msys2@v2
49
+ with :
50
+ msystem : UCRT64
51
+ update : true
52
+ install : >-
53
+ mingw-w64-ucrt-x86_64-gcc
54
+ pkgconf
55
+ automake
56
+ autoconf
57
+ make
58
+ texinfo
59
+ - name : Build
60
+ run : |
61
+ autoreconf -i
62
+ # The only function from libwinpthread is clock_gettime()
63
+ ./configure --with-tls=sspi LDFLAGS=-Wl,-Bstatic,-lwinpthread
64
+ make
65
+ - name : Set locale
66
+ shell : pwsh
67
+ run : |
68
+ Set-WinSystemLocale -SystemLocale ru-RU
69
+ - name : Test IDN
70
+ continue-on-error : true
71
+ run : |
72
+ src/msmtp --debug --serverinfo --tls --host=mx3.почта.рус --port=1234 > output.log 2>&1 || true
73
+ cat output.log | iconv -f cp1251 -t utf-8
74
+ grep -q 'connection refused' output.log && echo 🎉 The host was found successfully but the connection was refused.
39
75
native :
40
76
runs-on : windows-latest
41
77
defaults :
You can’t perform that action at this time.
0 commit comments