Skip to content
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
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,13 @@ indent_size = 4
tab_width = 4
charset = utf-8
#trim_trailing_whitespace = true

# YAML config files
[*.{yml,yaml}]
indent_size = 2

# Shell scripts
[*.sh]
end_of_line = lf
[*.{cmd, bat}]
end_of_line = crlf
50 changes: 48 additions & 2 deletions .github/workflows/native_sanity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install numpy==1.21
python -m pip install numpy==1.22.*
python -m pip install riptable
working-directory: ${{ env.working-directory }}
- name: Create Cmake build directory
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install numpy==1.21
python -m pip install numpy==1.22.*
python -m pip install riptable
working-directory: ${{ env.working-directory }}
- name: Create Cmake build directory
Expand Down Expand Up @@ -208,3 +208,49 @@ jobs:
build/test/riptide_test/riptide_test
build/test/riptide_python_test/riptide_python_test
working-directory: ${{ env.working-directory }}

build-cmake-ubuntu-122:

runs-on: ${{ matrix.os }}
env:
working-directory: ./
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.10']

steps:
- uses: actions/checkout@v2
with:
submodules: recursive
# Set fetch-depth to 0 so all history is retrieved; this is needed so we get the git tags
# which we use for setting the package version (via setuptools-scm).
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install numpy==1.22.*
python -m pip install riptable
working-directory: ${{ env.working-directory }}
- name: Create Cmake build directory
run: |
cmake -E make_directory "build"
working-directory: ${{ env.working-directory }}
- name: Setup CMake Relase configuration
run: |
cmake -E chdir "build" cmake -DCMAKE_BUILD_TYPE=Release "-DRIPTIDE_PYTHON_VER=${{ matrix.python-version }}" ../
working-directory: ${{ env.working-directory }}
- name: Build Release via CMake
run: |
cmake --build "build" --config Release
working-directory: ${{ env.working-directory }}
- name: Run the Release tests and benchmarks
run: |
build/bench/riptide_bench/riptide_bench/riptide_bench
build/test/riptide_test/riptide_test
build/test/riptide_python_test/riptide_python_test
working-directory: ${{ env.working-directory }}
12 changes: 9 additions & 3 deletions .github/workflows/python_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-2019]
python-version: [3.8, 3.9, '3.10']
numpy-version: [1.21]
numpy-version: [1.21, 1.22]
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -33,10 +33,13 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
# NOTE: For numpy 1.22, there was a regression in ufunc handling in numpy 1.22.0. It was fixed in 1.22.3,
# so let `pip` install the latest revision of each minor version being tested. This is also closer to
# the behavior of the conda-based builds.
run: |
python -m pip install --upgrade pip
python -m pip install setuptools-scm wheel
python -m pip install numpy==${{ matrix.numpy-version }}
python -m pip install numpy==${{ matrix.numpy-version }}.*
- name: Build with python setup.py
run: |
python setup.py build --force
Expand Down Expand Up @@ -123,9 +126,12 @@ jobs:
zips: [
{ python: '3.8', numpy: '1.20' },
{ python: '3.8', numpy: '1.21' },
{ python: '3.8', numpy: '1.22' },
{ python: '3.9', numpy: '1.20' },
{ python: '3.9', numpy: '1.21' },
{ python: '3.10', numpy: '1.21' }
{ python: '3.9', numpy: '1.22' },
{ python: '3.10', numpy: '1.21' },
{ python: '3.10', numpy: '1.22' }
]
env:
python_version: 3.9
Expand Down