2022-08-03 16:01:36 +02:00
|
|
|
# Build Constellation binaries as quality control
|
|
|
|
name: Build Constellation binaries
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
2022-10-18 16:17:41 +02:00
|
|
|
- "release/**"
|
2022-09-03 17:47:47 +02:00
|
|
|
paths:
|
|
|
|
- "**.go"
|
2022-10-14 10:27:49 +02:00
|
|
|
- "**/go.mod"
|
|
|
|
- "**/go.sum"
|
2022-08-03 16:01:36 +02:00
|
|
|
pull_request:
|
2022-09-03 17:47:47 +02:00
|
|
|
paths:
|
|
|
|
- "**.go"
|
2022-10-14 10:27:49 +02:00
|
|
|
- "**/go.mod"
|
|
|
|
- "**/go.sum"
|
2022-08-03 16:01:36 +02:00
|
|
|
|
|
|
|
jobs:
|
2022-08-31 12:37:18 +02:00
|
|
|
build-bootstrapper:
|
2022-11-10 16:55:24 +01:00
|
|
|
runs-on: ubuntu-22.04
|
2022-08-03 16:01:36 +02:00
|
|
|
steps:
|
2022-09-19 10:59:46 +02:00
|
|
|
- name: Checkout
|
2022-10-12 18:05:58 +02:00
|
|
|
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
|
2022-09-19 10:59:46 +02:00
|
|
|
with:
|
2022-10-19 10:32:22 +02:00
|
|
|
ref: ${{ github.head_ref }}
|
2022-09-19 10:59:46 +02:00
|
|
|
|
2022-09-14 15:14:26 +02:00
|
|
|
- name: Setup Go environment
|
2022-10-18 13:54:53 +02:00
|
|
|
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
|
2022-09-14 15:14:26 +02:00
|
|
|
with:
|
2022-11-02 11:17:29 +01:00
|
|
|
go-version: "1.19.3"
|
2022-09-14 15:14:26 +02:00
|
|
|
|
2022-08-03 16:01:36 +02:00
|
|
|
- name: Build the bootstrapper
|
|
|
|
uses: ./.github/actions/build_bootstrapper
|
2022-08-31 12:37:18 +02:00
|
|
|
|
|
|
|
build-debugd:
|
2022-11-10 16:55:24 +01:00
|
|
|
runs-on: ubuntu-22.04
|
2022-08-31 12:37:18 +02:00
|
|
|
steps:
|
2022-09-19 10:59:46 +02:00
|
|
|
- name: Checkout
|
2022-10-12 18:05:58 +02:00
|
|
|
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
|
2022-09-19 10:59:46 +02:00
|
|
|
with:
|
2022-10-19 10:32:22 +02:00
|
|
|
ref: ${{ github.head_ref }}
|
2022-09-19 10:59:46 +02:00
|
|
|
|
2022-09-14 15:14:26 +02:00
|
|
|
- name: Setup Go environment
|
2022-10-18 13:54:53 +02:00
|
|
|
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
|
2022-09-14 15:14:26 +02:00
|
|
|
with:
|
2022-11-02 11:17:29 +01:00
|
|
|
go-version: "1.19.3"
|
2022-09-14 15:14:26 +02:00
|
|
|
|
2022-08-03 16:01:36 +02:00
|
|
|
- name: Build debugd
|
|
|
|
uses: ./.github/actions/build_debugd
|
2022-08-31 12:37:18 +02:00
|
|
|
|
2022-09-20 13:43:46 +02:00
|
|
|
build-cdbg-linux:
|
2022-11-10 16:55:24 +01:00
|
|
|
runs-on: ubuntu-22.04
|
2022-09-14 17:41:47 +02:00
|
|
|
steps:
|
2022-09-19 10:59:46 +02:00
|
|
|
- name: Checkout
|
2022-10-12 18:05:58 +02:00
|
|
|
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
|
2022-09-19 10:59:46 +02:00
|
|
|
with:
|
2022-10-19 10:32:22 +02:00
|
|
|
ref: ${{ github.head_ref }}
|
2022-09-19 10:59:46 +02:00
|
|
|
|
2022-09-14 17:41:47 +02:00
|
|
|
- name: Setup Go environment
|
2022-10-18 13:54:53 +02:00
|
|
|
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
|
2022-09-14 17:41:47 +02:00
|
|
|
with:
|
2022-11-02 11:17:29 +01:00
|
|
|
go-version: "1.19.3"
|
2022-09-14 17:41:47 +02:00
|
|
|
|
2022-09-15 14:29:35 +02:00
|
|
|
- name: Build cdbg (Linux, amd64)
|
2022-09-14 17:41:47 +02:00
|
|
|
uses: ./.github/actions/build_cdbg
|
2022-09-15 14:29:35 +02:00
|
|
|
with:
|
|
|
|
targetOS: "linux"
|
|
|
|
targetArch: "amd64"
|
|
|
|
|
|
|
|
- name: Build cdbg (Linux, arm64)
|
|
|
|
uses: ./.github/actions/build_cdbg
|
|
|
|
with:
|
|
|
|
targetOS: "linux"
|
|
|
|
targetArch: "arm64"
|
|
|
|
|
2022-09-20 13:43:46 +02:00
|
|
|
build-cdbg-macos:
|
2022-11-10 16:55:24 +01:00
|
|
|
runs-on: ubuntu-22.04
|
2022-09-20 13:43:46 +02:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2022-10-12 18:05:58 +02:00
|
|
|
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
|
2022-09-20 13:43:46 +02:00
|
|
|
with:
|
2022-10-19 10:32:22 +02:00
|
|
|
ref: ${{ github.head_ref }}
|
2022-09-20 13:43:46 +02:00
|
|
|
|
|
|
|
- name: Setup Go environment
|
2022-10-18 13:54:53 +02:00
|
|
|
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
|
2022-09-20 13:43:46 +02:00
|
|
|
with:
|
2022-11-02 11:17:29 +01:00
|
|
|
go-version: "1.19.3"
|
2022-09-15 14:29:35 +02:00
|
|
|
- name: Build cdbg (macOS, amd64)
|
|
|
|
uses: ./.github/actions/build_cdbg
|
|
|
|
with:
|
2022-09-20 13:43:46 +02:00
|
|
|
targetOS: "darwin"
|
2022-09-15 14:29:35 +02:00
|
|
|
targetArch: "arm64"
|
|
|
|
|
|
|
|
- name: Build cdbg (macOS, arm64)
|
|
|
|
uses: ./.github/actions/build_cdbg
|
|
|
|
with:
|
2022-09-20 13:43:46 +02:00
|
|
|
targetOS: "darwin"
|
2022-09-15 14:29:35 +02:00
|
|
|
targetArch: "arm64"
|
2022-09-14 17:41:47 +02:00
|
|
|
|
2022-08-31 12:37:18 +02:00
|
|
|
build-disk-mapper:
|
2022-11-10 16:55:24 +01:00
|
|
|
runs-on: ubuntu-22.04
|
2022-08-31 12:37:18 +02:00
|
|
|
steps:
|
2022-09-19 10:59:46 +02:00
|
|
|
- name: Checkout
|
2022-10-12 18:05:58 +02:00
|
|
|
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
|
2022-09-19 10:59:46 +02:00
|
|
|
with:
|
2022-10-19 10:32:22 +02:00
|
|
|
ref: ${{ github.head_ref }}
|
2022-09-19 10:59:46 +02:00
|
|
|
|
2022-09-14 15:14:26 +02:00
|
|
|
- name: Setup Go environment
|
2022-10-18 13:54:53 +02:00
|
|
|
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
|
2022-09-14 15:14:26 +02:00
|
|
|
with:
|
2022-11-02 11:17:29 +01:00
|
|
|
go-version: "1.19.3"
|
2022-08-03 16:01:36 +02:00
|
|
|
- name: Build disk-mapper
|
|
|
|
uses: ./.github/actions/build_disk_mapper
|
|
|
|
|
2022-09-20 13:43:46 +02:00
|
|
|
build-cli-linux:
|
2022-11-10 16:55:24 +01:00
|
|
|
runs-on: ubuntu-22.04
|
2022-08-31 12:37:18 +02:00
|
|
|
steps:
|
2022-09-19 10:59:46 +02:00
|
|
|
- name: Checkout
|
2022-10-12 18:05:58 +02:00
|
|
|
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
|
2022-09-19 10:59:46 +02:00
|
|
|
with:
|
2022-10-19 10:32:22 +02:00
|
|
|
ref: ${{ github.head_ref }}
|
2022-09-19 10:59:46 +02:00
|
|
|
|
2022-09-14 15:14:26 +02:00
|
|
|
- name: Setup Go environment
|
2022-10-18 13:54:53 +02:00
|
|
|
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
|
2022-09-14 15:14:26 +02:00
|
|
|
with:
|
2022-11-02 11:17:29 +01:00
|
|
|
go-version: "1.19.3"
|
2022-09-14 15:14:26 +02:00
|
|
|
|
2022-09-15 14:29:35 +02:00
|
|
|
- name: Build CLI (Linux, amd64)
|
2022-08-03 16:01:36 +02:00
|
|
|
uses: ./.github/actions/build_cli
|
2022-09-14 15:23:10 +02:00
|
|
|
with:
|
|
|
|
targetOS: linux
|
|
|
|
targetArch: amd64
|
|
|
|
|
2022-09-15 14:29:35 +02:00
|
|
|
- name: Build CLI (Linux, arm64)
|
2022-09-14 15:23:10 +02:00
|
|
|
uses: ./.github/actions/build_cli
|
|
|
|
with:
|
|
|
|
targetOS: linux
|
|
|
|
targetArch: arm64
|
|
|
|
|
2022-09-20 13:43:46 +02:00
|
|
|
build-cli-macos:
|
2022-11-10 16:55:24 +01:00
|
|
|
runs-on: ubuntu-22.04
|
2022-09-20 13:43:46 +02:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2022-10-12 18:05:58 +02:00
|
|
|
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
|
2022-09-20 13:43:46 +02:00
|
|
|
with:
|
2022-10-19 10:32:22 +02:00
|
|
|
ref: ${{ github.head_ref }}
|
2022-09-20 13:43:46 +02:00
|
|
|
|
|
|
|
- name: Setup Go environment
|
2022-10-18 13:54:53 +02:00
|
|
|
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
|
2022-09-20 13:43:46 +02:00
|
|
|
with:
|
2022-11-02 11:17:29 +01:00
|
|
|
go-version: "1.19.3"
|
2022-09-20 13:43:46 +02:00
|
|
|
|
2022-09-15 14:29:35 +02:00
|
|
|
- name: Build CLI (macOS, amd64)
|
2022-09-14 15:23:10 +02:00
|
|
|
uses: ./.github/actions/build_cli
|
|
|
|
with:
|
|
|
|
targetOS: darwin
|
|
|
|
targetArch: amd64
|
|
|
|
|
2022-09-15 14:29:35 +02:00
|
|
|
- name: Build CLI (macOS, arm64)
|
2022-09-14 15:23:10 +02:00
|
|
|
uses: ./.github/actions/build_cli
|
|
|
|
with:
|
|
|
|
targetOS: darwin
|
|
|
|
targetArch: arm64
|