tests/gen-tests-mk: fix random size aspect ratio generation #36
Workflow file for this run
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
| # This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0 | |
| # Linting: xclip -sel c <.github/workflows/ci-builds.yml # https://rhysd.github.io/actionlint/ | |
| on: | |
| push: | |
| branches: ['trunk', 'wip/**'] | |
| tags: [ 'v[0-9]+.[0-9]+.[0-9]+*' ] | |
| pull_request: | |
| branches: ['trunk', 'wip/**'] # Only run PRs targeting these branches | |
| jobs: | |
| Alpine-CI: | |
| runs-on: ubuntu-latest | |
| container: { image: 'ghcr.io/tim-janik/imagewmark-ci:alpine-latest', options: --user runner } | |
| steps: | |
| - { uses: actions/[email protected], with: { fetch-depth: 0, submodules: recursive } } | |
| - run: git fetch -f --tags # Fix actions/checkout#290 | |
| - run: | | |
| src/version.sh | |
| git describe --always --long | |
| - run: make -j`nproc` | |
| - run: | | |
| make -j`nproc` check | |
| - run: | | |
| make PREFIX=$HOME install | |
| make PREFIX=$HOME installcheck | |
| make PREFIX=$HOME uninstall | |
| - run: | | |
| make PREFIX=$HOME distcheck | |
| - { uses: actions/upload-artifact@v4, with: { name: imagewmark-snapshot, path: 'imagewmark-*.tar.zst' } } | |
| Ping-IRC: | |
| if: always() # github.event_name != 'pull_request' | |
| needs: [Alpine-CI] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - { uses: actions/[email protected], with: { fetch-depth: 0 } } | |
| - run: git fetch -f --tags # Fix actions/checkout#290 | |
| - name: Check-Jobs | |
| run: | | |
| echo 'Alpine-CI:${{ needs.Alpine-CI.result }}' | |
| [[ ${{ needs.Alpine-CI.result }} =~ success|skipped ]] | |
| - name: Ping-IRC | |
| if: ${{ always() && !env.ACT }} | |
| run: | | |
| .github/workflows/ircbot.py -q -j "#Anklang" -G -S '${{ job.status }}' "$(git log -1 --format=%s)" |