Skip to content

Commit d520b75

Browse files
build wolfssh with debugging on
1 parent 0f5dace commit d520b75

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/sftp-benchmark.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
- name: configure
7171
working-directory: ./wolfssh/
7272
run : |
73-
./configure --enable-all LDFLAGS="-L${{ github.workspace }}/build-dir/lib" CPPFLAGS="-I${{ github.workspace }}/build-dir/include -DWOLFSSH_NO_FPKI -DWOLFSSH_NO_SFTP_TIMEOUT -DWOLFSSH_MAX_SFTP_RW=4000000 -DMAX_PATH_SZ=120 -DEXAMPLE_SFTP_BENCHMARK"
73+
./configure --enable-all --enable-debug LDFLAGS="-L${{ github.workspace }}/build-dir/lib" CPPFLAGS="-I${{ github.workspace }}/build-dir/include -DWOLFSSH_NO_FPKI -DWOLFSSH_NO_SFTP_TIMEOUT -DWOLFSSH_MAX_SFTP_RW=4000000 -DMAX_PATH_SZ=120 -DEXAMPLE_SFTP_BENCHMARK"
7474
7575
- name: make
7676
working-directory: ./wolfssh/
@@ -119,11 +119,6 @@ jobs:
119119
run: |
120120
./scripts/get-sftp-benchmark.sh 22222
121121
122-
- name: Print logs if failed
123-
working-directory: ./wolfssh/
124-
if: failure()
125-
run: sudo cat sshd-log.txt
126-
127122
- name: Store Upload Speed PNG
128123
uses: actions/upload-artifact@v4
129124
with:
@@ -160,3 +155,9 @@ jobs:
160155
gh pr comment $PR_NUMBER --body "Attached is the performance results" \
161156
--attach download-results-pr${{ github.event.pull_request.number }}.png \
162157
--attach upload-results-pr${{ github.event.pull_request.number }}.png
158+
159+
- name: Print logs if failed
160+
working-directory: ./wolfssh/
161+
if: failure()
162+
run: sudo cat sshd-log.txt
163+

0 commit comments

Comments
 (0)