Replace usleep with event-driven wait for WFI #731
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: CI | |
| on: [push, pull_request] | |
| jobs: | |
| semu-linux: | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| dependency: | |
| - none | |
| - libpulse-dev | |
| - libjack-jackd2-dev | |
| steps: | |
| - name: checkout code | |
| uses: actions/checkout@v4 | |
| - name: install-dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y build-essential device-tree-compiler expect libasound2-dev libudev-dev | |
| - name: install sound multiplexer ${{ matrix.dependency }} | |
| if: matrix.dependency != 'none' | |
| run: | | |
| sudo apt-get install -y ${{ matrix.dependency }} | |
| - name: default build | |
| run: make | |
| shell: bash | |
| - name: automated test | |
| run: .ci/autorun.sh | |
| shell: bash | |
| - name: netdev test | |
| run: .ci/test-netdev.sh | |
| shell: bash | |
| if: ${{ success() }} | |
| semu-macOS: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: install-dependencies | |
| run: | | |
| brew install make dtc expect e2fsprogs | |
| - name: default build | |
| run: make | |
| shell: bash | |
| - name: automated test | |
| run: .ci/autorun.sh | |
| shell: bash | |
| coding_style: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: coding convention | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -q -y clang-format-18 | |
| .ci/check-format.sh | |
| shell: bash |