More various fixes (F-*) #501
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: macOS interop tests | |
| on: | |
| push: | |
| branches: [ 'master', 'main', 'release/**' ] | |
| pull_request: | |
| branches: [ '*' ] | |
| jobs: | |
| macos_test: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Install dependencies | |
| run: | | |
| brew update | |
| brew install make check autoconf automake libtool | |
| - name: Clone and build wolfSSL from nightly-snapshot | |
| run: | | |
| git clone --depth=1 https://github.com/wolfssl/wolfssl --branch nightly-snapshot /tmp/wolfssl | |
| cd /tmp/wolfssl | |
| ./autogen.sh | |
| ./configure --enable-all --enable-md5 | |
| make -j$(sysctl -n hw.ncpu) | |
| sudo make install | |
| - name: Build tests | |
| run: | | |
| PATH="/opt/homebrew/opt/make/libexec/gnubin:$PATH" \ | |
| gmake build/test-evloop build/test-wolfssl build/test-ttl-expired unit unit-esp | |
| - name: Run event loop test | |
| run: | | |
| sudo PATH="/opt/homebrew/opt/make/libexec/gnubin:$PATH" ./build/test-evloop | |
| timeout-minutes: 3 | |
| - name: Run wolfSSL interop test | |
| run: | | |
| sudo PATH="/opt/homebrew/opt/make/libexec/gnubin:$PATH" ./build/test-wolfssl | |
| timeout-minutes: 3 | |
| - name: Run unit tests | |
| run: | | |
| ./build/test/unit | |
| timeout-minutes: 2 | |
| - name: Run ESP unit tests | |
| run: | | |
| ./build/test/unit-esp | |
| timeout-minutes: 2 | |
| - name: Run TTL expired test | |
| run: | | |
| ./build/test-ttl-expired | |
| timeout-minutes: 1 |