forked from sagemath/sage
-
Notifications
You must be signed in to change notification settings - Fork 0
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 win-kill
- Loading branch information
Showing
1,165 changed files
with
21,820 additions
and
20,567 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
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,23 @@ | ||
name: Trigger Changelog Generation | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
trigger-website-repo-workflow: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Trigger Generate Changelog Workflow in website repo | ||
if: "!github.event.release.prerelease" | ||
env: | ||
GITHUB_PAT: ${{ secrets.WEBSITE_ACCESS_TOKEN }} | ||
RELEASE_TAG: ${{ github.event.release.tag_name }} | ||
run: | | ||
curl -L \ | ||
-X POST \ | ||
-H "Accept: application/vnd.github+json" \ | ||
-H "Authorization: Bearer $GITHUB_PAT" \ | ||
-H "X-GitHub-Api-Version: 2022-11-28" \ | ||
https://api.github.com/repos/sagemath/website/actions/workflows/generate_changelog.yml/dispatches \ | ||
-d '{"ref":"master","inputs":{"release_tag":"'"$RELEASE_TAG"'"}}' |
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 |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
os: [ubuntu] | ||
python: ['3.9', '3.10', '3.11'] | ||
python: ['3.11', '3.12'] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -47,14 +47,14 @@ jobs: | |
key: ${{ runner.os }}-meson-${{ matrix.python }} | ||
|
||
- name: Setup Conda environment | ||
uses: conda-incubator/setup-miniconda@v2 | ||
uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
miniforge-version: latest | ||
use-mamba: true | ||
channels: conda-forge | ||
channel-priority: true | ||
activate-environment: sage | ||
activate-environment: sage-dev | ||
environment-file: environment-${{ matrix.python }}-${{ startsWith(matrix.os, 'macos') && (startsWith(runner.arch, 'ARM') && 'macos' || 'macos-x86_64') || 'linux' }}.yml | ||
|
||
- name: Print Conda environment | ||
|
@@ -69,11 +69,23 @@ jobs: | |
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" | ||
export CC="ccache $CC" | ||
export CXX="ccache $CXX" | ||
pip install --no-build-isolation --config-settings=builddir=builddir . -v | ||
# Use --no-deps and pip check below to verify that all necessary dependencies are installed via conda | ||
pip install --no-build-isolation --no-deps --config-settings=builddir=builddir . -v | ||
- name: Verify dependencies | ||
shell: bash -l {0} | ||
run: pip check | ||
|
||
- name: Test | ||
shell: bash -l {0} | ||
run: | | ||
# We don't install sage_setup, so don't try to test it | ||
rm -R ./src/sage_setup/ | ||
./sage -t --all -p4 | ||
- name: Upload log | ||
uses: actions/[email protected] | ||
if: failure() | ||
with: | ||
name: ${{ runner.os }}-meson-${{ matrix.python }}-log | ||
path: builddir/meson-logs/ |
This file was deleted.
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
Oops, something went wrong.