From 19d738cecf601ba30edb0f099ddeab6941082153 Mon Sep 17 00:00:00 2001 From: Andras Fekete Date: Wed, 23 Oct 2024 14:28:24 -0400 Subject: [PATCH] Revert "Don't need to upload/download artifacts" This reverts commit b215398bd4e8005e453fc4f5ade15b117683cfb1. --- .github/workflows/sssd.yml | 39 ++++++++++++++++++++++++++++++++------ 1 file changed, 33 insertions(+), 6 deletions(-) diff --git a/.github/workflows/sssd.yml b/.github/workflows/sssd.yml index 73408b051c..7ab859133a 100644 --- a/.github/workflows/sssd.yml +++ b/.github/workflows/sssd.yml @@ -13,6 +13,32 @@ concurrency: # END OF COMMON SECTION jobs: + build_wolfssl: + if: github.repository_owner == 'wolfssl' + name: Build wolfSSL + # Just to keep it the same as the testing target + runs-on: ubuntu-latest + # This should be a safe limit for the tests to run. + timeout-minutes: 4 + steps: + - name: Build wolfSSL + uses: wolfSSL/actions-build-autotools-project@v1 + with: + path: wolfssl + configure: --enable-all CFLAGS=-DWOLFSSL_NO_ASN_STRICT + install: true + check: false + + - name: tar build-dir + run: tar -zcf build-dir.tgz build-dir + + - name: Upload built lib + uses: actions/upload-artifact@v4 + with: + name: wolf-install-sssd + path: build-dir.tgz + retention-days: 5 + sssd_check: if: github.repository_owner == 'wolfssl' strategy: @@ -28,6 +54,7 @@ jobs: LD_LIBRARY_PATH: /usr/local/lib # This should be a safe limit for the tests to run. timeout-minutes: 20 + needs: build_wolfssl steps: - name: Install dependencies run: | @@ -44,13 +71,13 @@ jobs: ln -s samba-4.0/ldb_module.h /usr/include/ldb_module.h ln -s samba-4.0/ldb_version.h /usr/include/ldb_version.h - - name: Build wolfSSL - uses: wolfSSL/actions-build-autotools-project@v1 + - name: Download lib + uses: actions/download-artifact@v4 with: - path: wolfssl - configure: --enable-all CFLAGS=-DWOLFSSL_NO_ASN_STRICT - install: true - check: false + name: wolf-install-sssd + + - name: untar build-dir + run: tar -xf build-dir.tgz - name: Checkout OSP uses: actions/checkout@v4