Updated SageMath version to 10.2.beta5 #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Linux | |
## This GitHub Actions workflow runs SAGE_ROOT/tox.ini with select environments, | |
## whenever a GitHub pull request is opened or synchronized in a repository | |
## where GitHub Actions are enabled. | |
## | |
## It builds and checks some sage spkgs as defined in TARGETS. | |
## | |
## A job succeeds if there is no error. | |
## | |
## The build is run with "make V=0", so the build logs of individual packages are suppressed. | |
## | |
## At the end, all package build logs that contain an error are printed out. | |
## | |
## After all jobs have finished (or are canceled) and a short delay, | |
## tar files of all logs are made available as "build artifacts". | |
#on: [push, pull_request] | |
on: | |
push: | |
tags: | |
- '*' | |
workflow_dispatch: | |
# Allow to run manually | |
env: | |
TARGETS_PRE: all-sage-local | |
TARGETS: build doc-html | |
TARGETS_OPTIONAL: ptest | |
permissions: | |
packages: write | |
jobs: | |
standard-pre: | |
uses: ./.github/workflows/docker.yml | |
with: | |
# Build from scratch | |
docker_targets: "with-system-packages configured with-targets-pre" | |
# FIXME: duplicated from env.TARGETS | |
targets_pre: all-sage-local | |
tox_packages_factors: >- | |
["standard"] | |
docker_push_repository: ghcr.io/${{ github.repository }}/ | |
standard: | |
if: ${{ success() || failure() }} | |
needs: [standard-pre] | |
uses: ./.github/workflows/docker.yml | |
with: | |
# Build incrementally from previous stage (pre) | |
incremental: true | |
free_disk_space: true | |
from_docker_repository: ghcr.io/${{ github.repository }}/ | |
from_docker_target: "with-targets-pre" | |
docker_targets: "with-targets with-targets-optional" | |
# FIXME: duplicated from env.TARGETS | |
targets: build doc-html | |
targets_optional: ptest | |
tox_packages_factors: >- | |
["standard"] | |
docker_push_repository: ghcr.io/${{ github.repository }}/ | |
standard-sitepackages: | |
if: ${{ success() || failure() }} | |
needs: [standard-pre] | |
uses: ./.github/workflows/docker.yml | |
with: | |
# Build incrementally from previous stage (pre) | |
incremental: true | |
free_disk_space: true | |
from_docker_repository: ghcr.io/${{ github.repository }}/ | |
from_docker_target: "with-targets-pre" | |
docker_targets: "with-targets with-targets-optional" | |
# FIXME: duplicated from env.TARGETS | |
targets: build doc-html | |
targets_optional: ptest | |
tox_packages_factors: >- | |
["standard-sitepackages"] | |
# Only test systems with a usable system python (>= 3.9) | |
tox_system_factors: >- | |
["ubuntu-jammy", | |
"ubuntu-lunar", | |
"ubuntu-mantic", | |
"debian-bullseye", | |
"debian-bookworm", | |
"debian-trixie", | |
"debian-sid", | |
"linuxmint-21", | |
"linuxmint-21.1", | |
"linuxmint-21.2", | |
"fedora-33", | |
"fedora-34", | |
"fedora-35", | |
"fedora-36", | |
"fedora-37", | |
"fedora-38", | |
"fedora-39", | |
"centos-stream-8-python3.9", | |
"centos-stream-9-python3.9", | |
"almalinux-8-python3.9", | |
"gentoo-python3.10", | |
"gentoo-python3.11", | |
"archlinux-latest", | |
"opensuse-15.4-gcc_11-python3.10", | |
"opensuse-15.5-gcc_11-python3.11", | |
"opensuse-tumbleweed-python3.10", | |
"opensuse-tumbleweed", | |
"debian-bullseye-i386"] | |
docker_push_repository: ghcr.io/${{ github.repository }}/ | |
max_parallel: 10 | |
minimal-pre: | |
if: ${{ success() || failure() }} | |
# It does not really "need" it. | |
needs: [standard] | |
uses: ./.github/workflows/docker.yml | |
with: | |
# Build from scratch | |
docker_targets: "with-system-packages configured with-targets-pre" | |
# FIXME: duplicated from env.TARGETS | |
targets_pre: all-sage-local | |
tox_packages_factors: >- | |
["minimal"] | |
docker_push_repository: ghcr.io/${{ github.repository }}/ | |
minimal: | |
if: ${{ success() || failure() }} | |
needs: [minimal-pre] | |
uses: ./.github/workflows/docker.yml | |
with: | |
# Build incrementally from previous stage (pre) | |
incremental: true | |
free_disk_space: true | |
from_docker_repository: ghcr.io/${{ github.repository }}/ | |
from_docker_target: "with-targets-pre" | |
docker_targets: "with-targets with-targets-optional" | |
# FIXME: duplicated from env.TARGETS | |
targets: build doc-html | |
targets_optional: ptest | |
tox_packages_factors: >- | |
["minimal"] | |
docker_push_repository: ghcr.io/${{ github.repository }}/ | |
maximal-pre: | |
if: ${{ success() || failure() }} | |
needs: [minimal] | |
uses: ./.github/workflows/docker.yml | |
with: | |
free_disk_space: true | |
# Build from scratch | |
docker_targets: "with-system-packages configured with-targets-pre" | |
# FIXME: duplicated from env.TARGETS | |
targets_pre: all-sage-local | |
tox_packages_factors: >- | |
["maximal"] | |
docker_push_repository: ghcr.io/${{ github.repository }}/ | |
optional-0-o: | |
if: ${{ success() || failure() }} | |
needs: [maximal-pre] | |
uses: ./.github/workflows/docker.yml | |
with: | |
incremental: true | |
free_disk_space: true | |
from_docker_repository: ghcr.io/${{ github.repository }}/ | |
from_docker_target: "with-targets-pre" | |
tox_packages_factors: >- | |
["maximal"] | |
docker_targets: "with-targets-optional" | |
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-o]))' | |
optional-p-z: | |
if: ${{ success() || failure() }} | |
needs: [optional-0-o] | |
uses: ./.github/workflows/docker.yml | |
with: | |
incremental: true | |
free_disk_space: true | |
from_docker_repository: ghcr.io/${{ github.repository }}/ | |
from_docker_target: "with-targets-pre" | |
tox_packages_factors: >- | |
["maximal"] | |
docker_targets: "with-targets-optional" | |
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]))' | |
experimental-0-o: | |
if: ${{ success() || failure() }} | |
needs: [optional-p-z] | |
uses: ./.github/workflows/docker.yml | |
with: | |
incremental: true | |
free_disk_space: true | |
from_docker_repository: ghcr.io/${{ github.repository }}/ | |
from_docker_target: "with-targets-pre" | |
tox_packages_factors: >- | |
["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-o]))' | |
experimental-p-z: | |
if: ${{ success() || failure() }} | |
needs: [experimental-0-o] | |
uses: ./.github/workflows/docker.yml | |
with: | |
incremental: true | |
free_disk_space: true | |
from_docker_repository: ghcr.io/${{ github.repository }}/ | |
from_docker_target: "with-targets-pre" | |
tox_packages_factors: >- | |
["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]))' |