fix(util): uEchoCond to add mutex context for Unix-like platforms #136
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: build | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: setup | |
| run: | | |
| if [[ "$RUNNER_OS" == "Linux" ]]; then | |
| sudo apt update | |
| sudo apt install -y libboost-all-dev | |
| elif [[ "$RUNNER_OS" == "macOS" ]]; then | |
| brew update | |
| brew install boost | |
| fi | |
| - name: configure | |
| run: ./configure --enable-test --enable-examples | |
| - name: make | |
| run: make -j 20 | |
| - name: make check | |
| run: make check -j 20 || more test/unix/test-suite.log |