audio: rework modules, forward pipewire socket to gui-vm #2767
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
| # SPDX-FileCopyrightText: 2022-2026 TII (SSRC) and the Ghaf contributors | |
| # | |
| # SPDX-License-Identifier: Apache-2.0 | |
| name: eval | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| eval: | |
| runs-on: ubuntu-24.04-arm | |
| timeout-minutes: 120 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| jobid: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] | |
| concurrency: | |
| # Cancel any in-progress workflow runs from the same PR or branch, | |
| # allowing matrix jobs to run concurrently: | |
| group: ${{ github.workflow }}.${{ github.event.pull_request.number || github.ref }}.${{ matrix.jobid }} | |
| cancel-in-progress: true | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| ref: ${{ github.event.pull_request.merge.sha || github.ref }} | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Install nix | |
| uses: cachix/install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 # v31.9.0 | |
| - name: Evaluate (job ${{ matrix.jobid }}/${{ strategy.job-total }}) | |
| env: | |
| JOB_ID: ${{ matrix.jobid }} | |
| JOB_TOTAL: ${{ strategy.job-total }} | |
| run: | | |
| python3 .github/eval.py "$JOB_ID" "$JOB_TOTAL" |