abouttreesummaryrefslogcommitdiff
path: root/.github/workflows/check-layouts.yml
blob: 49d85a23149edc9ecd3358b04f210b3fe2b6e241 (plain)
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
name: Check layouts

on:
  workflow_dispatch:
  push:
  pull_request:

jobs:
  gen-layouts:
    name: Generated files
    runs-on: ubuntu-latest
    steps:
    - name: Checkout repo
      uses: actions/checkout@v4
    - run: python3 gen_layouts.py
    - name: "Check that the generated 'layouts.xml' is uptodate, otherwise run 'python3 gen_layouts.py'"
      run: git diff --exit-code
  check-layouts:
    name: check_layout.output
    runs-on: ubuntu-latest
    steps:
    - name: Checkout repo
      uses: actions/checkout@v4
    - run: python3 check_layout.py
    - name: "Check that the generated 'check_layout.output' is uptodate, otherwise run 'python3 check_layout.py'"
      run: git diff --exit-code