Skip to content
Closed
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
315 changes: 0 additions & 315 deletions .github/workflows/build.yml

This file was deleted.

44 changes: 27 additions & 17 deletions .github/workflows/ci-meson.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,27 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ['ubuntu', 'macos', 'windows']
python: ['3.11', '3.12']
os: ['ubuntu']
python: ['3.12']
extra_param: [1, 2, 3, 4, 5, 6, 7] # just to spawn a bunch of jobs
tests: ['all']
editable:
${{ fromJson(github.event_name == 'pull_request' && '[false]' || '[false, true]') }}
include:
- os: 'ubuntu'
python: '3.12'
tests: 'new'
# one additional editable run in pull_request, this has no effect if not pull_request
- os: 'ubuntu'
python: '3.12'
editable: true
tests: 'all'
- os: windows
python: '3.13'
tests: 'all'
editable: [false]

steps:
- name: Maximize build disk space
shell: bash -l {0}
run: |
for x in /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL; do
echo "Removing $x..."
cd "$x"
perl -e 'for(<*>){((stat)[9]<(unlink))}' # https://unix.stackexchange.com/a/79656/
echo "... done"
df
done
echo "Removed all"
df


- uses: actions/checkout@v4

- name: Merge CI fixes from sagemath/sage
Expand Down Expand Up @@ -168,9 +170,13 @@ jobs:
pytest --doctest-ignore-import-errors --doctest -rfEs -s src || true
else
pytest -rfEs -s src
./sage -t ${{ matrix.tests == 'all' && '--all' || '--new --long' }} -p4 --format github
CYSIGNALS_CRASH_QUIET=1 ./sage -t ${{ matrix.tests == 'all' && '--all' || '--new --long' }} -p4 --format github
fi

- name: List core dumps
if: always()
run: coredumpctl list

- name: Check that all modules can be imported
shell: bash -l {0}
run: |
Expand All @@ -181,6 +187,10 @@ jobs:
# This can be ignored.
pytest -qq --doctest --collect-only || true

- name: Setup tmate session
if: failure()
uses: mxschmitt/action-tmate@v3

- name: Upload log
uses: actions/[email protected]
if: failure()
Expand Down
2 changes: 0 additions & 2 deletions src/sage/libs/singular/function.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1801,9 +1801,7 @@ def lib(name):
si_opt_2 &= ~Sy_bit(V_REDEFINE)

cdef char* cname = omStrDup(str_to_bytes(name))
sig_on()
cdef bint failure = iiLibCmd(cname, 1, 1, 1)
sig_off()
si_opt_2 = vv

if failure:
Expand Down
Loading
Loading