2023-06-28 08:09:19 +00:00
|
|
|
name: Build
|
|
|
|
|
2024-11-20 08:40:13 +00:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
2023-06-28 08:09:19 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Build Components
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2024-08-20 12:35:45 +00:00
|
|
|
go_versions: [ '1.22', '1.23' ]
|
2023-06-28 08:09:19 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
# Allows to fetch all history for all branches and tags.
|
|
|
|
# Need this for proper versioning.
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
- name: Set up Go
|
|
|
|
uses: actions/setup-go@v3
|
|
|
|
with:
|
|
|
|
go-version: '${{ matrix.go_versions }}'
|
|
|
|
|
|
|
|
- name: Build CLI
|
|
|
|
run: make bin/frostfs-cli
|
2023-08-29 09:41:45 +00:00
|
|
|
- run: bin/frostfs-cli --version
|
2023-06-28 08:09:19 +00:00
|
|
|
|
|
|
|
- name: Build NODE
|
|
|
|
run: make bin/frostfs-node
|
|
|
|
|
|
|
|
- name: Build IR
|
|
|
|
run: make bin/frostfs-ir
|
|
|
|
|
|
|
|
- name: Build ADM
|
|
|
|
run: make bin/frostfs-adm
|
2023-08-29 09:41:45 +00:00
|
|
|
- run: bin/frostfs-adm --version
|
2023-06-28 08:09:19 +00:00
|
|
|
|
|
|
|
- name: Build LENS
|
|
|
|
run: make bin/frostfs-lens
|
2023-08-29 09:41:45 +00:00
|
|
|
- run: bin/frostfs-lens --version
|