Skip to content

Commit 5a728aa

Browse files
committed
Update build params & package artifacts for curl
1 parent 8304abe commit 5a728aa

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,12 @@ jobs:
7575
echo "-----END EC PRIVATE KEY-----" >> private_key.pem
7676
openssl dgst -sign private_key.pem -sha256 -out openssl.xcframework.zip.sig openssl.xcframework.zip
7777
openssl dgst -sign private_key.pem -sha256 -out openssl_swift.xcframework.zip.sig openssl_swift.xcframework.zip
78+
openssl dgst -sign private_key.pem -sha256 -out openssl_swift.xcframework.zip.sig openssl_swift.xcframework.zip
79+
openssl dgst -sign private_key.pem -sha256 -out openssl.tar.xz.sig openssl.tar.xz
7880
rm -f private_key.pem
7981
- name: Make Release
8082
id: make_release
8183
env:
8284
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8385
run: |
84-
gh release create -n "${{ needs.query.outputs.openssl_version }}" -t "${{ needs.query.outputs.openssl_version }}" ${{ needs.query.outputs.openssl_version }} openssl.xcframework.zip openssl.xcframework.zip.sig openssl_swift.xcframework.zip openssl_swift.xcframework.zip.sig
86+
gh release create -n "${{ needs.query.outputs.openssl_version }}" -t "${{ needs.query.outputs.openssl_version }}" ${{ needs.query.outputs.openssl_version }} openssl.xcframework.zip openssl.xcframework.zip.sig openssl_swift.xcframework.zip openssl_swift.xcframework.zip.sig openssl.tar.xz openssl.tar.xz.sig

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.DS_Store
22
build/
33
*.xcframework/
4+
*.tar
45
*.tar.gz
56
*.tar.gz.asc
67
*.tar.xz

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Options are:
4949
-- build args
5050
Any arguments after -- are passed directly to the ./configure step of compiling curl. Regardless
5151
of this value these parameters are always provided:
52-
-no-shared -no-ui-console -no-tests -no-stdio -no-threads -no-legacy -no-ssl2 -no-ssl3 -no-asm -no-weak-ssl-ciphers
52+
-no-shared -no-ui-console -no-tests -no-legacy -no-ssl2 -no-ssl3 -no-asm -no-weak-ssl-ciphers
5353
```
5454
5555
## Export Compliance

build-ios.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function build() {
9797
export CFLAGS="-arch ${ARCH} -pipe -Os -gdwarf-2 -isysroot ${SDKDIR} -m${SDK}-version-min=12.0"
9898
export LDFLAGS="-arch ${ARCH} -isysroot ${SDKDIR}"
9999

100-
CONFIGURE_ARGS="${BUILD_ARGS} -no-shared -no-ui-console -no-tests -no-stdio -no-threads -no-legacy -no-ssl2 -no-ssl3 -no-asm -no-weak-ssl-ciphers"
100+
CONFIGURE_ARGS="${BUILD_ARGS} -no-shared -no-ui-console -no-tests -no-legacy -no-ssl2 -no-ssl3 -no-asm -no-weak-ssl-ciphers"
101101

102102
echo "build variables: CC=\"${CC}\" CFLAGS=\"${CFLAGS}\" LDFLAGS=\"${LDFLAGS}\"" >> "${LOG}"
103103
echo "configure parameters: ${CONFIGURE_ARGS}" >> "${LOG}"
@@ -172,3 +172,7 @@ xcodebuild -create-xcframework \
172172
-framework ${BUILDDIR}/iphonesimulator/openssl.framework \
173173
-output openssl.xcframework
174174
plutil -insert CFBundleVersion -string ${OPENSSL_VERSION} openssl.xcframework/Info.plist
175+
176+
rm -f openssl.tar openssl.tar.xz
177+
tar -cf openssl.tar build/openssl_*/artifacts/
178+
xz openssl.tar

0 commit comments

Comments
 (0)