Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb2c91d8

Browse files
committed
ci: Use VMs for SanityCheck and CompilerWarnings
The main reason for this change is to reduce different ways of executingtasks, making it easier to use custom compute resources for cfbot. A secondarybenefit is that the tasks seem slightly faster this way, apparently theincreased startup overhead is outweighed by reduced runtime overhead.Reviewed-by: Daniel Gustafsson <daniel@yesql.se>Discussion:https://postgr.es/m/20230808021541.7lbzdefvma7qmn3w@awork3.anarazel.deBackpatch: 15-, where CI support was added
1 parent119ee6a commitb2c91d8

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

‎.cirrus.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,14 @@ task:
110110
CPUS:4
111111
BUILD_JOBS:8
112112
TEST_JOBS:8
113+
IMAGE_FAMILY:pg-ci-bullseye
113114
CCACHE_DIR:${CIRRUS_WORKING_DIR}/ccache_dir
114115
# no options enabled, should be small
115116
CCACHE_MAXSIZE:"150M"
116117

117-
# Container starts up quickly, but is slower at runtime, particularly for
118-
# tests. Good for the briefly running sanity check.
119-
container:
120-
image:$CONTAINER_REPO/linux_debian_bullseye_ci:latest
121-
cpu:$CPUS
118+
# While containers would start up a bit quicker, building is a bit
119+
# slower. This way we don't have to maintain a container image.
120+
<<:*linux_task_template
122121

123122
ccache_cache:
124123
folder:$CCACHE_DIR
@@ -691,6 +690,7 @@ task:
691690
env:
692691
CPUS:4
693692
BUILD_JOBS:4
693+
IMAGE_FAMILY:pg-ci-bullseye
694694

695695
# Use larger ccache cache, as this task compiles with multiple compilers /
696696
# flag combinations
@@ -700,9 +700,7 @@ task:
700700
LINUX_CONFIGURE_FEATURES:*LINUX_CONFIGURE_FEATURES
701701
LINUX_MESON_FEATURES:*LINUX_MESON_FEATURES
702702

703-
container:
704-
image:$CONTAINER_REPO/linux_debian_bullseye_ci:latest
705-
cpu:$CPUS
703+
<<:*linux_task_template
706704

707705
sysinfo_script:|
708706
id

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp