File: doc.yml

package info (click to toggle)
dracut 109-7
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,756 kB
  • sloc: sh: 24,508; ansic: 5,234; makefile: 346; perl: 186; python: 48; javascript: 19
file content (39 lines) | stat: -rw-r--r-- 1,235 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
name: Doc Test

on:  # yamllint disable-line rule:truthy
    pull_request:
        branches: [main]
        paths:
            - 'man/**'
            - '.github/workflows/doc.yml'
    # Allows you to run this workflow manually from the Actions tab
    workflow_dispatch:

jobs:
    doc:
        name: doc on ${{ matrix.container }}
        runs-on: ubuntu-latest
        timeout-minutes: 10
        concurrency:
            group: doc-${{ github.workflow }}-${{ github.ref }}-${{ matrix.container }}
            cancel-in-progress: true
        strategy:
            fail-fast: false
            matrix:
                container:
                    - alpine:latest
                    - arch:latest
                    - debian:latest
                    - fedora:latest
                    - gentoo:latest
                    - opensuse:latest
                    - ubuntu:devel
                    - void:latest
        container:
            image: ghcr.io/dracut-ng/${{ matrix.container }}-amd
        steps:
            - name: "Checkout Repository"
              uses: actions/checkout@v5
            - name: doc on "${{ matrix.container }}"
              run: TARGETS=all enable_documentation=yes ./test/test-container.sh