Files
xserver/.github/workflows/matrix.yml
Enrico Weigelt, metux IT consult e256d57400 4
2025-11-07 12:22:23 +01:00

45 lines
1.1 KiB
YAML

name: matrix test
permissions:
contents: write
env:
MESON_BUILDDIR: "build"
X11_PREFIX: /home/runner/x11
X11_BUILD_DIR: /home/runner/build-deps
on:
push:
pull_request:
jobs:
generate-graph:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v4
- name: Erstelle Matrix (pro Level)
id: set-matrix
run: |
MATRIX=$(cat .github/matrix.json | jq -c .)
echo "matrix=$MATRIX" >> $GITHUB_OUTPUT
matrix-build:
needs: generate-graph
runs-on: ubuntu-latest
strategy:
matrix: ${{ fromJson(needs.generate-graph.outputs.matrix) }}
max-parallel: 10
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Baue Paket ${{ matrix.package }}
run: |
echo "package: ${{matrix.packge}}"
echo "depends: ${{matrix.depends_on}}"
echo "level: ${{matrix.level}}"
sleep 30