|
7 | 7 | branches: [ '*' ] |
8 | 8 |
|
9 | 9 | jobs: |
10 | | - build: |
11 | 10 |
|
12 | | - runs-on: ubuntu-latest |
| 11 | + defaults_all: |
| 12 | + uses: ./.github/workflows/build-workflow.yml |
13 | 13 |
|
14 | | - steps: |
15 | | -#pull wolfPKCS11 |
16 | | - - uses: actions/checkout@v3 |
| 14 | + no_rsa: |
| 15 | + uses: ./.github/workflows/build-workflow.yml |
| 16 | + with: |
| 17 | + config: --disable-rsa |
| 18 | + no_rsaoaep: |
| 19 | + uses: ./.github/workflows/build-workflow.yml |
| 20 | + with: |
| 21 | + config: --disable-rsaoaep |
| 22 | + no_rsapss: |
| 23 | + uses: ./.github/workflows/build-workflow.yml |
| 24 | + with: |
| 25 | + config: --disable-rsapss |
| 26 | + no_ecc: |
| 27 | + uses: ./.github/workflows/build-workflow.yml |
| 28 | + with: |
| 29 | + config: --disable-ecc |
| 30 | + no_dh: |
| 31 | + uses: ./.github/workflows/build-workflow.yml |
| 32 | + with: |
| 33 | + config: --disable-dh |
| 34 | + no_keygen: |
| 35 | + uses: ./.github/workflows/build-workflow.yml |
| 36 | + with: |
| 37 | + config: --disable-keygen |
| 38 | + no_keystore: |
| 39 | + uses: ./.github/workflows/build-workflow.yml |
| 40 | + with: |
| 41 | + config: CFLAGS="-DWOLFPKCS11_NO_STORE" |
| 42 | + no_aesgcm: |
| 43 | + uses: ./.github/workflows/build-workflow.yml |
| 44 | + with: |
| 45 | + config: --disable-aesgcm |
| 46 | + no_sha512: |
| 47 | + uses: ./.github/workflows/build-workflow.yml |
| 48 | + with: |
| 49 | + config: --disable-sha512 |
| 50 | + no_sha384: |
| 51 | + uses: ./.github/workflows/build-workflow.yml |
| 52 | + with: |
| 53 | + config: --disable-sha384 |
| 54 | + no_sha224: |
| 55 | + uses: ./.github/workflows/build-workflow.yml |
| 56 | + with: |
| 57 | + config: --disable-sha224 |
| 58 | + no_sha1: |
| 59 | + uses: ./.github/workflows/build-workflow.yml |
| 60 | + with: |
| 61 | + config: --disable-sha1 |
| 62 | + no_md5: |
| 63 | + uses: ./.github/workflows/build-workflow.yml |
| 64 | + with: |
| 65 | + config: --disable-md5 |
| 66 | + no_hmac: |
| 67 | + uses: ./.github/workflows/build-workflow.yml |
| 68 | + with: |
| 69 | + config: --disable-hmac |
17 | 70 |
|
18 | | -#setup wolfssl |
19 | | - - uses: actions/checkout@v3 |
20 | | - with: |
21 | | - repository: wolfssl/wolfssl |
22 | | - path: wolfssl |
23 | | - - name: wolfssl autogen |
24 | | - working-directory: ./wolfssl |
25 | | - run: ./autogen.sh |
26 | | - - name: wolfssl configure |
27 | | - working-directory: ./wolfssl |
28 | | - run: | |
29 | | - ./configure --enable-wolftpm --enable-rsapss --enable-keygen --enable-pwdbased --enable-scrypt \ |
30 | | - C_EXTRA_FLAGS="-DWOLFSSL_PUBLIC_MP -DWC_RSA_DIRECT" |
31 | | - - name: wolfssl make install |
32 | | - working-directory: ./wolfssl |
33 | | - run: make |
34 | | - - name: wolfssl make install |
35 | | - working-directory: ./wolfssl |
36 | | - run: | |
37 | | - sudo make install |
38 | | - sudo ldconfig |
39 | | -
|
40 | | -#setup wolfPKCS11 |
41 | | - - name: wolfpkcs11 autogen |
42 | | - run: ./autogen.sh |
43 | | - - name: wolfpkcs11 configure |
44 | | - run: ./configure |
45 | | - - name: wolfpkcs11 make |
46 | | - run: make |
47 | | - - name: wolfpkcs11 make check |
48 | | - run: make check |
49 | | - - name: wolfpkcs11 make install |
50 | | - run: sudo make install |
51 | | - - name: wolfpkcs11 make dist |
52 | | - run: make dist |
53 | | - |
54 | | -# capture logs on failure |
55 | | - - name: Upload failure logs |
56 | | - if: failure() |
57 | | - uses: actions/upload-artifact@v3 |
58 | | - with: |
59 | | - name: wolfpkcs11-test-logs |
60 | | - path: | |
61 | | - test-suite.log |
62 | | - retention-days: 5 |
| 71 | + #TODO: --disable-aes Enable AES (default: enabled) |
| 72 | + #TODO: --disable-aescbc Enable AES-CBC (default: enabled) |
| 73 | + #TODO: --disable-sha256 Enable SHA-256 (default: enabled) |
0 commit comments