Skip to content

Bump one CI config to ubuntu-24.04 #482

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

Merged
merged 15 commits into from
Jul 14, 2025
Merged
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
52 changes: 32 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,100 +12,102 @@ jobs:
WITH_BFD: yes
PYTHON_VERSION: '3.12'
TEST_SYMPY: yes
OS: ubuntu-20.04
OS: ubuntu-22.04
CC: gcc

- BUILD_TYPE: Debug
WITH_BFD: yes
PYTHON_VERSION: '3.11'
TEST_SYMPY: yes
OS: ubuntu-20.04
OS: ubuntu-22.04
CC: gcc

- BUILD_TYPE: Debug
WITH_BFD: yes
PYTHON_VERSION: '3.10'
TEST_SYMPY: yes
OS: ubuntu-20.04
OS: ubuntu-22.04
CC: gcc

- BUILD_TYPE: Debug
WITH_BFD: yes
PYTHON_VERSION: '3.9'
TEST_SYMPY: yes
OS: ubuntu-20.04
OS: ubuntu-22.04
CC: gcc

- BUILD_TYPE: Release
PYTHON_VERSION: '3.13'
BUILD_SHARED_LIBS: yes
OS: ubuntu-20.04
OS: ubuntu-22.04
CC: gcc

- BUILD_TYPE: Release
PYTHON_VERSION: '3.13'
WITH_MPFR: yes
INTEGER_CLASS: gmpxx
WITH_NUMPY: no
OS: ubuntu-20.04
OS: ubuntu-22.04
CC: gcc

- BUILD_TYPE: Release
PYTHON_VERSION: '3.13'
WITH_MPC: yes
OS: ubuntu-20.04
OS: ubuntu-22.04
CC: gcc

- BUILD_TYPE: Release
WITH_MPFR: yes
PYTHON_VERSION: '3.13'
OS: ubuntu-20.04
OS: ubuntu-22.04
CC: gcc

- BUILD_TYPE: Release
PYTHON_VERSION: '3.9'
WITH_MPC: yes
OS: ubuntu-20.04
OS: ubuntu-22.04
CC: gcc

- BUILD_TYPE: Release
PYTHON_VERSION: '3.9'
WITH_MPC: yes
INTEGER_CLASS: flint
WITH_FLINT: yes
OS: ubuntu-20.04
OS: ubuntu-22.04
CC: gcc

#- BUILD_TYPE: Debug
# PYTHON_VERSION: '3.9'
# WITH_BFD: yes
# WITH_PIRANHA: yes
# OS: ubuntu-20.04
# OS: ubuntu-22.04
# CC: gcc

- BUILD_TYPE: Debug
PYTHON_VERSION: '3.13'
WITH_BFD: yes
BUILD_SHARED_LIBS: yes
OS: ubuntu-20.04
OS: ubuntu-22.04
CC: clang

- BUILD_TYPE: Release
PYTHON_VERSION: '3.13'
WITH_NUMPY: yes
OS: ubuntu-20.04
OS: ubuntu-22.04
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
WITH_LATEST_GCC: 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.13'
Expand Down Expand Up @@ -133,7 +135,7 @@ jobs:

- BUILD_TYPE: Release
PYTHON_VERSION: '3.11'
OS: ubuntu-20.04
OS: ubuntu-22.04
WITH_MPC: yes
WITH_MPFR: yes
WITH_FLINT: yes
Expand All @@ -145,11 +147,21 @@ jobs:
CC: gcc

steps:

- uses: conda-incubator/setup-miniconda@v3
if: matrix.MSYS_ENV == ''
with:
activate-environment: symengine
channel-priority: strict
architecture: x86_64
channels: conda-forge
conda-remove-defaults: "true"

- name: Checkout code
uses: actions/checkout@v4

- name: Build and test symengine
shell: bash
shell: bash -el {0}
run: |
source bin/test_symengine_unix.sh
env:
Expand Down
3 changes: 1 addition & 2 deletions bin/install_travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,4 @@ if [[ "${WITH_SYMPY}" != "no" ]]; then
pip install sympy;
fi

conda clean --all
source activate $our_install_dir;
conda clean --all
2 changes: 1 addition & 1 deletion bin/test_symengine_unix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cd ..

# Setup travis for C++ library
cd $SOURCE_DIR
source bin/test_symengine_unix.sh
source bin/test_symengine.sh

# Setup travis for Python wrappers
cd $PYTHON_SOURCE_DIR
Expand Down
2 changes: 1 addition & 1 deletion symengine_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
153b7e98f310bccaae586dab6b49284ccd5f4174
c9510fb4b5c30b84adb993573a51f2a9a38a4cfe
Loading