diff --git a/.github/workflows/ada.yml b/.github/workflows/ada.yml index e342f2a601..8b9391feab 100644 --- a/.github/workflows/ada.yml +++ b/.github/workflows/ada.yml @@ -10,7 +10,7 @@ jobs: build: if: github.repository_owner == 'wolfssl' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/arduino.yml b/.github/workflows/arduino.yml index 02291d8b51..063a1b65aa 100644 --- a/.github/workflows/arduino.yml +++ b/.github/workflows/arduino.yml @@ -77,7 +77,7 @@ concurrency: jobs: build: if: github.repository_owner == 'wolfssl' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: fail-fast: false diff --git a/.github/workflows/async-examples.yml b/.github/workflows/async-examples.yml index 8a28d4312d..135bf36c8e 100644 --- a/.github/workflows/async-examples.yml +++ b/.github/workflows/async-examples.yml @@ -31,7 +31,7 @@ jobs: - name: Build async examples (no configure) run: | make -C examples/async clean - make -C examples/async ASYNC_MODE=${{ matrix.async_mode }} EXTRA_CFLAGS="${{ matrix.extra_cflags }}" + make -j -C examples/async ASYNC_MODE=${{ matrix.async_mode }} EXTRA_CFLAGS="${{ matrix.extra_cflags }}" - name: Run async examples run: | diff --git a/.github/workflows/bind.yml b/.github/workflows/bind.yml index e514834088..a69b866e03 100644 --- a/.github/workflows/bind.yml +++ b/.github/workflows/bind.yml @@ -76,6 +76,7 @@ jobs: with: repository: wolfssl/osp path: osp + fetch-depth: 1 - name: Checkout bind9 uses: actions/checkout@v4 @@ -83,6 +84,7 @@ jobs: repository: isc-projects/bind9 path: bind ref: v${{ matrix.ref }} + fetch-depth: 1 - name: Build and test bind9 working-directory: bind diff --git a/.github/workflows/cmake-autoconf.yml b/.github/workflows/cmake-autoconf.yml index f8a2c54e1e..0aff795e1a 100644 --- a/.github/workflows/cmake-autoconf.yml +++ b/.github/workflows/cmake-autoconf.yml @@ -9,7 +9,7 @@ on: jobs: build: if: github.repository_owner == 'wolfssl' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: # pull wolfSSL diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 7910738ea1..7bbb53f132 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -9,7 +9,7 @@ on: jobs: build: if: github.repository_owner == 'wolfssl' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: # pull wolfSSL diff --git a/.github/workflows/cyrus-sasl.yml b/.github/workflows/cyrus-sasl.yml index 65aecf092e..0f009d2d54 100644 --- a/.github/workflows/cyrus-sasl.yml +++ b/.github/workflows/cyrus-sasl.yml @@ -77,6 +77,7 @@ jobs: with: repository: wolfssl/osp path: osp + fetch-depth: 1 - name: Checkout sasl uses: actions/checkout@v4 @@ -84,6 +85,7 @@ jobs: repository: cyrusimap/cyrus-sasl ref: cyrus-sasl-${{ matrix.ref }} path: sasl + fetch-depth: 1 - name: Build cyrus-sasl working-directory: sasl diff --git a/.github/workflows/gencertbuf.yml b/.github/workflows/gencertbuf.yml index 97cd1a5310..3550f22e2b 100644 --- a/.github/workflows/gencertbuf.yml +++ b/.github/workflows/gencertbuf.yml @@ -16,7 +16,7 @@ jobs: gencertbuf: name: gencertbuf if: github.repository_owner == 'wolfssl' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 # This should be a safe limit for the tests to run. timeout-minutes: 6 steps: @@ -30,7 +30,7 @@ jobs: run: | ./autogen.sh ./configure --enable-all --enable-experimental --enable-dilithium --enable-kyber - make + make -j ./wolfcrypt/test/testwolfcrypt - name: Print errors diff --git a/.github/workflows/grpc.yml b/.github/workflows/grpc.yml index 6f718af529..8a61874f3c 100644 --- a/.github/workflows/grpc.yml +++ b/.github/workflows/grpc.yml @@ -91,6 +91,7 @@ jobs: with: repository: wolfssl/osp path: osp + fetch-depth: 1 - name: Checkout grpc uses: actions/checkout@v4 @@ -98,6 +99,7 @@ jobs: repository: grpc/grpc path: grpc ref: ${{ matrix.ref }} + fetch-depth: 1 - name: Build grpc working-directory: ./grpc diff --git a/.github/workflows/haproxy.yml b/.github/workflows/haproxy.yml index a28f8e233a..8b9c502270 100644 --- a/.github/workflows/haproxy.yml +++ b/.github/workflows/haproxy.yml @@ -83,6 +83,7 @@ jobs: repository: haproxy/haproxy ref: ${{matrix.haproxy_ref}} path: build-dir/haproxy-${{matrix.haproxy_ref}} + fetch-depth: 1 - name: Build haproxy working-directory: build-dir/haproxy-${{matrix.haproxy_ref}} diff --git a/.github/workflows/hostap-vm.yml b/.github/workflows/hostap-vm.yml index fa286616f2..627f7184ac 100644 --- a/.github/workflows/hostap-vm.yml +++ b/.github/workflows/hostap-vm.yml @@ -117,6 +117,7 @@ jobs: repository: torvalds/linux path: linux ref: ${{ env.LINUX_REF }} + fetch-depth: 1 - name: Compile linux if: steps.cache.outputs.cache-hit != 'true' @@ -246,6 +247,7 @@ jobs: repository: wolfssl/osp path: osp ref: ${{ matrix.config.osp_ref }} + fetch-depth: 1 - if: ${{ matrix.config.osp_ref }} name: Apply patch files diff --git a/.github/workflows/ipmitool.yml b/.github/workflows/ipmitool.yml index a0610cb104..c3ae6c26e1 100644 --- a/.github/workflows/ipmitool.yml +++ b/.github/workflows/ipmitool.yml @@ -73,6 +73,7 @@ jobs: with: repository: wolfssl/osp path: osp + fetch-depth: 1 - name: Build ipmitool uses: wolfSSL/actions-build-autotools-project@v1 diff --git a/.github/workflows/jwt-cpp.yml b/.github/workflows/jwt-cpp.yml index 2b3e13558f..2120b22a17 100644 --- a/.github/workflows/jwt-cpp.yml +++ b/.github/workflows/jwt-cpp.yml @@ -83,6 +83,7 @@ jobs: with: repository: wolfssl/osp path: osp + fetch-depth: 1 - name: Checkout jwt-cpp uses: actions/checkout@v4 @@ -90,6 +91,7 @@ jobs: repository: Thalhammer/jwt-cpp path: jwt-cpp ref: v${{ matrix.config.ref }} + fetch-depth: 1 - name: Build pam-ipmi working-directory: jwt-cpp diff --git a/.github/workflows/krb5.yml b/.github/workflows/krb5.yml index 37c64e299c..a0c6b5d214 100644 --- a/.github/workflows/krb5.yml +++ b/.github/workflows/krb5.yml @@ -68,6 +68,7 @@ jobs: with: repository: wolfssl/osp path: osp + fetch-depth: 1 - name: Checkout krb5 uses: actions/checkout@v4 @@ -75,6 +76,7 @@ jobs: repository: krb5/krb5 ref: krb5-${{ matrix.ref }}-final path: krb5 + fetch-depth: 1 - name: Apply patch working-directory: ./krb5 diff --git a/.github/workflows/libspdm.yml b/.github/workflows/libspdm.yml index 098881e97b..e9ca1678aa 100644 --- a/.github/workflows/libspdm.yml +++ b/.github/workflows/libspdm.yml @@ -64,6 +64,7 @@ jobs: with: repository: wolfssl/osp path: osp + fetch-depth: 1 - name: Checkout libspdm uses: actions/checkout@v4 @@ -71,6 +72,7 @@ jobs: repository: DMTF/libspdm path: libspdm ref: ${{ matrix.ref }} + fetch-depth: 1 - name: Build and test libspdm working-directory: libspdm diff --git a/.github/workflows/libssh2.yml b/.github/workflows/libssh2.yml index a80bcf18fe..f450236f84 100644 --- a/.github/workflows/libssh2.yml +++ b/.github/workflows/libssh2.yml @@ -66,6 +66,7 @@ jobs: repository: libssh2/libssh2 ref: libssh2-${{ matrix.ref }} path: libssh2 + fetch-depth: 1 - name: Update libssh2 test to use a stable version of debian working-directory: libssh2 diff --git a/.github/workflows/libvncserver.yml b/.github/workflows/libvncserver.yml index 8964a57b95..b2e7a1895e 100644 --- a/.github/workflows/libvncserver.yml +++ b/.github/workflows/libvncserver.yml @@ -68,6 +68,7 @@ jobs: with: repository: wolfssl/osp path: osp + fetch-depth: 1 - name: Checkout libvncserver uses: actions/checkout@v4 @@ -75,6 +76,7 @@ jobs: repository: LibVNC/libvncserver path: libvncserver ref: LibVNCServer-${{ matrix.ref }} + fetch-depth: 1 - name: Build libvncserver working-directory: libvncserver diff --git a/.github/workflows/mbedtls.yml b/.github/workflows/mbedtls.yml index e705c05bc9..af76843a2b 100644 --- a/.github/workflows/mbedtls.yml +++ b/.github/workflows/mbedtls.yml @@ -19,7 +19,7 @@ jobs: build_mbedtls: name: Build mbedtls if: github.repository_owner == 'wolfssl' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 # This should be a safe limit for the tests to run. timeout-minutes: 10 steps: @@ -38,6 +38,7 @@ jobs: repository: Mbed-TLS/mbedtls ref: ${{ env.MBED_REF }} path: mbedtls + fetch-depth: 1 - name: Compile mbedtls if: steps.cache.outputs.cache-hit != 'true' @@ -55,7 +56,7 @@ jobs: mbedtls_test: name: Test interop with mbedtls if: github.repository_owner == 'wolfssl' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 needs: build_mbedtls timeout-minutes: 10 steps: diff --git a/.github/workflows/memcached.yml b/.github/workflows/memcached.yml index 50f72a0ef3..3e595f9024 100644 --- a/.github/workflows/memcached.yml +++ b/.github/workflows/memcached.yml @@ -70,6 +70,7 @@ jobs: with: repository: wolfssl/osp path: osp + fetch-depth: 1 - name: Install dependencies uses: ./.github/actions/install-apt-deps @@ -82,6 +83,7 @@ jobs: repository: memcached/memcached ref: 1.6.22 path: memcached + fetch-depth: 1 - name: Configure and build memcached run: | diff --git a/.github/workflows/mosquitto.yml b/.github/workflows/mosquitto.yml index 07c634e37d..603149adc8 100644 --- a/.github/workflows/mosquitto.yml +++ b/.github/workflows/mosquitto.yml @@ -69,6 +69,7 @@ jobs: with: repository: wolfssl/osp path: osp + fetch-depth: 1 - name: Install dependencies uses: ./.github/actions/install-apt-deps @@ -81,6 +82,7 @@ jobs: repository: eclipse/mosquitto ref: v${{ matrix.ref }} path: mosquitto + fetch-depth: 1 - name: Update certs run: | @@ -92,7 +94,7 @@ jobs: run: | cd $GITHUB_WORKSPACE/mosquitto/ patch -p1 < $GITHUB_WORKSPACE/osp/mosquitto/${{ matrix.ref }}.patch - make WITH_TLS=wolfssl WITH_CJSON=no WITH_DOCS=no WOLFSSLDIR=$GITHUB_WORKSPACE/build-dir + make -j WITH_TLS=wolfssl WITH_CJSON=no WITH_DOCS=no WOLFSSLDIR=$GITHUB_WORKSPACE/build-dir - name: Run mosquitto tests working-directory: ./mosquitto @@ -100,7 +102,7 @@ jobs: # Retry up to five times for i in {1..5}; do TEST_RES=0 - make WITH_TLS=wolfssl WITH_CJSON=no WITH_DOCS=no WOLFSSLDIR=$GITHUB_WORKSPACE/build-dir ptest || TEST_RES=$? + make -j WITH_TLS=wolfssl WITH_CJSON=no WITH_DOCS=no WOLFSSLDIR=$GITHUB_WORKSPACE/build-dir ptest || TEST_RES=$? if [ "$TEST_RES" -eq "0" ]; then break fi diff --git a/.github/workflows/msmtp.yml b/.github/workflows/msmtp.yml index 72daeb2216..9b98c43350 100644 --- a/.github/workflows/msmtp.yml +++ b/.github/workflows/msmtp.yml @@ -69,6 +69,7 @@ jobs: with: repository: wolfssl/osp path: osp + fetch-depth: 1 - name: Install dependencies uses: ./.github/actions/install-apt-deps @@ -81,6 +82,7 @@ jobs: repository: marlam/msmtp ref: msmtp-${{ matrix.ref }} path: msmtp-${{ matrix.ref }} + fetch-depth: 1 - name: Apply wolfSSL patch working-directory: msmtp-${{ matrix.ref }} diff --git a/.github/workflows/net-snmp.yml b/.github/workflows/net-snmp.yml index 3146e7369c..9dab661625 100644 --- a/.github/workflows/net-snmp.yml +++ b/.github/workflows/net-snmp.yml @@ -66,6 +66,7 @@ jobs: with: repository: wolfssl/osp path: osp + fetch-depth: 1 - name: Build net-snmp uses: wolfSSL/actions-build-autotools-project@v1 diff --git a/.github/workflows/no-malloc.yml b/.github/workflows/no-malloc.yml index c04744e94b..33a40fb88a 100644 --- a/.github/workflows/no-malloc.yml +++ b/.github/workflows/no-malloc.yml @@ -35,7 +35,7 @@ jobs: run: | ./autogen.sh ./configure ${{ matrix.config }} - make + make -j ./wolfcrypt/test/testwolfcrypt - name: Print errors diff --git a/.github/workflows/nss.yml b/.github/workflows/nss.yml index 0363919a7a..d7e388beb3 100644 --- a/.github/workflows/nss.yml +++ b/.github/workflows/nss.yml @@ -52,6 +52,7 @@ jobs: repository: nss-dev/nss ref: ${{ env.NSS_REF }} path: nss + fetch-depth: 1 - name: Compile nss if: steps.cache.outputs.cache-hit != 'true' diff --git a/.github/workflows/ntp.yml b/.github/workflows/ntp.yml index 3f2631c01e..d93b19deb0 100644 --- a/.github/workflows/ntp.yml +++ b/.github/workflows/ntp.yml @@ -65,6 +65,7 @@ jobs: with: repository: wolfssl/osp path: osp + fetch-depth: 1 # Avoid DoS'ing ntp site so cache the tar.gz - name: Check if we have ntp diff --git a/.github/workflows/openldap.yml b/.github/workflows/openldap.yml index 6b81537734..48d46daab9 100644 --- a/.github/workflows/openldap.yml +++ b/.github/workflows/openldap.yml @@ -71,6 +71,7 @@ jobs: with: repository: wolfssl/osp path: osp + fetch-depth: 1 - name: Checkout openldap uses: actions/checkout@v4 @@ -78,6 +79,7 @@ jobs: repository: openldap/openldap path: openldap ref: ${{ matrix.git_ref }} + fetch-depth: 1 - name: Build and test OpenLDAP working-directory: openldap diff --git a/.github/workflows/openssh.yml b/.github/workflows/openssh.yml index 99e90b4d2e..63eacd5b9d 100644 --- a/.github/workflows/openssh.yml +++ b/.github/workflows/openssh.yml @@ -87,6 +87,7 @@ jobs: with: repository: wolfssl/osp path: osp + fetch-depth: 1 - name: Build and test openssh uses: wolfSSL/actions-build-autotools-project@v1 diff --git a/.github/workflows/os-check.yml b/.github/workflows/os-check.yml index 1c82a2ef80..4e165526fc 100644 --- a/.github/workflows/os-check.yml +++ b/.github/workflows/os-check.yml @@ -186,7 +186,7 @@ jobs: cp ./examples/configs/user_settings_all.h user_settings.h sed -i -e "s/if 0/if 1/" user_settings.h ./configure --enable-usersettings - make + make -j make check windows_build: diff --git a/.github/workflows/pam-ipmi.yml b/.github/workflows/pam-ipmi.yml index 8cacca7d41..da6ac50d1c 100644 --- a/.github/workflows/pam-ipmi.yml +++ b/.github/workflows/pam-ipmi.yml @@ -75,6 +75,7 @@ jobs: with: repository: wolfssl/osp path: osp + fetch-depth: 1 - name: Checkout pam-ipmi uses: actions/checkout@v4 @@ -82,6 +83,7 @@ jobs: repository: openbmc/pam-ipmi path: pam-ipmi ref: ${{ matrix.git_ref }} + fetch-depth: 1 - name: Build pam-ipmi working-directory: pam-ipmi diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index f5a12bb4b8..7b225d9126 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -122,6 +122,7 @@ jobs: with: repository: wolfssl/osp path: osp + fetch-depth: 1 - name: Checkout CPython uses: actions/checkout@v4 @@ -129,6 +130,7 @@ jobs: repository: python/cpython ref: v${{ matrix.python_ver }} path: cpython + fetch-depth: 1 - name: Apply wolfSSL patch working-directory: cpython diff --git a/.github/workflows/renode-stm32h753.yml b/.github/workflows/renode-stm32h753.yml index fc3c3fdb10..82b06c1267 100644 --- a/.github/workflows/renode-stm32h753.yml +++ b/.github/workflows/renode-stm32h753.yml @@ -29,7 +29,7 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 30 steps: diff --git a/.github/workflows/rng-tools.yml b/.github/workflows/rng-tools.yml index 97fecae7cb..0579a312ca 100644 --- a/.github/workflows/rng-tools.yml +++ b/.github/workflows/rng-tools.yml @@ -76,6 +76,7 @@ jobs: with: repository: wolfssl/osp path: osp + fetch-depth: 1 - name: Checkout jitterentropy-library uses: actions/checkout@v4 @@ -83,6 +84,7 @@ jobs: repository: smuellerDD/jitterentropy-library path: jitterentropy-library ref: v3.5.0 + fetch-depth: 1 - name: Build jitterentropy-library working-directory: jitterentropy-library diff --git a/.github/workflows/socat.yml b/.github/workflows/socat.yml index 1fb1a89aa4..fd305f6983 100644 --- a/.github/workflows/socat.yml +++ b/.github/workflows/socat.yml @@ -79,6 +79,7 @@ jobs: with: repository: wolfssl/osp path: osp + fetch-depth: 1 - name: Build socat working-directory: ./socat-${{ matrix.socat_version }} @@ -86,7 +87,7 @@ jobs: patch -p1 < ../osp/socat/${{ matrix.socat_version }}/socat-${{ matrix.socat_version }}.patch autoreconf -vfi ./configure --with-wolfssl=$GITHUB_WORKSPACE/build-dir --enable-default-ipv=4 - make + make -j - name: Run socat tests working-directory: ./socat-${{ matrix.socat_version }} diff --git a/.github/workflows/softhsm.yml b/.github/workflows/softhsm.yml index 514f43f437..fb1ca9a50c 100644 --- a/.github/workflows/softhsm.yml +++ b/.github/workflows/softhsm.yml @@ -76,6 +76,7 @@ jobs: with: repository: wolfssl/osp path: osp + fetch-depth: 1 - name: Checkout SoftHSMv2 uses: actions/checkout@v4 @@ -83,6 +84,7 @@ jobs: repository: opendnssec/SoftHSMv2 path: softhsm ref: ${{ matrix.ref }} + fetch-depth: 1 # Not using wolfSSL/actions-build-autotools-project@v1 because autogen.sh doesn't work - name: Build softhsm diff --git a/.github/workflows/sssd.yml b/.github/workflows/sssd.yml index 49347c6381..2067ec6f98 100644 --- a/.github/workflows/sssd.yml +++ b/.github/workflows/sssd.yml @@ -89,6 +89,7 @@ jobs: with: repository: wolfssl/osp path: osp + fetch-depth: 1 - name: Build and test sssd uses: wolfSSL/actions-build-autotools-project@v1 diff --git a/.github/workflows/stunnel.yml b/.github/workflows/stunnel.yml index 977ac3ee59..7348ec1885 100644 --- a/.github/workflows/stunnel.yml +++ b/.github/workflows/stunnel.yml @@ -64,6 +64,7 @@ jobs: with: repository: wolfssl/osp path: osp + fetch-depth: 1 - name: Build and test stunnel uses: wolfSSL/actions-build-autotools-project@v1 diff --git a/.github/workflows/trackmemory.yml b/.github/workflows/trackmemory.yml index 0c9f44cb43..a071b973b3 100644 --- a/.github/workflows/trackmemory.yml +++ b/.github/workflows/trackmemory.yml @@ -33,7 +33,7 @@ jobs: ] name: make check if: github.repository_owner == 'wolfssl' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 # This should be a safe limit for the tests to run. timeout-minutes: 6 steps: diff --git a/.github/workflows/wolfsm.yml b/.github/workflows/wolfsm.yml index f67485793e..d0d39e254a 100644 --- a/.github/workflows/wolfsm.yml +++ b/.github/workflows/wolfsm.yml @@ -38,6 +38,7 @@ jobs: with: repository: wolfssl/wolfsm path: wolfsm + fetch-depth: 1 - name: Install wolfsm working-directory: wolfsm @@ -47,7 +48,7 @@ jobs: run: | ./autogen.sh ./configure ${{ matrix.config }} - make + make -j make check - name: Print errors