This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 't/30580/sage_setup__remove_import_time_dependency___set…
…up_requires___on__pkgconfig____numpy_' into t/30581/pyproject_toml
- Loading branch information
Showing
518 changed files
with
15,775 additions
and
13,770 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: Build & Test WSL | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
windows: | ||
runs-on: windows-latest | ||
name: Windows (using WSL) | ||
# Following https://trac.sagemath.org/ticket/25206#comment:63 | ||
steps: | ||
- name: Configure git | ||
run: git config --global core.symlinks true | ||
- uses: actions/checkout@v2 | ||
- name: Install Ubuntu 20.04 (in WSL) | ||
run: | | ||
(New-Object System.Net.WebClient).DownloadFile("https://aka.ms/wslubuntu2004", "Ubuntu.appx") | ||
Expand-Archive Ubuntu.appx | ||
Ubuntu\ubuntu2004.exe install --root | ||
- name: Install dependencies | ||
run: | | ||
Function ExtractPackages | ||
{ | ||
param($path) | ||
@(Get-Content $path | Where-Object { !$_.StartsWith("#") }) | ||
} | ||
$packages = Get-ChildItem build/pkgs -recurse -Include debian.txt, debian-bootstrap.txt | foreach-object { ExtractPackages $_.FullName } | sort -Unique | ||
# Add tox which is use to build | ||
$packages += 'tox' | ||
echo "Install the following packages:" @packages | ||
# Add deadsnakes so that libpython3.7-dev is found | ||
& wsl sudo add-apt-repository ppa:deadsnakes/ppa | ||
# Install | ||
& wsl sudo apt-get update -y | ||
& wsl sudo apt-get install -y @packages | ||
- name: Build | ||
run: wsl tox -e local -- SAGE_NUM_THREADS=4 build | ||
env: | ||
# WSL runs everything as root, so we have to enable build as root user | ||
EXTRA_CONFIGURE_ARGS: "--enable-build-as-root" | ||
# If make is invoked in parellel (i.e. with -jN where N > 1), then we sometimes run into errors for some reason | ||
# So keep N small in order to minimize the risk | ||
MAKE: "make -j2" | ||
WSLENV: EXTRA_CONFIGURE_ARGS:MAKE | ||
- name: Test | ||
run: wsl tox -e local -- SAGE_NUM_THREADS=4 ptest | ||
- name: Prepare logs artifact | ||
run: mkdir -p "artifacts/logs"; cp -r .tox/*/log "artifacts/logs" | ||
shell: bash | ||
if: always() | ||
- uses: actions/upload-artifact@v1 | ||
with: | ||
path: artifacts | ||
name: logs | ||
if: always() | ||
- name: Print out logs for immediate inspection | ||
# and markup the output with GitHub Actions logging commands | ||
run: .github/workflows/scan-logs.sh "artifacts/logs" | ||
shell: bash | ||
if: always() |
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 |
---|---|---|
|
@@ -201,7 +201,7 @@ jobs: | |
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Sage GitHub CI" | ||
SAGE_ROOT=. SAGE_SRC=./src src/bin/sage-update-version $(git describe) | ||
SAGE_ROOT=. SAGE_SRC=./src src/bin/sage-update-version $(git describe) || echo "(ignoring error)" | ||
- name: make dist | ||
run: | | ||
./configure && make 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"description": "Mirror of the Sage https://sagemath.org/ source tree", | ||
"license": "other-open", | ||
"title": "sagemath/sage: 9.2.rc2", | ||
"version": "9.2.rc2", | ||
"upload_type": "software", | ||
"publication_date": "2020-10-12", | ||
"creators": [ | ||
{ | ||
"affiliation": "SageMath.org", | ||
"name": "The SageMath Developers" | ||
} | ||
], | ||
"access_right": "open", | ||
"related_identifiers": [ | ||
{ | ||
"scheme": "url", | ||
"identifier": "https://github.com/sagemath/sage/tree/9.2.rc2", | ||
"relation": "isSupplementTo" | ||
}, | ||
{ | ||
"scheme": "doi", | ||
"identifier": "10.5281/zenodo.593563", | ||
"relation": "isVersionOf" | ||
} | ||
] | ||
} |
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,27 @@ | ||
{ | ||
"description": "Mirror of the Sage https://sagemath.org/ source tree", | ||
"license": "other-open", | ||
"title": "sagemath/sage: ${SAGE_VERSION}", | ||
"version": "${SAGE_VERSION}", | ||
"upload_type": "software", | ||
"publication_date": "${SAGE_RELEASE_DATE}", | ||
"creators": [ | ||
{ | ||
"affiliation": "SageMath.org", | ||
"name": "The SageMath Developers" | ||
} | ||
], | ||
"access_right": "open", | ||
"related_identifiers": [ | ||
{ | ||
"scheme": "url", | ||
"identifier": "https://github.com/sagemath/sage/tree/${SAGE_VERSION}", | ||
"relation": "isSupplementTo" | ||
}, | ||
{ | ||
"scheme": "doi", | ||
"identifier": "10.5281/zenodo.593563", | ||
"relation": "isVersionOf" | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -1 +1 @@ | ||
SageMath version 9.2.beta12, Release Date: 2020-09-06 | ||
SageMath version 9.2.rc2, Release Date: 2020-10-12 |
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.