37 lines
1009 B
YAML
37 lines
1009 B
YAML
# SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
name: Generate References
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
references:
|
|
name: Generate References
|
|
runs-on: ubuntu-22.04
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
version:
|
|
- "39"
|
|
- "40"
|
|
- "41"
|
|
- "rawhide"
|
|
session:
|
|
- "gnome-xsession"
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Download Dependencies
|
|
run: |
|
|
sudo apt update -qq
|
|
sudo apt install gettext imagemagick -qq
|
|
- name: Build Burn-My-Windows
|
|
run: make
|
|
- name: Generate References
|
|
run: sudo $GITHUB_WORKSPACE/tests/generate-references.sh -v ${{ matrix.version }} -s ${{ matrix.session }}
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: references-${{ matrix.session }}-${{ matrix.version }}
|
|
path: tests/references/*${{ matrix.session }}-${{ matrix.version }}.png
|