Skip to content

Replace ci-linux-incremental by ci-linux #40448

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ concurrency:
#
# each build Sage:
#
# - incrementally starting from a Docker image that ci-linux.yml
# - incrementally starting from a Docker image that ci-distro.yml
# publishes on each development release to ghcr.io,
# - orchestrated using a tox-generated Dockerfile,
# - using https://github.com/marketplace/actions/build-and-push-docker-images,
Expand Down
24 changes: 19 additions & 5 deletions .github/workflows/ci-linux.yml → .github/workflows/ci-distro.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CI Linux
name: CI (Distro)

## This GitHub Actions workflow runs SAGE_ROOT/tox.ini with selected environments,
## whenever a tag is pushed.
## This GitHub Actions workflow builds and tests sage with selected environments,
## whenever a tag is pushed or a pull request changes relevant build files.
##
## It builds and checks some sage spkgs as defined in TARGETS.
##
Expand All @@ -14,9 +14,18 @@ name: CI Linux
## 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:
pull_request:
paths:
- '.github/workflows/ci-distro.yml'
- 'build/pkgs/**'
- 'configure.ac'
- '!build/pkgs/sage_conf/**'
- '!build/pkgs/sage_docbuild/**'
- '!build/pkgs/sage_setup/**'
- '!build/pkgs/sage_sws2rst/**'
- '!build/pkgs/sagelib/**'
- '!build/pkgs/sagemath_*/**'
push:
tags:
- '*'
Expand All @@ -31,6 +40,11 @@ env:
permissions:
packages: write

concurrency:
# Cancel previous runs of this workflow for the same branch
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
minimal:
if: ${{ success() || failure() }}
Expand Down
107 changes: 0 additions & 107 deletions .github/workflows/ci-linux-incremental.yml

This file was deleted.

2 changes: 1 addition & 1 deletion src/doc/en/developer/portability_testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ on every release tag.

This is defined in the files

- :sage_root:`.github/workflows/ci-linux.yml`
- :sage_root:`.github/workflows/ci-distro.yml`
(which calls :sage_root:`.github/workflows/docker.yml`) and

- :sage_root:`.github/workflows/ci-macos.yml`
Expand Down
Loading