summaryrefslogtreecommitdiffstats
path: root/.github/workflows/build-and-install.yml
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2021-09-06 09:10:05 -0400
committerGitHub <noreply@github.com>2021-09-06 09:10:05 -0400
commit214cb3a41e86bc11c825b9ed8ff2513d4e69c72d (patch)
tree0dafc60c9701d2681bfdb45160c8271d3ca33a85 /.github/workflows/build-and-install.yml
parent86bec920ef41913a0670c6f1be526c79bdbb8bf1 (diff)
Embed build architecture in static build archive names. (#11463)
* Embed build architecture in static build archive names. This is required for proper support for static installs in the new kickstart script. The associated changes will also simplify adding static builds for other architectures in the future. * Update CI to use new static build changes properly. * Fix typos. * Fix link created by static build process. * Fix build environment setup.
Diffstat (limited to '.github/workflows/build-and-install.yml')
-rw-r--r--.github/workflows/build-and-install.yml12
1 files changed, 7 insertions, 5 deletions
diff --git a/.github/workflows/build-and-install.yml b/.github/workflows/build-and-install.yml
index 70dd78222a..2241e905cd 100644
--- a/.github/workflows/build-and-install.yml
+++ b/.github/workflows/build-and-install.yml
@@ -9,18 +9,20 @@ env:
DO_NOT_TRACK: 1
jobs:
static-build:
- name: Build (x86_64)
+ name: Static Build
runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ arch:
+ - 'x86_64'
steps:
- name: Git clone repository
uses: actions/checkout@v2
with:
+ fetch-depth: 0
submodules: recursive
- - run: |
- git fetch --prune --unshallow --tags
- name: Build
- run: |
- .github/scripts/build-static-x86_64.sh
+ run: .github/scripts/build-static.sh ${{ matrix.arch }}
source-build:
name: Build & Install
strategy: