Skip to content

Commit c5747b9

Browse files
author
Matthias Koeppe
committed
.github/workflows/ci-linux-incremental.yml: Test standard-sitepackages
1 parent f32bfeb commit c5747b9

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

.github/workflows/ci-linux-incremental.yml

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ jobs:
6060
echo "uninstall_targets=$(echo $(for a in '' ${{ steps.changed-packages.outputs.configures_all_changed_files }}; do echo $a | sed -E 's,build/pkgs/([_.a-z0-9]*)/spkg-configure[.]m4 *,\1-uninstall,'; done | sort -u))" >> $GITHUB_OUTPUT
6161
echo "build_targets=$(echo $(for a in '' ${{ steps.changed-packages.outputs.pkgs_all_changed_files }}; do echo $a | sed -E 's,-,_,g;s,(build/)?pkgs/([-_.a-z0-9]*)/[^ ]* *,\2-ensure,;'; done | sort -u))" >> $GITHUB_OUTPUT
6262
cat $GITHUB_OUTPUT
63-
minimal:
63+
64+
test:
6465
needs: [changed_files]
6566
if: |
6667
github.event_name != 'pull_request' ||
@@ -94,3 +95,38 @@ jobs:
9495
["standard",
9596
"minimal"]
9697
docker_push_repository: ghcr.io/${{ github.repository }}/
98+
99+
site:
100+
needs: [changed_files]
101+
if: |
102+
github.event_name != 'pull_request' ||
103+
((github.event.action != 'labeled' &&
104+
(contains(github.event.pull_request.labels.*.name, 'c: packages: standard') ||
105+
contains(github.event.pull_request.labels.*.name, 'c: packages: optional'))) ||
106+
(github.event.action == 'labeled' &&
107+
(github.event.label.name == 'c: packages: optional' ||
108+
github.event.label.name == 'c: packages: standard')))
109+
uses: ./.github/workflows/docker.yml
110+
with:
111+
# Build incrementally from published Docker image
112+
incremental: true
113+
free_disk_space: true
114+
from_docker_repository: ghcr.io/sagemath/sage/
115+
from_docker_target: "with-targets"
116+
from_docker_tag: "dev"
117+
docker_targets: "with-targets"
118+
targets: "${{needs.changed_files.outputs.uninstall_targets}} ${{needs.changed_files.outputs.build_targets}} build doc-html ptest"
119+
# Only test systems with a usable system python (>= 3.9)
120+
tox_system_factors: >-
121+
["ubuntu-jammy",
122+
"ubuntu-mantic",
123+
"debian-bullseye",
124+
"debian-bookworm",
125+
"fedora-33",
126+
"fedora-38",
127+
"gentoo-python3.11",
128+
"archlinux",
129+
"debian-bullseye-i386"]
130+
tox_packages_factors: >-
131+
["standard-sitepackages"]
132+
docker_push_repository: ghcr.io/${{ github.repository }}/

0 commit comments

Comments
 (0)