Skip to content

Commit dcaf556

Browse files
author
Release Manager
committed
gh-36430: CI Linux: Run `ubuntu-focal-standard` without waiting for other platforms This is so that the image for "build.yml" etc. is ready faster. <!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes #1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes #12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [x] The title is concise, informative, and self-explanatory. - [ ] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - #12345: short description why this is a dependency - #34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: #36430 Reported by: Matthias Köppe Reviewer(s): Kwankyu Lee
2 parents d2a38bf + c8c5526 commit dcaf556

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/ci-linux.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,46 @@ permissions:
3434

3535
jobs:
3636

37+
# standard-pre for the default platform (used by build.yml etc.)
38+
default-pre:
39+
uses: ./.github/workflows/docker.yml
40+
with:
41+
# Build from scratch
42+
docker_targets: "with-system-packages configured with-targets-pre"
43+
# FIXME: duplicated from env.TARGETS
44+
targets_pre: all-sage-local
45+
tox_system_factors: >-
46+
["ubuntu-focal"]
47+
tox_packages_factors: >-
48+
["standard"]
49+
docker_push_repository: ghcr.io/${{ github.repository }}/
50+
51+
# standard for the default platform (used by build.yml etc.)
52+
default:
53+
if: ${{ success() || failure() }}
54+
needs: [default-pre]
55+
uses: ./.github/workflows/docker.yml
56+
with:
57+
# Build incrementally from previous stage (pre)
58+
incremental: true
59+
free_disk_space: true
60+
from_docker_repository: ghcr.io/${{ github.repository }}/
61+
from_docker_target: "with-targets-pre"
62+
docker_targets: "with-targets with-targets-optional"
63+
# FIXME: duplicated from env.TARGETS
64+
targets: build doc-html
65+
targets_optional: ptest
66+
tox_system_factors: >-
67+
["ubuntu-focal"]
68+
tox_packages_factors: >-
69+
["standard"]
70+
docker_push_repository: ghcr.io/${{ github.repository }}/
71+
72+
# All platforms. This duplicates the default platform, but why not,
73+
# it makes it more robust regarding random timeouts.
74+
3775
standard-pre:
76+
if: ${{ success() || failure() }}
3877
uses: ./.github/workflows/docker.yml
3978
with:
4079
# Build from scratch

0 commit comments

Comments
 (0)