mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-04-08 22:45:55 +02:00
47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
name: Run Test
|
|
on: push
|
|
|
|
jobs:
|
|
build-1-17:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: recursive
|
|
|
|
# See: https://github.com/marketplace/actions/setup-go-environment
|
|
- name: Setup Golang
|
|
uses: actions/setup-go@v2.1.5
|
|
with:
|
|
go-version: '^1.17.6'
|
|
|
|
- name: Setup Ganglia
|
|
run: sudo apt install gmond ganglia-monitor
|
|
|
|
- name: Build MetricCollector
|
|
run: make
|
|
|
|
- name: Run MetricCollector
|
|
run: ./cc-metric-collector --once --config .github/ci-config.json
|
|
build-1-16:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: recursive
|
|
|
|
# See: https://github.com/marketplace/actions/setup-go-environment
|
|
- name: Setup Golang
|
|
uses: actions/setup-go@v2.1.5
|
|
with:
|
|
go-version: '^1.16.7' # The version AlmaLinux 8.5 uses
|
|
|
|
- name: Setup Ganglia
|
|
run: sudo apt install gmond ganglia-monitor
|
|
|
|
- name: Build MetricCollector
|
|
run: make
|
|
|
|
- name: Run MetricCollector
|
|
run: ./cc-metric-collector --once --config .github/ci-config.json
|