Skip to content

Commit

Permalink
build wolfssh with debugging on
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobBarthelmeh committed Feb 24, 2025
1 parent 0f5dace commit d520b75
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/sftp-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- name: configure
working-directory: ./wolfssh/
run : |
./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"
./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"
- name: make
working-directory: ./wolfssh/
Expand Down Expand Up @@ -119,11 +119,6 @@ jobs:
run: |
./scripts/get-sftp-benchmark.sh 22222
- name: Print logs if failed
working-directory: ./wolfssh/
if: failure()
run: sudo cat sshd-log.txt

- name: Store Upload Speed PNG
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -160,3 +155,9 @@ jobs:
gh pr comment $PR_NUMBER --body "Attached is the performance results" \
--attach download-results-pr${{ github.event.pull_request.number }}.png \
--attach upload-results-pr${{ github.event.pull_request.number }}.png
- name: Print logs if failed
working-directory: ./wolfssh/
if: failure()
run: sudo cat sshd-log.txt

0 comments on commit d520b75

Please sign in to comment.