Skip to content
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

Bump one CI config to ubuntu-24.04 #482

Open
wants to merge 7 commits into
base: master
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
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,16 @@ jobs:
CC: clang

- BUILD_TYPE: Debug
PYTHON_VERSION: '3.10'
PYTHON_VERSION: '3.12'
WITH_SYMPY: yes
WITH_LLVM: 14
WITH_LLVM: 18
WITH_SCIPY: yes
INTEGER_CLASS: 'boostmp'
PYTEST_ADDOPTS: '-k "not integer_nthroot"'
OS: ubuntu-22.04
EXTRA_APT_REPOSITORY: 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-14 main'
EXTRA_APT_PACKAGES: 'llvm-14'
OS: ubuntu-24.04
CC: gcc # ubuntu nobel uses gcc-13
#EXTRA_APT_REPOSITORY: 'deb http://apt.llvm.org/jammy/ llvm-toolchain-nobel-18 main'
EXTRA_APT_PACKAGES: 'llvm-18'

- BUILD_TYPE: Debug
PYTHON_VERSION: '3.8'
Expand Down
4 changes: 2 additions & 2 deletions bin/test_symengine_unix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ export PYTHON_SOURCE_DIR=`pwd`
export TEST_CPP="no"
export MAKEFLAGS="-j2"

git clone https://github.com/symengine/symengine symengine-cpp
git clone -b update-CI https://github.com/bjodah/symengine symengine-cpp
cd symengine-cpp
export SOURCE_DIR=`pwd`
git checkout `cat ../symengine_version.txt`
#git checkout `cat ../symengine_version.txt`
cd ..

# Setup travis for C++ library
Expand Down
2 changes: 1 addition & 1 deletion symengine/lib/symengine_wrapper.in.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ cdef class Basic(object):
return int(float(self))

def __long__(self):
return long(float(self))
return int(float(self))

def __complex__(self):
f = self.n(real=False)
Expand Down
Loading