Merge branch 'master' into experimental

This commit is contained in:
Evan Lezar 2021-09-09 15:40:46 +02:00
commit dc6b7c703b
2 changed files with 28 additions and 16 deletions

View File

@ -26,7 +26,7 @@ stages:
- build-one - build-one
- build-all - build-all
.build-setup: &build-setup .build-setup:
before_script: before_script:
- apk update - apk update
- apk upgrade - apk upgrade
@ -39,11 +39,12 @@ stages:
# that we can successfully build packages on all of our architectures for a # that we can successfully build packages on all of our architectures for a
# single OS. They are triggered on any change to an MR. No artifacts are # single OS. They are triggered on any change to an MR. No artifacts are
# produced as part of build-one jobs. # produced as part of build-one jobs.
.build-one-setup: &build-one-setup .build-one-setup:
<<: *build-setup extends:
- .build-setup
stage: build-one stage: build-one
only: rules:
- merge_requests - if: $CI_MERGE_REQUEST_ID
# build-all jobs build packages for every OS / ARCH combination we support. # build-all jobs build packages for every OS / ARCH combination we support.
# #
@ -55,8 +56,9 @@ stages:
# OS / ARCH combinations, so this is optimized to only run once per MR # OS / ARCH combinations, so this is optimized to only run once per MR
# (assuming it all passes). A full set of artifacts including the packages # (assuming it all passes). A full set of artifacts including the packages
# built for each OS / ARCH are produced as a result of these jobs. # built for each OS / ARCH are produced as a result of these jobs.
.build-all-setup: &build-all-setup .build-all-setup:
<<: *build-setup extends:
- .build-setup
stage: build-all stage: build-all
timeout: 2h 30m timeout: 2h 30m
rules: rules:
@ -78,43 +80,53 @@ stages:
# The full set of build-one jobs organizes to build # The full set of build-one jobs organizes to build
# ubuntu18.04 in parallel on each of our supported ARCHs. # ubuntu18.04 in parallel on each of our supported ARCHs.
build-one-amd64: build-one-amd64:
<<: *build-one-setup extends:
- .build-one-setup
script: script:
- make ubuntu18.04-amd64 - make ubuntu18.04-amd64
rules:
- when: always
build-one-ppc64le: build-one-ppc64le:
<<: *build-one-setup extends:
- .build-one-setup
script: script:
- make ubuntu18.04-ppc64le - make ubuntu18.04-ppc64le
build-one-arm64: build-one-arm64:
<<: *build-one-setup extends:
- .build-one-setup
script: script:
- make ubuntu18.04-arm64 - make ubuntu18.04-arm64
# The full set of build-all jobs organized to # The full set of build-all jobs organized to
# have builds for each ARCH run in parallel. # have builds for each ARCH run in parallel.
build-all-amd64: build-all-amd64:
<<: *build-all-setup extends:
- .build-all-setup
script: script:
- make docker-amd64 - make docker-amd64
build-all-x86_64: build-all-x86_64:
<<: *build-all-setup extends:
- .build-all-setup
script: script:
- make docker-x86_64 - make docker-x86_64
build-all-ppc64le: build-all-ppc64le:
<<: *build-all-setup extends:
- .build-all-setup
script: script:
- make docker-ppc64le - make docker-ppc64le
build-all-arm64: build-all-arm64:
<<: *build-all-setup extends:
- .build-all-setup
script: script:
- make docker-arm64 - make docker-arm64
build-all-aarch64: build-all-aarch64:
<<: *build-all-setup extends:
- .build-all-setup
script: script:
- make docker-aarch64 - make docker-aarch64

View File

@ -1,4 +1,4 @@
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.