diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml index 7c0d22118c0..0e8a028b6a1 100644 --- a/.github/workflows/ci-linux.yml +++ b/.github/workflows/ci-linux.yml @@ -64,9 +64,7 @@ jobs: tox_packages_factors: >- ["standard"] docker_push_repository: ghcr.io/${{ github.repository }}/ - # Make sure that all "standard-pre" jobs can start simultaneously, - # so that runners are available by the time that "default" starts. - max_parallel: 50 + max_parallel: 15 standard: if: ${{ success() || failure() }} @@ -85,9 +83,7 @@ jobs: tox_packages_factors: >- ["standard"] docker_push_repository: ghcr.io/${{ github.repository }}/ - # Reduce from 30 to 20 because it runs in parallel with 'standard-sitepackages' - # and 'minimal-pre' below - max_parallel: 20 + max_parallel: 12 standard-sitepackages: if: ${{ success() || failure() }} @@ -149,9 +145,7 @@ jobs: tox_packages_factors: >- ["minimal"] docker_push_repository: ghcr.io/${{ github.repository }}/ - # Reduced from 30 because it may run in parallel with 'standard' and 'standard-sitepackages' above. - # Calibrated for clogging the job pipeline until the "default" job has finished. - max_parallel: 24 + max_parallel: 10 minimal: if: ${{ success() || failure() }} @@ -170,7 +164,7 @@ jobs: tox_packages_factors: >- ["minimal"] docker_push_repository: ghcr.io/${{ github.repository }}/ - max_parallel: 24 + max_parallel: 10 maximal-pre: if: ${{ success() || failure() }} @@ -185,6 +179,7 @@ jobs: tox_packages_factors: >- ["maximal"] docker_push_repository: ghcr.io/${{ github.repository }}/ + max_parallel: 10 optional-0-o: if: ${{ success() || failure() }} @@ -200,7 +195,7 @@ jobs: docker_targets: "with-targets-optional" # [0-9a-o] excludes _, in particular package _develop targets_optional: '$(echo $(export PATH=build/bin:$PATH && sage-package list :optional: --has-file "spkg-install.in|spkg-install|requirements.txt" --no-file "huge|has_nonfree_dependencies" | grep -v sagemath_doc | grep ^[0-9a-o]))' - + max_parallel: 10 optional-p-z: if: ${{ success() || failure() }} @@ -216,6 +211,7 @@ jobs: docker_targets: "with-targets-optional" # [0-9a-o] excludes _, in particular package _develop targets_optional: '$(echo $(export PATH=build/bin:$PATH && sage-package list :optional: --has-file "spkg-install.in|spkg-install|requirements.txt" --no-file "huge|has_nonfree_dependencies" | grep -v sagemath_doc | grep ^[p-z]))' + max_parallel: 10 experimental-0-o: if: ${{ success() || failure() }} @@ -230,6 +226,7 @@ jobs: ["maximal"] docker_targets: "with-targets-optional" targets_optional: '$(echo $(export PATH=build/bin:$PATH && sage-package list :experimental: --has-file "spkg-install.in|spkg-install|requirements.txt" --no-file "huge|has_nonfree_dependencies" | grep -v sagemath_doc | grep ^[0-9a-o]))' + max_parallel: 10 experimental-p-z: if: ${{ success() || failure() }} @@ -244,3 +241,4 @@ jobs: ["maximal"] docker_targets: "with-targets-optional" targets_optional: '$(echo $(export PATH=build/bin:$PATH && sage-package list :experimental: --has-file "spkg-install.in|spkg-install|requirements.txt" --no-file "huge|has_nonfree_dependencies" | grep -v sagemath_doc | grep ^[p-z]))' + max_parallel: 10