Skip to content

Commit

Permalink
OpenSSL 3.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
217heidai committed Jun 5, 2024
1 parent 1548e4f commit 4ff3bdc
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 8 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build_arm64-v8a.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

env:
ANDROID_ABI: arm64-v8a
OPENSSL_VERSION: 3.3.0
OPENSSL_VERSION: 3.3.1
ANDROID_NDK_VERSION: r20b
WORK_PATH: /home/runner/work/openssl_for_android/openssl_for_android

Expand Down Expand Up @@ -68,4 +68,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.tag.outputs.release_tag }}
files: ${{env.WORK_PATH}}/OpenSSL_${{env.OPENSSL_VERSION}}_${{env.ANDROID_ABI}}.tar.gz
files: ${{env.WORK_PATH}}/OpenSSL_${{env.OPENSSL_VERSION}}_${{env.ANDROID_ABI}}.tar.gz

- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@main
with:
retain_days: 0
keep_minimum_runs: 4
8 changes: 7 additions & 1 deletion .github/workflows/build_armeabi-v7a.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

env:
ANDROID_ABI: armeabi-v7a
OPENSSL_VERSION: 3.3.0
OPENSSL_VERSION: 3.3.1
ANDROID_NDK_VERSION: r20b
WORK_PATH: /home/runner/work/openssl_for_android/openssl_for_android

Expand Down Expand Up @@ -69,3 +69,9 @@ jobs:
with:
tag_name: ${{ steps.tag.outputs.release_tag }}
files: ${{env.WORK_PATH}}/OpenSSL_${{env.OPENSSL_VERSION}}_${{env.ANDROID_ABI}}.tar.gz

- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@main
with:
retain_days: 0
keep_minimum_runs: 4
8 changes: 7 additions & 1 deletion .github/workflows/build_x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

env:
ANDROID_ABI: x86
OPENSSL_VERSION: 3.3.0
OPENSSL_VERSION: 3.3.1
ANDROID_NDK_VERSION: r20b
WORK_PATH: /home/runner/work/openssl_for_android/openssl_for_android

Expand Down Expand Up @@ -69,3 +69,9 @@ jobs:
with:
tag_name: ${{ steps.tag.outputs.release_tag }}
files: ${{env.WORK_PATH}}/OpenSSL_${{env.OPENSSL_VERSION}}_${{env.ANDROID_ABI}}.tar.gz

- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@main
with:
retain_days: 0
keep_minimum_runs: 4
8 changes: 7 additions & 1 deletion .github/workflows/build_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

env:
ANDROID_ABI: x86_64
OPENSSL_VERSION: 3.3.0
OPENSSL_VERSION: 3.3.1
ANDROID_NDK_VERSION: r20b
WORK_PATH: /home/runner/work/openssl_for_android/openssl_for_android

Expand Down Expand Up @@ -69,3 +69,9 @@ jobs:
with:
tag_name: ${{ steps.tag.outputs.release_tag }}
files: ${{env.WORK_PATH}}/OpenSSL_${{env.OPENSSL_VERSION}}_${{env.ANDROID_ABI}}.tar.gz

- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@main
with:
retain_days: 0
keep_minimum_runs: 4
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenSSL for Android
Automatically compile static OpenSSL(3.2.*) library for Android by Github Actions.
Automatically compile static OpenSSL library for Android by Github Actions.

## Android
`armeabi``mips``mips64` targets are no longer supported with NDK R17+.
Expand All @@ -14,6 +14,7 @@ Automatically compile static OpenSSL(3.2.*) library for Android by Github Action
## ChangeLog
| Date | Content |
|-----------|----------------------------------------------------------------------|
| 2024.06.05 | OpenSSL 3.3.1 |
| 2024.04.10 | OpenSSL 3.3.0 |
| 2024.02.01 | OpenSSL 3.2.1 |
| 2023.11.24 | OpenSSL 3.2.0 |
Expand Down
5 changes: 3 additions & 2 deletions openssl_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

WORK_PATH=$(cd "$(dirname "$0")";pwd)
ANDROID_NDK_PATH=${WORK_PATH}/android-ndk-r20b
OPENSSL_SOURCES_PATH=${WORK_PATH}/openssl-3.3.0
OPENSSL_SOURCES_PATH=${WORK_PATH}/openssl-3.3.1
ANDROID_TARGET_API=$1
ANDROID_TARGET_ABI=$2
OUTPUT_PATH=${WORK_PATH}/openssl_3.3.0_${ANDROID_TARGET_ABI}
OUTPUT_PATH=${WORK_PATH}/openssl_3.3.1_${ANDROID_TARGET_ABI}

OPENSSL_TMP_FOLDER=/tmp/openssl_${ANDROID_TARGET_ABI}
mkdir -p ${OPENSSL_TMP_FOLDER}
Expand All @@ -18,6 +18,7 @@ function build_library {
rm -rf ${OUTPUT_PATH}/bin
rm -rf ${OUTPUT_PATH}/share
rm -rf ${OUTPUT_PATH}/ssl
rm -rf ${OUTPUT_PATH}/lib/cmake
rm -rf ${OUTPUT_PATH}/lib/engines*
rm -rf ${OUTPUT_PATH}/lib/pkgconfig
rm -rf ${OUTPUT_PATH}/lib/ossl-modules
Expand Down

0 comments on commit 4ff3bdc

Please sign in to comment.