Use rpmPubkeyKeyIDAsHex() to obtain the gpg key in hex format #358
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
| name: Build | |
| on: | |
| pull_request: | |
| branches: [master] | |
| push: | |
| branches: [master] | |
| jobs: | |
| build: | |
| name: Build | |
| container: quay.io/fedora/fedora:rawhide | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install build environment | |
| run: | | |
| dnf --assumeyes install dnf-plugins-core git-core | |
| dnf --assumeyes copr enable @abrt/devel | |
| dnf --assumeyes install \ | |
| @c-development @development-tools @rpm-development-tools \ | |
| intltool tito | |
| - name: Check out sources | |
| uses: actions/checkout@v3 | |
| - name: Install build dependencies | |
| run: dnf --assumeyes builddep --spec abrt.spec | |
| - name: Set up build user | |
| run: useradd builder | |
| - name: Configure build | |
| run: chown -R builder. . | |
| - name: Build | |
| run: sudo -u builder -- tito build --test --rpm | |
| - name: Run tests | |
| run: | | |
| sudo -u builder -- ./autogen.sh | |
| sudo -u builder -- make | |
| sudo -u builder -- make check | |
| - name: Upload test log | |
| uses: actions/upload-artifact@v2 | |
| with: | |
| name: testsuite.log | |
| path: tests/testsuite.log | |
| if: ${{ failure() }} |