Skip to content

Commit

Permalink
PS-9455: Add gcc-14 to Azure Pipelines + remove gcc-14 from Cirrus CI
Browse files Browse the repository at this point in the history
  • Loading branch information
inikep committed Oct 10, 2024
1 parent 646a7cf commit 669b337
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ script_template: &SCRIPT_TEMPLATE
NPROC=`nproc --all`
NTHREADS=$(( $NPROC > 16 ? 16 : $NPROC ))
if [[ "$BUILD_TYPE" == "RelWithDebInfo" ]]; then
MTR_TESTS="--suite=main"
MTR_TESTS="--suite=binlog_nogtid"
else
MTR_TESTS="main.1st"
fi
Expand Down Expand Up @@ -166,7 +166,8 @@ task:
task:
<< : *FILTER_TEMPLATE
# run only on "percona/percona-server" but not on "8.0" as we have nightly cron builds for "8.0" branch
only_if: "$CIRRUS_CRON != '' || $CIRRUS_REPO_FULL_NAME == 'percona/percona-server' && $CIRRUS_BRANCH != '8.0' && !changesIncludeOnly('doc/*', 'build-ps/*', 'man/*', 'mysql-test/*', 'packaging/*', 'policy/*', 'scripts/*', 'support-files/*')"
# only_if: "$CIRRUS_CRON != '' || $CIRRUS_REPO_FULL_NAME == 'percona/percona-server' && $CIRRUS_BRANCH != '8.0' && !changesIncludeOnly('doc/*', 'build-ps/*', 'man/*', 'mysql-test/*', 'packaging/*', 'policy/*', 'scripts/*', 'support-files/*')"
only_if: false # DISABLED
aws_credentials: ENCRYPTED[!f57794979d3ed96943cd39073b66a4fffbdc3ee6366b265e68c5aae890961d171bddca50bf169cc07db56c8c68172b84!]
ec2_instance:
# aws ec2 describe-images --filters "Name=name,Values=ubuntu/images/hvm-ssd-gp3/ubuntu-noble-24.04-amd64-server-2024061*"
Expand Down
21 changes: 17 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,25 @@ jobs:


# gcc-7 and newer compilers
gcc-13 RelWithDebInfo [Ubuntu 22.04 Jammy]:
imageName: 'ubuntu-22.04'
gcc-14 RelWithDebInfo [Ubuntu 24.04 Noble]:
imageName: 'ubuntu-24.04'
Compiler: gcc
CompilerVer: 13
CompilerVer: 14
BuildType: RelWithDebInfo

gcc-14 Debug [Ubuntu 24.04 Noble]:
imageName: 'ubuntu-24.04'
Compiler: gcc
CompilerVer: 14
BuildType: Debug

${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
gcc-13 RelWithDebInfo [Ubuntu 22.04 Jammy]:
imageName: 'ubuntu-22.04'
Compiler: gcc
CompilerVer: 13
BuildType: RelWithDebInfo

gcc-13 Debug [Ubuntu 22.04 Jammy]:
imageName: 'ubuntu-22.04'
Compiler: gcc
Expand Down Expand Up @@ -419,7 +432,7 @@ jobs:
sudo -E apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
sudo -E apt-get -yq update >> ~/apt-get-update.log 2>&1
sudo -E apt-get -yq --no-install-suggests --no-install-recommends --allow-unauthenticated install $PACKAGES cmake cmake-curses-gui ccache bison libudev-dev libaio-dev libmecab-dev libnuma-dev libssl-dev libreadline-dev libedit-dev libpam-dev libcurl4-openssl-dev libldap2-dev libkrb5-dev libsasl2-dev libsasl2-modules-gssapi-mit || exit 1;
sudo -E apt-get -yq --no-install-suggests --no-install-recommends --allow-unauthenticated install $PACKAGES cmake cmake-curses-gui ccache bison libtirpc-dev libudev-dev libaio-dev libmecab-dev libnuma-dev libssl-dev libreadline-dev libedit-dev libpam-dev libcurl4-openssl-dev libldap2-dev libkrb5-dev libsasl2-dev libsasl2-modules-gssapi-mit || exit 1;
`# SYSTEM_LIBRARIES = CURL EDITLINE ICU LIBEVENT LZ4 PROTOBUF SSL ZSTD FIDO (Ubuntu 21.04+)`
if [[ "$(BUILD_PARAMS_TYPE)" != "inverted" ]]; then
sudo -E apt-get -yq --no-install-suggests --no-install-recommends --allow-unauthenticated install libicu-dev libevent-dev liblz4-dev zlib1g-dev protobuf-compiler libprotobuf-dev libprotoc-dev libzstd-dev libfido2-dev || exit 1;
Expand Down

0 comments on commit 669b337

Please sign in to comment.