|
5 | 5 | branches: [ '*' ] |
6 | 6 |
|
7 | 7 | env: |
8 | | - WOLFSSL_VERSION: v5.8.0-stable |
| 8 | + WOLFSSL_VERSION: v5.8.4-stable |
9 | 9 |
|
10 | 10 | jobs: |
11 | 11 | storage-upgrade-test: |
|
20 | 20 | # - name: v1.3.0 |
21 | 21 | # ref: v1.3.0-stable |
22 | 22 | # branch-dir: v1.3.0-stable-branch |
23 | | - |
| 23 | + |
24 | 24 | steps: |
25 | 25 | # Checkout the PR branch |
26 | 26 | - name: Checkout PR branch |
|
52 | 52 | repository: wolfssl/wolfssl |
53 | 53 | path: wolfssl |
54 | 54 | ref: ${{ env.WOLFSSL_VERSION }} |
55 | | - |
| 55 | + |
56 | 56 | - name: Build wolfssl |
57 | 57 | if: steps.cache-wolfssl.outputs.cache-hit != 'true' |
58 | 58 | working-directory: ./wolfssl |
@@ -109,30 +109,30 @@ jobs: |
109 | 109 | - name: Copy storage files from ${{ matrix.base-ref.name }} to PR |
110 | 110 | run: | |
111 | 111 | echo "=== Copying storage files from ${{ matrix.base-ref.name }} to PR branch ===" |
112 | | - |
| 112 | +
|
113 | 113 | # Create directories if they don't exist |
114 | 114 | mkdir -p pr-branch/store |
115 | | - |
| 115 | +
|
116 | 116 | # Copy store files |
117 | 117 | if [ -d "${{ matrix.base-ref.branch-dir }}/store" ]; then |
118 | 118 | cp -rv ${{ matrix.base-ref.branch-dir }}/store/* pr-branch/store/ 2>/dev/null || echo "No files in ${{ matrix.base-ref.branch-dir }}/store/" |
119 | 119 | fi |
120 | | - |
| 120 | +
|
121 | 121 | echo "=== Storage file copy completed ===" |
122 | 122 |
|
123 | 123 | - name: Test storage format compatibility (${{ matrix.base-ref.name }} → PR) |
124 | 124 | working-directory: ./pr-branch |
125 | 125 | run: | |
126 | 126 | echo "=== Testing storage format compatibility with PR branch ===" |
127 | 127 | echo "This tests that the PR can read storage files created by ${{ matrix.base-ref.name }} branch" |
128 | | - |
| 128 | +
|
129 | 129 | # List the copied files for verification |
130 | 130 | echo "Files in store directory:" |
131 | 131 | ls -la store/* 2>/dev/null || echo "No wp* files in store/" |
132 | | - |
| 132 | +
|
133 | 133 | # Run the tests with the copied storage files |
134 | 134 | ./tests/pkcs11test |
135 | | - |
| 135 | +
|
136 | 136 | echo "=== Storage format upgrade test (${{ matrix.base-ref.name }} → PR) completed successfully ===" |
137 | 137 |
|
138 | 138 | # Upload artifacts for debugging if needed |
|
0 commit comments