2022-09-24 17:11:36 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: hawk
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: rockylinux-9
|
|
|
|
image: docker.io/rockylinux:9
|
|
|
|
commands:
|
|
|
|
- dnf -y install --enablerepo=devel mysql-devel libffi-devel rpm-build gcc gcc-c++
|
|
|
|
- find . -exec touch -r {} +
|
|
|
|
- mkdir -p bld/rockylinux-9 && cd bld/rockylinux-9
|
|
|
|
- ../../configure && make && make check && make rpm
|
2022-09-26 10:27:08 +00:00
|
|
|
|
|
|
|
- name: rockylinux-9-release-rpms
|
|
|
|
image: docker.io/plugins/gitea-release:latest
|
|
|
|
settings:
|
|
|
|
files:
|
|
|
|
- "bld/rockylinux-9/pkgs/RPM/RPMS/*/*.rpm"
|
|
|
|
- "bld/rockylinux-9/pkgs/RPM/SRPMS/*.src.rpm"
|
|
|
|
base_url: https://code.miflux.com
|
|
|
|
api_key:
|
|
|
|
from_secret: gitea-api-key-to-code-miflux-com
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|