mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-04-17 10:25:56 +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
|
container: almalinux:8.5
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
# Use dnf to install required dependencies
|
# Use dnf to install development packages
|
||||||
- name: Install dependencies
|
- name: Install development packages
|
||||||
run: |
|
run: dnf --assumeyes group install "Development Tools" "RPM Development Tools"
|
||||||
dnf --assumeyes group install "Development Tools" "RPM Development Tools"
|
|
||||||
dnf --assumeyes install wget
|
|
||||||
|
|
||||||
# Checkout git repository and submodules
|
# Checkout git repository and submodules
|
||||||
# fetch-depth must be 0 to use git describe
|
# fetch-depth must be 0 to use git describe
|
||||||
@ -31,6 +29,10 @@ jobs:
|
|||||||
submodules: recursive
|
submodules: recursive
|
||||||
fetch-depth: 0
|
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
|
# See: https://github.com/marketplace/actions/setup-go-environment
|
||||||
- name: Setup Golang
|
- name: Setup Golang
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user