Repository navigation
sftp: bound reply lengths before client allocs #2070
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Multiple Compilers | |
| on: | |
| push: | |
| branches: [ 'master', 'main', 'release/**' ] | |
| pull_request: | |
| branches: [ '*' ] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build_wolfssl: | |
| name: Build wolfSSL | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Checkout wolfSSL | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: wolfssl/wolfssl | |
| path: wolfssl | |
| - name: Build wolfSSL | |
| working-directory: ./wolfssl | |
| run: | | |
| ./autogen.sh | |
| ./configure --enable-wolfssh --enable-keygen --enable-pkcallbacks | |
| make -j$(nproc) | |
| sudo make install | |
| sudo ldconfig | |
| - name: tar build-dir | |
| run: tar -zcf wolfssl-install.tgz /usr/local/lib/libwolfssl* /usr/local/include/wolfssl | |
| - name: Upload built lib | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: wolfssl-multi-compiler | |
| path: wolfssl-install.tgz | |
| retention-days: 5 | |
| compiler_test: | |
| name: ${{ matrix.cc }} | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| needs: build_wolfssl | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - cc: gcc-11 | |
| cxx: g++-11 | |
| - cc: gcc-12 | |
| cxx: g++-12 | |
| - cc: gcc-13 | |
| cxx: g++-13 | |
| - cc: clang-14 | |
| cxx: clang++-14 | |
| - cc: clang-15 | |
| cxx: clang++-15 | |
| - cc: clang-17 | |
| cxx: clang++-17 | |
| steps: | |
| - name: Checkout wolfSSH | |
| uses: actions/checkout@v6 | |
| - name: Install compiler | |
| uses: ./.github/actions/install-apt-deps | |
| with: | |
| packages: ${{ matrix.cc }} | |
| ghcr-debs-tag: ubuntu-24.04-compilers | |
| budget-seconds: 300 | |
| - name: Download wolfSSL | |
| uses: actions/download-artifact@v8 | |
| with: | |
| name: wolfssl-multi-compiler | |
| - name: Install wolfSSL | |
| run: | | |
| sudo tar -xzf wolfssl-install.tgz -C / | |
| sudo ldconfig | |
| - name: Build wolfSSH with ${{ matrix.cc }} | |
| env: | |
| CC: ${{ matrix.cc }} | |
| CXX: ${{ matrix.cxx }} | |
| run: | | |
| ./autogen.sh | |
| ./configure --enable-sshclient CFLAGS="-Wall -Wextra -Wpedantic" | |
| make -j$(nproc) | |
| - name: Make dist | |
| run: make dist | |
| - name: Show log on errors | |
| if: failure() | |
| run: cat config.log |