forked from sagemath/sage
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into t/30778/sage_doctest_control__exclude_doc…
…tests_in_files_from_non_installed_distributions
- Loading branch information
Showing
3,072 changed files
with
183,126 additions
and
68,427 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,27 @@ | ||
#!/usr/bin/env bash | ||
#!/bin/dash | ||
# to be run from $SAGE_ROOT, with arguments sage-local-${{ env.PREVIOUS_STAGES }}.tar | ||
|
||
if [ -z "$SAGE_LOCAL" ]; then | ||
SAGE_LOCAL=$(pwd)/local | ||
fi | ||
|
||
# Show all tar files | ||
ls -l $* | ||
|
||
# We specifically use the cygwin tar so that symlinks are saved/restored correctly on Windows. | ||
for a in $*; do | ||
echo Extracting $a | ||
tar xf $a | ||
(cd / && tar xf -) < $a | ||
rm -f $a | ||
done | ||
|
||
# Also get rid of the stages that were not extracted | ||
rm -f sage-local-*.tar | ||
|
||
# We set the installation records to the same mtime so that no rebuilds due to dependencies | ||
# among these packages are triggered. | ||
(cd local/var/lib/sage/installed/ && touch .dummy && touch --reference=.dummy *) | ||
(cd "$SAGE_LOCAL"/var/lib/sage/installed/ && touch .dummy && touch --reference=.dummy *) | ||
|
||
# Show what has been built already. | ||
ls -l local local/var/lib/sage/installed/ | ||
ls -l "$SAGE_LOCAL" "$SAGE_LOCAL"/var/lib/sage/installed/ | ||
df -h | ||
|
||
# Rebase! | ||
src/bin/sage-rebase.sh local | ||
exec src/bin/sage-rebase.sh --all "$SAGE_LOCAL" |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Prepare source distributions | ||
|
||
on: | ||
push: | ||
tags: | ||
# Match all release tags including beta, rc | ||
- '[0-9]+.[0-9]+' | ||
- '[0-9]+.[0-9]+.[0-9]+' | ||
- '[0-9]+.[0-9]+.beta[0-9]+' | ||
- '[0-9]+.[0-9]+.[0-9]+.beta[0-9]+' | ||
- '[0-9]+.[0-9]+.rc[0-9]+' | ||
- '[0-9]+.[0-9]+.[0-9]+.rc[0-9]+' | ||
|
||
workflow_dispatch: | ||
# Allow to run manually | ||
|
||
jobs: | ||
|
||
release_dist: | ||
|
||
# This job, in contrast to "dist" in tox.yml, | ||
# does not use "configure --enable-download-from-upstream-url". | ||
# | ||
# In this way, we check that all necessary package tarballs | ||
# have already been uploaded to the Sage server at the time | ||
# of pushing a release tag. | ||
# | ||
# It also uses "bootstrap -D", thus checking that the "configure" | ||
# tarball has been uploaded to the Sage server at the time | ||
# of pushing a release tag. | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install bootstrap prerequisites | ||
run: | | ||
sudo DEBIAN_FRONTEND=noninteractive apt-get update | ||
sudo DEBIAN_FRONTEND=noninteractive apt-get install $(build/bin/sage-get-system-packages debian _bootstrap) | ||
- name: make dist | ||
run: | | ||
./bootstrap -D && ./configure && make dist | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
path: "dist/*.tar.gz" | ||
name: release_dist |
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
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
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
Oops, something went wrong.