Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 39 additions & 17 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,51 @@ concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true

env:
BUILD_TYPE: Release

jobs:
licenses:
name: "Licenses"
install:
name: "Check installer"
strategy:
fail-fast: true
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v6

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y gettext imagemagick

- name: Configure
run: |
cmake -B ${{github.workspace}}/build \
-DCMAKE_INSTALL_PREFIX="${{github.workspace}}/install" \
-DENABLE_NLS=ON

- name: build
run: |
cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: install
run: |
cmake --install ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

validation_checks:
name: "Validation checks"
strategy:
fail-fast: true
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: Validate Unicode
working-directory: ${{github.workspace}}
run: |
python3 checks/checkunicode.py

- name: Validate licenses (pull request)
if: github.event_name == 'pull_request'
Expand Down Expand Up @@ -58,17 +94,3 @@ jobs:
working-directory: ${{github.workspace}}
run: |
python3 -m pipx run reuse lint

unicode:
name: "Unicode"
strategy:
fail-fast: true
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v5

- name: Validate Unicode
working-directory: ${{github.workspace}}
run: |
python3 checks/checkunicode.py
2 changes: 1 addition & 1 deletion .github/workflows/translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
sudo apt-get install -y gettext

- name: 'Checkout source code'
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: 'Validate translations'
working-directory: ${{github.workspace}}/po
Expand Down