File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Android
2
2
3
3
on : [push, pull_request]
4
4
5
+ env :
6
+ openssl : 3.2.1
7
+
5
8
jobs :
6
9
android :
7
10
runs-on : ubuntu-latest
@@ -13,14 +16,14 @@ jobs:
13
16
id : openssl
14
17
with :
15
18
path : openssl
16
- key : ${{ runner.os }}-android-openssl-3.2.1
19
+ key : ${{ runner.os }}-android-openssl-$openssl
17
20
18
21
- name : " build openssl"
19
22
if : steps.openssl.outputs.cache-hit != 'true'
20
23
run : |
21
- wget -q https://www.openssl.org/source/openssl-3.2.1 .tar.gz
22
- tar -xzf openssl-3.2.0 .tar.gz
23
- mv openssl-3.2.0 openssl
24
+ wget -q https://www.openssl.org/source/openssl-$openssl .tar.gz
25
+ tar -xzf openssl-$openssl .tar.gz
26
+ mv openssl-$openssl openssl
24
27
cd openssl && ANDROID_NDK_ROOT=$ANDROID_NDK_LATEST_HOME PATH=$ANDROID_NDK_LATEST_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH ./Configure android-arm64 no-shared no-tests -U__ANDROID_API__ -D__ANDROID_API__=21 && PATH=$ANDROID_NDK_LATEST_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH make build_libs && cd ..
25
28
26
29
- name : build
You can’t perform that action at this time.
0 commit comments