mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-04-08 14:35:55 +02:00
Use go-toolset from AlmaLinux
This commit is contained in:
parent
cf2925814b
commit
01090f7e10
6
.github/workflows/AlmaLinux.yml
vendored
6
.github/workflows/AlmaLinux.yml
vendored
@ -33,12 +33,6 @@ jobs:
|
||||
- name: Install build dependencies
|
||||
run: dnf --assumeyes builddep scripts/cc-metric-collector.spec
|
||||
|
||||
# See: https://github.com/marketplace/actions/setup-go-environment
|
||||
- name: Setup Golang
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: '^1.16.7'
|
||||
|
||||
- name: RPM build MetricCollector
|
||||
id: rpmbuild
|
||||
run: |
|
||||
|
2
Makefile
2
Makefile
@ -74,4 +74,4 @@ RPM: scripts/cc-metric-collector.spec
|
||||
@SRCFILE="$${SOURCEDIR}/$${PREFIX}.$${FORMAT}"
|
||||
@git archive --verbose --format "$${FORMAT}" --prefix="$${PREFIX}/" --output="$${SRCFILE}" HEAD
|
||||
# Build RPM and SRPM
|
||||
@rpmbuild -ba --define="VERS $${VERS}" --rmsource --clean --nodeps "$${SPECFILE}"
|
||||
@rpmbuild -ba --define="VERS $${VERS}" --rmsource --clean "$${SPECFILE}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user