mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-27 07:39:05 +01:00
e28c1fb30b
* Add sink directly using libganglia.so * Remove unneeded confuse header * add submodule init to build action * add submodule init to runonce action * add installation og ganglia to runonce * add installation of ganglia to runonce * add installation of ganglia to runonce * libconfuse not required * Remove ganglia submodule * Remove ganglia.h * Add Makefile to help creating the libganglia.so link * Fix cgo header * Rename new Ganglia sink to 'libgangliaSink' * Add documentation for libgangliaSink * Extend make buildsystem with find&symlink helper for libgangliaSink * Add metric renaming function * Add build tag 'ganglia' and create corresponding files
67 lines
2.0 KiB
YAML
67 lines
2.0 KiB
YAML
name: Run RPM Build
|
|
on:
|
|
push:
|
|
tags:
|
|
- '**'
|
|
|
|
jobs:
|
|
build-centos8:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: recursive
|
|
- uses: TomTheBear/rpmbuild@master
|
|
id: rpm
|
|
name: Build RPM package on CentOS8
|
|
with:
|
|
spec_file: "./scripts/cc-metric-collector.spec"
|
|
- name: Save RPM as artifact
|
|
uses: actions/upload-artifact@v1.0.0
|
|
with:
|
|
name: cc-metric-collector RPM CentOS8
|
|
path: ${{ steps.rpm.outputs.rpm_dir_path }}
|
|
- name: Save SRPM as artifact
|
|
uses: actions/upload-artifact@v1.0.0
|
|
with:
|
|
name: cc-metric-collector SRPM CentOS8
|
|
path: ${{ steps.rpm.outputs.source_rpm_path }}
|
|
build-centos-latest:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: TomTheBear/rpmbuild@centos_latest
|
|
id: rpm
|
|
name: Build RPM package on CentOS 'Latest'
|
|
with:
|
|
spec_file: "./scripts/cc-metric-collector.spec"
|
|
- name: Save RPM as artifact
|
|
uses: actions/upload-artifact@v1.0.0
|
|
with:
|
|
name: cc-metric-collector RPM CentOS 'Latest'
|
|
path: ${{ steps.rpm.outputs.rpm_dir_path }}
|
|
- name: Save SRPM as artifact
|
|
uses: actions/upload-artifact@v1.0.0
|
|
with:
|
|
name: cc-metric-collector SRPM CentOS 'Latest'
|
|
path: ${{ steps.rpm.outputs.source_rpm_path }}
|
|
build-alma-8_5:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: TomTheBear/rpmbuild@alma8.5
|
|
id: rpm
|
|
name: Build RPM package on AlmaLinux 8.5
|
|
with:
|
|
spec_file: "./scripts/cc-metric-collector.spec"
|
|
- name: Save RPM as artifact
|
|
uses: actions/upload-artifact@v1.0.0
|
|
with:
|
|
name: cc-metric-collector RPM AlmaLinux 8.5
|
|
path: ${{ steps.rpm.outputs.rpm_dir_path }}
|
|
- name: Save SRPM as artifact
|
|
uses: actions/upload-artifact@v1.0.0
|
|
with:
|
|
name: cc-metric-collector SRPM AlmaLinux 8.5
|
|
path: ${{ steps.rpm.outputs.source_rpm_path }}
|