2023-06-25 16:52:48 +02:00
|
|
|
name: Check layouts
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
2024-02-18 17:55:41 +01:00
|
|
|
gen-layouts:
|
|
|
|
name: Generated files
|
2023-06-25 16:52:48 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout repo
|
2024-02-07 00:01:54 +01:00
|
|
|
uses: actions/checkout@v4
|
2023-06-25 16:52:48 +02:00
|
|
|
- run: python3 gen_layouts.py
|
2024-02-18 17:55:41 +01:00
|
|
|
- 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'"
|
2023-06-25 16:52:48 +02:00
|
|
|
run: git diff --exit-code
|