Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
d212bc3
Added linux CI with GHA
JohanMabille Jan 16, 2024
522fbdb
Added Windows and OSX workflows
JohanMabille Jan 16, 2024
de18721
Merge pull request #298 from JohanMabille/ci
JohanMabille Jan 16, 2024
125c226
Removed old CI files
JohanMabille Jan 16, 2024
a0f1bb6
Merge pull request #300 from JohanMabille/cleanup
JohanMabille Jan 16, 2024
3df4fa5
Upgraded to pybind11 >2.6
JohanMabille Jan 29, 2024
c0915c3
Merge pull request #303 from JohanMabille/pybind11
JohanMabille Jan 29, 2024
ef601e8
Enabling CI on Windows
JohanMabille Jan 17, 2024
0632752
Disabled test leading to compilation error on Windows
JohanMabille Jan 29, 2024
1b9a159
Merge pull request #301 from JohanMabille/win_ci
JohanMabille Jan 29, 2024
9ddffd2
Updated CI badges in README.md
JohanMabille Jan 29, 2024
6cc16df
Upgraded to xtensor 0.25.0
JohanMabille Jan 29, 2024
d4dd6ce
Merge pull request #304 from JohanMabille/upgrade_xtensor
JohanMabille Jan 29, 2024
3ffb0e4
Use FindPython's numpy component to find numpy include directories
dokempf Nov 28, 2023
1b14707
Merge pull request #296 from dokempf/master
JohanMabille Jan 29, 2024
96b5cd9
only search for numpy when the numpy-include directory is not passed
JohanMabille Jan 29, 2024
6d2ace5
Merge pull request #305 from JohanMabille/wasm_fixes
JohanMabille Jan 29, 2024
a7c2005
Release 0.27.0
JohanMabille Jan 29, 2024
9b7cb5e
Temporary revert to find_numpy to fix the feedstock
JohanMabille Jan 30, 2024
701b312
Merge pull request #306 from JohanMabille/revert_find_numpy
JohanMabille Jan 30, 2024
021eeae
Test with NumPy 2.0
SylvainCorlay Aug 6, 2024
a7288ce
Merge pull request #314 from SylvainCorlay/test-numpy-2.0
SylvainCorlay Aug 6, 2024
d1c2110
Upgraded CI compilers (#319)
JohanMabille Apr 11, 2025
1c85ed8
Fixed RTD build (#320)
JohanMabille Apr 11, 2025
f555d12
update xtensor includes (#317)
danielcjacobs Apr 14, 2025
1d59c29
BLD: Add a pkgconfig file (#310)
HaoZeke Apr 14, 2025
520e4f8
Release 0.28.0
JohanMabille Apr 14, 2025
680c6a4
Update PyBind11 guard to 3.x release (#324)
serge-sans-paille Jul 31, 2025
afc1672
Fix pybind11 compatibility for version 3.x (#326)
serge-sans-paille Jul 31, 2025
2f59002
Upgraded to pybind11 3 (#325)
JohanMabille Jul 31, 2025
30ce883
Upgrade (#329)
JohanMabille Oct 10, 2025
53132f4
Add missing default constructor for stride iterator (#327)
serge-sans-paille Oct 10, 2025
f95746f
Install as arch-independent (#309)
matwey Oct 10, 2025
03e5da2
Reenable python tests (#315)
matwey Oct 10, 2025
7065f73
Release 0.29.0
JohanMabille Oct 10, 2025
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 0 additions & 35 deletions .appveyor.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .azure-pipelines/azure-pipelines-linux-clang.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .azure-pipelines/azure-pipelines-linux-gcc.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .azure-pipelines/azure-pipelines-osx.yml

This file was deleted.

68 changes: 0 additions & 68 deletions .azure-pipelines/unix-build.yml

This file was deleted.

104 changes: 104 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
name: Linux
on:
workflow_dispatch:
pull_request:
push:
branches: [master]
concurrency:
group: ${{ github.workflow }}-${{ github.job }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash -e -l {0}
jobs:
build:
runs-on: ubuntu-24.04
name: ${{ matrix.sys.compiler }} ${{ matrix.sys.version }}
strategy:
fail-fast: false
matrix:
sys:
- {compiler: gcc, version: '11'}
- {compiler: gcc, version: '12'}
- {compiler: gcc, version: '13'}
- {compiler: gcc, version: '14'}
- {compiler: clang, version: '17'}
- {compiler: clang, version: '18'}
- {compiler: clang, version: '19'}
- {compiler: clang, version: '20'}

steps:
- name: Install GCC
if: matrix.sys.compiler == 'gcc'
uses: egor-tensin/setup-gcc@v1
with:
version: ${{matrix.sys.version}}
platform: x64

- name: Install LLVM and Clang
if: matrix.sys.compiler == 'clang'
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh ${{matrix.sys.version}}
sudo apt-get install -y clang-tools-${{matrix.sys.version}}
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${{matrix.sys.version}} 200
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${{matrix.sys.version}} 200
sudo update-alternatives --install /usr/bin/clang-scan-deps clang-scan-deps /usr/bin/clang-scan-deps-${{matrix.sys.version}} 200
sudo update-alternatives --set clang /usr/bin/clang-${{matrix.sys.version}}
sudo update-alternatives --set clang++ /usr/bin/clang++-${{matrix.sys.version}}
sudo update-alternatives --set clang-scan-deps /usr/bin/clang-scan-deps-${{matrix.sys.version}}

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

- name: Set conda environment
uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment-dev.yml
cache-environment: true

- name: Configure using CMake
run: cmake -G Ninja -Bbuild -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DPYTHON_EXECUTABLE=`which python` -DDOWNLOAD_GTEST=ON $(Build.SourcesDirectory)

- name: Install
working-directory: build
run: cmake --install .

- name: Build
working-directory: build
run: cmake --build . --target test_xtensor_python --parallel 8

- name: Run tests (C++)
working-directory: build/test
run: ./test_xtensor_python

- name: Run tests (Python)
run: pytest -s

- name: Example - readme 1
working-directory: docs/source/examples/readme_example_1
run: |
cmake -Bbuild -DPython_EXECUTABLE=`which python`
cd build
cmake --build .
cp ../example.py .
python example.py

- name: Example - copy \'cast\'
working-directory: docs/source/examples/copy_cast
run: |
cmake -Bbuild -DPython_EXECUTABLE=`which python`
cd build
cmake --build .
cp ../example.py .
python example.py

- name: Example - SFINAE
working-directory: docs/source/examples/sfinae
run: |
cmake -Bbuild -DPython_EXECUTABLE=`which python`
cd build
cmake --build .
cp ../example.py .
python example.py
79 changes: 79 additions & 0 deletions .github/workflows/osx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: OSX
on:
workflow_dispatch:
pull_request:
push:
branches: [master]
concurrency:
group: ${{ github.workflow }}-${{ github.job }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash -e -l {0}
jobs:
build:
runs-on: macos-${{ matrix.os }}
name: macos-${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- 13
- 14
- 15

steps:

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

- name: Set conda environment
uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment-dev.yml
cache-environment: true

- name: Configure using CMake
run: cmake -G Ninja -Bbuild -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DPYTHON_EXECUTABLE=`which python` -DDOWNLOAD_GTEST=ON $(Build.SourcesDirectory)

- name: Install
working-directory: build
run: cmake --install .

- name: Build
working-directory: build
run: cmake --build . --target test_xtensor_python --parallel 8

- name: Run tests (C++)
working-directory: build/test
run: ./test_xtensor_python

- name: Run tests (Python)
run: pytest -s

- name: Example - readme 1
working-directory: docs/source/examples/readme_example_1
run: |
cmake -Bbuild -DPython_EXECUTABLE=`which python`
cd build
cmake --build .
cp ../example.py .
python example.py

- name: Example - copy \'cast\'
working-directory: docs/source/examples/copy_cast
run: |
cmake -Bbuild -DPython_EXECUTABLE=`which python`
cd build
cmake --build .
cp ../example.py .
python example.py

- name: Example - SFINAE
working-directory: docs/source/examples/sfinae
run: |
cmake -Bbuild -DPython_EXECUTABLE=`which python`
cd build
cmake --build .
cp ../example.py .
python example.py
Loading