4
4
5
5
name : release
6
6
7
- on :
7
+ ' on ' :
8
8
workflow_dispatch :
9
9
tags :
10
10
- ' *'
@@ -34,20 +34,20 @@ jobs:
34
34
needs : [new_release]
35
35
strategy :
36
36
matrix :
37
- builder : [macos-latest, ubuntu-20.04 ]
37
+ builder : [ubuntu-20.04, macos-latest, macos-13 ]
38
38
name : " build-${{ matrix.builder }}"
39
39
steps :
40
- - run : |
41
- brew install libtool autoconf automake pkg-config
42
- mv /usr/local/include/openssl /usr/local/include/openssl.bak
43
- if: ${{ matrix.builder == 'macos-latest ' }}
40
+ - run : brew install libtool autoconf automake pkg-config
41
+ if : ${{ matrix.builder == 'macos-latest' || matrix.builder == 'macos-13' }}
42
+ - run : mv /usr/local/include/openssl /usr/local/include/openssl.bak
43
+ if : ${{ matrix.builder == 'macos-13 ' }}
44
44
- name : build Tongsuo
45
45
run : |
46
- VERSION=8.3.3
46
+ VERSION=8.4.0
47
47
wget "https://github.com/Tongsuo-Project/Tongsuo/archive/refs/tags/${VERSION}.tar.gz"
48
48
tar zxf "${VERSION}.tar.gz"
49
49
pushd "Tongsuo-${VERSION}"
50
- ./config --prefix=${GITHUB_WORKSPACE}/tongsuo no-shared enable-ntls --release
50
+ ./config --prefix=${GITHUB_WORKSPACE}/tongsuo no-shared enable-ntls enable-ssl-trace --release
51
51
make -s -j4
52
52
make install_sw
53
53
popd
@@ -62,15 +62,14 @@ jobs:
62
62
autoreconf -fi
63
63
./configure --enable-warnings --enable-werror --with-openssl=${GITHUB_WORKSPACE}/tongsuo --without-zlib --without-brotli --disable-shared --disable-ldap --disable-ldaps --disable-rtsp --without-librtmp --enable-static
64
64
make -s -j4
65
-
66
65
- name : upload artifact
67
66
uses : actions/upload-release-asset@v1
68
67
env :
69
68
GITHUB_TOKEN : ${{ github.token }}
70
69
with :
71
70
upload_url : ${{ needs.new_release.outputs.upload_url }}
72
71
asset_path : ./curl/src/curl
73
- asset_name : curl-${{ runner.os }}
72
+ asset_name : curl-${{ runner.os }}-${{ runner.arch }}
74
73
asset_content_type : application/octet-stream
75
74
76
75
build_windows :
88
87
- name : Export env
89
88
shell : bash
90
89
run : |
91
- VERSION=8.3.3
90
+ VERSION=8.4.0
92
91
echo "TONGSUO_VERSION=${VERSION}" >> $GITHUB_ENV
93
92
echo "TONGSUO_HOME=${GITHUB_WORKSPACE}\tongsuo${VERSION}" >> $GITHUB_ENV
94
93
- name : Download Tongsuo source
@@ -103,7 +102,7 @@ jobs:
103
102
pushd "Tongsuo-%TONGSUO_VERSION%"
104
103
mkdir _build
105
104
pushd _build
106
- perl ..\Configure no-makedepend no-shared VC-WIN64A --prefix=%TONGSUO_HOME%
105
+ perl ..\Configure no-makedepend no-shared enable-ntls enable-ssl-trace VC-WIN64A --prefix=%TONGSUO_HOME% --release
107
106
nmake /S
108
107
nmake install_sw
109
108
popd
@@ -116,16 +115,18 @@ jobs:
116
115
working-directory : ./curl
117
116
shell : powershell
118
117
run : |
119
- git apply tongsuo.diff
118
+ git apply --reject tongsuo.patc
120
119
./buildconf.bat
121
120
cd winbuild
122
- nmake /f Makefile.vc mode=static WITH_SSL=static SSL_PATH=${env:TONGSUO_HOME} RTLIBCFG=static
121
+ nmake /f Makefile.vc MACHINE=x64 mode=static WITH_SSL=static SSL_PATH=${env:TONGSUO_HOME} RTLIBCFG=static ENABLE_NTLS=yes
122
+ cd ..
123
+ builds\libcurl-vc-x64-release-static-ssl-static-ipv6-sspi\bin\curl.exe --help tls | findstr tlcp
123
124
- name : upload artifact
124
125
uses : actions/upload-release-asset@v1
125
126
env :
126
127
GITHUB_TOKEN : ${{ github.token }}
127
128
with :
128
129
upload_url : ${{ needs.new_release.outputs.upload_url }}
129
130
asset_path : .\curl\builds\libcurl-vc-x64-release-static-ssl-static-ipv6-sspi\bin\curl.exe
130
- asset_name : curl-${{ runner.os }}.exe
131
+ asset_name : curl-${{ runner.os }}-${{ runner.arch }} .exe
131
132
asset_content_type : application/octet-stream
0 commit comments