Skip to content

Commit 19d738c

Browse files
author
Andras Fekete
committed
Revert "Don't need to upload/download artifacts"
This reverts commit b215398.
1 parent d981cd5 commit 19d738c

File tree

1 file changed

+33
-6
lines changed

1 file changed

+33
-6
lines changed

.github/workflows/sssd.yml

+33-6
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,32 @@ concurrency:
1313
# END OF COMMON SECTION
1414

1515
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+
1642
sssd_check:
1743
if: github.repository_owner == 'wolfssl'
1844
strategy:
@@ -28,6 +54,7 @@ jobs:
2854
LD_LIBRARY_PATH: /usr/local/lib
2955
# This should be a safe limit for the tests to run.
3056
timeout-minutes: 20
57+
needs: build_wolfssl
3158
steps:
3259
- name: Install dependencies
3360
run: |
@@ -44,13 +71,13 @@ jobs:
4471
ln -s samba-4.0/ldb_module.h /usr/include/ldb_module.h
4572
ln -s samba-4.0/ldb_version.h /usr/include/ldb_version.h
4673
47-
- name: Build wolfSSL
48-
uses: wolfSSL/actions-build-autotools-project@v1
74+
- name: Download lib
75+
uses: actions/download-artifact@v4
4976
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
5481

5582
- name: Checkout OSP
5683
uses: actions/checkout@v4

0 commit comments

Comments
 (0)