forked from wolfSSL/wolfssl
Revert "Don't need to upload/download artifacts"
This reverts commit b215398bd4
.
This commit is contained in:
39
.github/workflows/sssd.yml
vendored
39
.github/workflows/sssd.yml
vendored
@@ -13,6 +13,32 @@ concurrency:
|
|||||||
# END OF COMMON SECTION
|
# END OF COMMON SECTION
|
||||||
|
|
||||||
jobs:
|
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:
|
sssd_check:
|
||||||
if: github.repository_owner == 'wolfssl'
|
if: github.repository_owner == 'wolfssl'
|
||||||
strategy:
|
strategy:
|
||||||
@@ -28,6 +54,7 @@ jobs:
|
|||||||
LD_LIBRARY_PATH: /usr/local/lib
|
LD_LIBRARY_PATH: /usr/local/lib
|
||||||
# This should be a safe limit for the tests to run.
|
# This should be a safe limit for the tests to run.
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
|
needs: build_wolfssl
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
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_module.h /usr/include/ldb_module.h
|
||||||
ln -s samba-4.0/ldb_version.h /usr/include/ldb_version.h
|
ln -s samba-4.0/ldb_version.h /usr/include/ldb_version.h
|
||||||
|
|
||||||
- name: Build wolfSSL
|
- name: Download lib
|
||||||
uses: wolfSSL/actions-build-autotools-project@v1
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: wolfssl
|
name: wolf-install-sssd
|
||||||
configure: --enable-all CFLAGS=-DWOLFSSL_NO_ASN_STRICT
|
|
||||||
install: true
|
- name: untar build-dir
|
||||||
check: false
|
run: tar -xf build-dir.tgz
|
||||||
|
|
||||||
- name: Checkout OSP
|
- name: Checkout OSP
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
Reference in New Issue
Block a user