Skip to content

Commit

Permalink
Revert "Don't need to upload/download artifacts"
Browse files Browse the repository at this point in the history
This reverts commit b215398.
  • Loading branch information
Andras Fekete committed Oct 23, 2024
1 parent d981cd5 commit 19d738c
Showing 1 changed file with 33 additions and 6 deletions.
39 changes: 33 additions & 6 deletions .github/workflows/sssd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit 19d738c

Please sign in to comment.