mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-04-08 14:35:55 +02:00
Install build dependencies
This commit is contained in:
parent
a9e0928d76
commit
cf2925814b
12
.github/workflows/AlmaLinux.yml
vendored
12
.github/workflows/AlmaLinux.yml
vendored
@ -16,11 +16,9 @@ jobs:
|
||||
container: almalinux:8.5
|
||||
steps:
|
||||
|
||||
# Use dnf to install required dependencies
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
dnf --assumeyes group install "Development Tools" "RPM Development Tools"
|
||||
dnf --assumeyes install wget
|
||||
# Use dnf to install development packages
|
||||
- name: Install development packages
|
||||
run: dnf --assumeyes group install "Development Tools" "RPM Development Tools"
|
||||
|
||||
# Checkout git repository and submodules
|
||||
# fetch-depth must be 0 to use git describe
|
||||
@ -31,6 +29,10 @@ jobs:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
|
||||
# Use dnf to install build dependencies
|
||||
- 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user