mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-25 23:19:06 +01:00
Remove Ganglia installation in runonce Action and add Go 1.18
This commit is contained in:
parent
838b8d824d
commit
cc84a94647
34
.github/workflows/runonce.yml
vendored
34
.github/workflows/runonce.yml
vendored
@ -7,6 +7,32 @@ name: Run Test
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
#
|
||||
# Job build-1-18
|
||||
# Build on latest Ubuntu using golang version 1.18
|
||||
#
|
||||
build-1-18:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# See: https://github.com/marketplace/actions/checkout
|
||||
# Checkout git repository and submodules
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
# See: https://github.com/marketplace/actions/setup-go-environment
|
||||
- name: Setup Golang
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: '1.18.2'
|
||||
|
||||
- name: Build MetricCollector
|
||||
run: make
|
||||
|
||||
- name: Run MetricCollector once
|
||||
run: ./cc-metric-collector --once --config .github/ci-config.json
|
||||
|
||||
#
|
||||
# Job build-1-17
|
||||
# Build on latest Ubuntu using golang version 1.17
|
||||
@ -27,10 +53,6 @@ jobs:
|
||||
with:
|
||||
go-version: '1.17.7'
|
||||
|
||||
# Install libganglia
|
||||
- name: Setup Ganglia
|
||||
run: sudo apt install ganglia-monitor libganglia1
|
||||
|
||||
- name: Build MetricCollector
|
||||
run: make
|
||||
|
||||
@ -57,10 +79,6 @@ jobs:
|
||||
with:
|
||||
go-version: '1.16.7' # The version AlmaLinux 8.5 uses
|
||||
|
||||
# Install libganglia
|
||||
- name: Setup Ganglia
|
||||
run: sudo apt install ganglia-monitor libganglia1
|
||||
|
||||
- name: Build MetricCollector
|
||||
run: make
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user