~fnux/pisk

ref: 4a6adf9b38a6a6c9badbb4efb9ed261005486ceb pisk/.build.yml -rw-r--r-- 751 bytes
4a6adf9bTimothée Floure Fix typo in CI definition (RPM build) 1 year, 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
image: fedora/29
secrets:
  - 7bbe8728-a847-4745-8923-544b30208980
packages:
  - perl-Perl-Critic
sources:
  - https://git.sr.ht/~fnux/pisk
tasks:
  - lint: |
      cd pisk
      perlcritic --verbose 8 --harsh pisk
      # Stop build unless running against a tag
      if ! git describe --exact-match --tags HEAD; then
        complete-build
      fi
  - build-rpm: |
      sudo dnf install -y rpmdevtools fedpkg
      cd pisk/dist/rpm
      sudo dnf builddep -y pisk.spec
      spectool -gf pisk.spec
      fedpkg --release f29 local
  - rpm-check: |
      sudo dnf install -y rpmlint
      cd pisk/dist/rpm
      rpmlint *.src.rpm *.rpm noarch/*.rpm
  - copr-rebuild: |
      sudo dnf install -y curl
      curl -X POST $(cat ~/.copr-webhook)/pisk/