Skip to content

Build

Build #600

Workflow file for this run

---
name: Build
on:
push:
branches:
- master
tags:
- v*
paths-ignore:
- '**.md'
pull_request:
# The branches below must be a subset of the branches above
branches:
- master
paths-ignore:
- '**.md'
schedule:
- cron: '00 03 * * *'
workflow_dispatch:
permissions:
contents: read
jobs:
generate-os-matrix:
name: Generate OS Matrix
runs-on: ubuntu-latest
outputs:
os-matrix: ${{ steps.set-os-matrix.outputs.os-matrix }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch full annotated tags metadata
run: git fetch --force --tags
- name: Set up makesystem
run: make makesystem_install
- id: set-os-matrix
run: make github_dump_build_os_matrix
build:
name: Build
needs: generate-os-matrix
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ${{fromJSON(needs.generate-os-matrix.outputs.os-matrix)}}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch full annotated tags metadata
run: git fetch --force --tags
- name: Set up makesystem
run: make makesystem_install
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Build
run: make build