File tree 1 file changed +33
-6
lines changed
1 file changed +33
-6
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,32 @@ concurrency:
13
13
# END OF COMMON SECTION
14
14
15
15
jobs :
16
+ build_wolfssl :
17
+ if : github.repository_owner == 'wolfssl'
18
+ name : Build wolfSSL
19
+ # Just to keep it the same as the testing target
20
+ runs-on : ubuntu-latest
21
+ # This should be a safe limit for the tests to run.
22
+ timeout-minutes : 4
23
+ steps :
24
+ - name : Build wolfSSL
25
+ uses : wolfSSL/actions-build-autotools-project@v1
26
+ with :
27
+ path : wolfssl
28
+ configure : --enable-all CFLAGS=-DWOLFSSL_NO_ASN_STRICT
29
+ install : true
30
+ check : false
31
+
32
+ - name : tar build-dir
33
+ run : tar -zcf build-dir.tgz build-dir
34
+
35
+ - name : Upload built lib
36
+ uses : actions/upload-artifact@v4
37
+ with :
38
+ name : wolf-install-sssd
39
+ path : build-dir.tgz
40
+ retention-days : 5
41
+
16
42
sssd_check :
17
43
if : github.repository_owner == 'wolfssl'
18
44
strategy :
28
54
LD_LIBRARY_PATH : /usr/local/lib
29
55
# This should be a safe limit for the tests to run.
30
56
timeout-minutes : 20
57
+ needs : build_wolfssl
31
58
steps :
32
59
- name : Install dependencies
33
60
run : |
@@ -44,13 +71,13 @@ jobs:
44
71
ln -s samba-4.0/ldb_module.h /usr/include/ldb_module.h
45
72
ln -s samba-4.0/ldb_version.h /usr/include/ldb_version.h
46
73
47
- - name : Build wolfSSL
48
- uses : wolfSSL/ actions-build-autotools-project@v1
74
+ - name : Download lib
75
+ uses : actions/download-artifact@v4
49
76
with :
50
- path : wolfssl
51
- configure : --enable-all CFLAGS=-DWOLFSSL_NO_ASN_STRICT
52
- install : true
53
- check : false
77
+ name : wolf-install-sssd
78
+
79
+ - name : untar build-dir
80
+ run : tar -xf build-dir.tgz
54
81
55
82
- name : Checkout OSP
56
83
uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments