Skip to content

OpenSSL 3.0.8

OpenSSL 3.0.8 #9

Workflow file for this run

name: ci
# TODO: deduplicate this across multiple workflow files.
on:
push:
branches:
- '*'
paths-ignore:
- README.md
# Run tests for any PRs.
pull_request:
branches:
- master
- 2.14
paths-ignore:
- README.md
jobs:
build:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
if: >
(github.event_name == 'push' &&
!contains(github.event.head_commit.message, 'skip ci') &&
!contains(github.event.head_commit.message, 'ci skip')) ||
github.event_name == 'pull_request'
strategy:
# To avoid terminating all jobs when one job fails.
fail-fast: false
matrix:
include:
# ---------------------------------------------------------------------------------------
# CentOS 7
# ---------------------------------------------------------------------------------------
- name: centos7-x86_64-gcc11
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_centos7_x86_64:v2023-10-25T03_33_02
build_thirdparty_args: >-
--devtoolset=11
--expected-major-compiler-version=11
# Clang 12
- name: centos7-x86_64-clang12
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_centos7_x86_64:v2023-10-25T03_33_02
build_thirdparty_args: >-
--toolchain=llvm12
--expected-major-compiler-version=12
- name: centos7-x86_64-clang12-thin-lto
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_centos7_x86_64:v2023-10-25T03_33_02
build_thirdparty_args: >-
--toolchain=llvm12
--expected-major-compiler-version=12
--lto=thin
- name: centos7-x86_64-clang12-full-lto
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_centos7_x86_64:v2023-10-25T03_33_02
build_thirdparty_args: >-
--toolchain=llvm12
--expected-major-compiler-version=12
--lto=full
# Clang 13
- name: centos7-x86_64-clang13
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_centos7_x86_64:v2023-10-25T03_33_02
build_thirdparty_args: >-
--toolchain=llvm13
--expected-major-compiler-version=13
- name: centos7-x86_64-clang13-thin-lto
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_centos7_x86_64:v2023-10-25T03_33_02
build_thirdparty_args: >-
--toolchain=llvm13
--expected-major-compiler-version=13
--lto=thin
- name: centos7-x86_64-clang13-full-lto
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_centos7_x86_64:v2023-10-25T03_33_02
build_thirdparty_args: >-
--toolchain=llvm13
--expected-major-compiler-version=13
--lto=full
# Clang 14
- name: centos7-x86_64-clang14
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_centos7_x86_64:v2023-10-25T03_33_02
build_thirdparty_args: >-
--toolchain=llvm14
--expected-major-compiler-version=14
- name: centos7-x86_64-clang14-thin-lto
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_centos7_x86_64:v2023-10-25T03_33_02
build_thirdparty_args: >-
--toolchain=llvm14
--expected-major-compiler-version=14
--lto=thin
- name: centos7-x86_64-clang14-full-lto
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_centos7_x86_64:v2023-10-25T03_33_02
build_thirdparty_args: >-
--toolchain=llvm14
--expected-major-compiler-version=14
--lto=full
# ---------------------------------------------------------------------------------------
# Ubuntu 20.04
# ---------------------------------------------------------------------------------------
- name: ubuntu2004-x86_64-clang12
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_ubuntu2004_x86_64:v2023-10-25T03_33_01
build_thirdparty_args: >-
--toolchain=llvm12
--expected-major-compiler-version=12
- name: ubuntu2004-x86_64-clang13
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_ubuntu2004_x86_64:v2023-10-25T03_33_01
build_thirdparty_args: >-
--toolchain=llvm13
--expected-major-compiler-version=13
- name: ubuntu2004-x86_64-clang14
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_ubuntu2004_x86_64:v2023-10-25T03_33_01
build_thirdparty_args: >-
--toolchain=llvm14
--expected-major-compiler-version=14
# ---------------------------------------------------------------------------------------
# Ubuntu 22.04
# ---------------------------------------------------------------------------------------
- name: ubuntu2204-x86_64-gcc11
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_ubuntu2204_x86_64:v2023-10-25T03_33_00
build_thirdparty_args: >-
--compiler-prefix=/usr
--single-compiler-type=gcc
--compiler-suffix=-11
--expected-major-compiler-version=11
- name: ubuntu2204-x86_64-clang12
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_ubuntu2204_x86_64:v2023-10-25T03_33_00
build_thirdparty_args: >-
--toolchain=llvm12
--expected-major-compiler-version=12
- name: ubuntu2204-x86_64-clang13
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_ubuntu2204_x86_64:v2023-10-25T03_33_00
build_thirdparty_args: >-
--toolchain=llvm13
--expected-major-compiler-version=13
- name: ubuntu2204-x86_64-clang14
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_ubuntu2204_x86_64:v2023-10-25T03_33_00
build_thirdparty_args: >-
--toolchain=llvm14
--expected-major-compiler-version=14
# ---------------------------------------------------------------------------------------
# AlmaLinux 8
# ---------------------------------------------------------------------------------------
- name: almalinux8-x86_64-gcc11
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_almalinux8_x86_64:v2023-10-25T03_33_01
build_thirdparty_args: >-
--devtoolset=11
--expected-major-compiler-version=11
- name: almalinux8-x86_64-clang12
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_almalinux8_x86_64:v2023-10-25T03_33_01
build_thirdparty_args: >-
--toolchain=llvm12
--expected-major-compiler-version=12
- name: almalinux8-x86_64-clang12-thin-lto
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_almalinux8_x86_64:v2023-10-25T03_33_01
build_thirdparty_args: >-
--toolchain=llvm12
--expected-major-compiler-version=12
--lto=thin
- name: almalinux8-x86_64-clang12-full-lto
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_almalinux8_x86_64:v2023-10-25T03_33_01
build_thirdparty_args: >-
--toolchain=llvm12
--expected-major-compiler-version=12
--lto=full
- name: almalinux8-x86_64-clang12-linuxbrew
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_almalinux8_x86_64:v2023-10-25T03_33_01
build_thirdparty_args: >-
--toolchain=llvm12_linuxbrew
--expected-major-compiler-version=12
- name: almalinux8-x86_64-clang12-linuxbrew-thin-lto
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_almalinux8_x86_64:v2023-10-25T03_33_01
build_thirdparty_args: >-
--toolchain=llvm12_linuxbrew
--expected-major-compiler-version=12
--lto=thin
- name: almalinux8-x86_64-clang12-linuxbrew-full-lto
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_almalinux8_x86_64:v2023-10-25T03_33_01
build_thirdparty_args: >-
--toolchain=llvm12_linuxbrew
--expected-major-compiler-version=12
--lto=full
# Clang/LLVM 13
- name: almalinux8-x86_64-clang13
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_almalinux8_x86_64:v2023-10-25T03_33_01
build_thirdparty_args: >-
--toolchain=llvm13
--expected-major-compiler-version=13
- name: almalinux8-x86_64-clang13-thin-lto
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_almalinux8_x86_64:v2023-10-25T03_33_01
build_thirdparty_args: >-
--toolchain=llvm13
--expected-major-compiler-version=13
--lto=thin
- name: almalinux8-x86_64-clang13-full-lto
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_almalinux8_x86_64:v2023-10-25T03_33_01
build_thirdparty_args: >-
--toolchain=llvm13
--expected-major-compiler-version=13
--lto=full
- name: almalinux8-x86_64-clang13-linuxbrew
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_almalinux8_x86_64:v2023-10-25T03_33_01
build_thirdparty_args: >-
--toolchain=llvm13_linuxbrew
--expected-major-compiler-version=13
- name: almalinux8-x86_64-clang13-linuxbrew-thin-lto
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_almalinux8_x86_64:v2023-10-25T03_33_01
build_thirdparty_args: >-
--toolchain=llvm13_linuxbrew
--expected-major-compiler-version=13
--lto=thin
- name: almalinux8-x86_64-clang13-linuxbrew-full-lto
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_almalinux8_x86_64:v2023-10-25T03_33_01
build_thirdparty_args: >-
--toolchain=llvm13_linuxbrew
--expected-major-compiler-version=13
--lto=full
# Clang/LLVM 14
- name: almalinux8-x86_64-clang14
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_almalinux8_x86_64:v2023-10-25T03_33_01
build_thirdparty_args: >-
--toolchain=llvm14
--expected-major-compiler-version=14
- name: almalinux8-x86_64-clang14-thin-lto
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_almalinux8_x86_64:v2023-10-25T03_33_01
build_thirdparty_args: >-
--toolchain=llvm14
--expected-major-compiler-version=14
--lto=thin
- name: almalinux8-x86_64-clang14-full-lto
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_almalinux8_x86_64:v2023-10-25T03_33_01
build_thirdparty_args: >-
--toolchain=llvm14
--expected-major-compiler-version=14
--lto=full
- name: almalinux8-x86_64-clang14-linuxbrew
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_almalinux8_x86_64:v2023-10-25T03_33_01
build_thirdparty_args: >-
--toolchain=llvm14_linuxbrew
--expected-major-compiler-version=14
- name: almalinux8-x86_64-clang14-linuxbrew-thin-lto
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_almalinux8_x86_64:v2023-10-25T03_33_01
build_thirdparty_args: >-
--toolchain=llvm14_linuxbrew
--expected-major-compiler-version=14
--lto=thin
- name: almalinux8-x86_64-clang14-linuxbrew-full-lto
os: ubuntu-20.04 # Ubuntu 20.04 is for the top-level VM only. We use Docker in it.
docker_image: yugabyteci/yb_build_infra_almalinux8_x86_64:v2023-10-25T03_33_01
build_thirdparty_args: >-
--toolchain=llvm14_linuxbrew
--expected-major-compiler-version=14
--lto=full
# ---------------------------------------------------------------------------------------
# macOS
# ---------------------------------------------------------------------------------------
- name: macos-x86_64
os: macos-11
docker_image:
build_thirdparty_args:
steps:
- name: Increase disk space
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Clone repository
uses: actions/checkout@v2
with:
# We need to fetch all history because we are cloning the checkout directory further
# in test code.
fetch-depth: 0
- name: Build
run: |
if [[ $OSTYPE == darwin* ]]; then
./.github/workflows/macos_build.sh
else
./.github/workflows/linux_build.sh
fi
env:
YB_DOCKER_IMAGE: ${{ matrix.docker_image }}
YB_THIRDPARTY_ARCHIVE_NAME_SUFFIX: ${{ matrix.name }}
YB_BUILD_THIRDPARTY_ARGS: ${{ matrix.build_thirdparty_args }}
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
- uses: actions/upload-artifact@v2
with:
name: yugabyte-db-thirdparty-${{ matrix.name }}.tar.gz
path: archive.tar.gz
- uses: actions/upload-artifact@v2
with:
name: yugabyte-db-thirdparty-${{ matrix.name }}.tar.gz.sha256
path: archive.tar.gz.sha256