IconHandler: Deduplicate code for the icon store name conversion #37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Test | |
| permissions: | |
| contents: read | |
| on: [push, pull_request] | |
| jobs: | |
| build-deblike: | |
| name: ${{ matrix.display_name }} (${{ matrix.arch }}) | |
| runs-on: ${{ matrix.runner }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - display_name: Debian 13 | |
| suite: trixie | |
| runner: ubuntu-latest | |
| arch: amd64 | |
| - display_name: Debian Testing | |
| suite: forky | |
| runner: ubuntu-latest | |
| arch: amd64 | |
| - display_name: Debian Testing | |
| suite: forky | |
| runner: ubuntu-26.04-arm | |
| arch: arm64 | |
| - display_name: Ubuntu 26.04 | |
| suite: resolute | |
| components: main universe | |
| runner: ubuntu-latest | |
| arch: amd64 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Create Build Environment | |
| uses: ximion/debspawn-action/setup@v1.0.0 | |
| with: | |
| suite: ${{ matrix.suite }} | |
| components: ${{ matrix.components }} | |
| packages: >- | |
| git | |
| curl | |
| ca-certificates | |
| script: | | |
| # install build dependencies | |
| ./tests/ci/install-deps-deb.sh | |
| # install 3rd-party stuff | |
| ./tests/ci/ci-install-extern.sh | |
| - name: Build | |
| uses: ximion/debspawn-action/run@v1 | |
| with: | |
| suite: ${{ matrix.suite }} | |
| summary: "Build on ${{ matrix.display_name }}" | |
| commands: | | |
| CC=gcc CXX=g++ ./tests/ci/run-build.sh | |
| - name: Tests | |
| uses: ximion/debspawn-action/run@v1 | |
| with: | |
| suite: ${{ matrix.suite }} | |
| summary: "Test on ${{ matrix.display_name }}" | |
| commands: | | |
| ./tests/ci/run-tests.sh | |
| build-fedora-latest: | |
| name: Fedora Latest (amd64) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Create Build Environment | |
| run: cd tests/ci/ && podman build -t asgen -f ./Dockerfile-fedora-latest . | |
| - name: Build | |
| run: podman run -a stdout -a stderr -e CXX=g++ -v `pwd`:/build asgen | |
| ./tests/ci/run-build.sh | |
| - name: Tests | |
| run: podman run -a stdout -a stderr -e CXX=g++ -v `pwd`:/build asgen | |
| ./tests/ci/run-tests.sh |