File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed
Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 1919 python-version : [3.8]
2020
2121 steps :
22- - uses : actions/checkout@v2
22+ - uses : actions/checkout@v4
2323
2424 - name : Set up Python ${{ matrix.python-version }}
2525 uses : actions/setup-python@v2
3030 shell : bash
3131 run : |
3232 python -m pip install wheel
33- python -m pip install --upgrade pip "conan<2 "
33+ python -m pip install --upgrade pip "conan"
3434 cmake -E make_directory ${{runner.workspace}}/build
3535
3636 - name : Configure CMake
4040 -DCMAKE_C_COMPILER=gcc
4141 -DCMAKE_BUILD_TYPE=$BUILD_TYPE
4242 -Dpython=False
43- -Dconan_deps=True
43+ -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=./cmake/conan_provider.cmake
4444
4545 - name : Build
4646 working-directory : ${{runner.workspace}}/build
Original file line number Diff line number Diff line change 1313 name : python source distribution
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : actions/checkout@v2
16+ - uses : actions/checkout@v4
1717 - name : Set up Python 3.8
1818 uses : actions/setup-python@v2
1919 with :
2222 - name : Install build packages and pytest
2323 run : |
2424 python -m pip install --upgrade pip wheel setuptools
25- python -m pip install "conan<2" scikit-build pytest cython numpy>=2
2625
2726 - name : Create sdist
2827 run : python setup.py sdist
3332 - name : run pytest
3433 run : pytest tests/test_pyssht.py
3534
36- - uses : actions/upload-artifact@v2
35+ - uses : actions/upload-artifact@v4
3736 if : ${{ startsWith(github.ref, 'refs/tags') }}
3837 with :
3938 path : ./dist/*.tar.gz
4847 python-version : [3.8]
4948
5049 steps :
51- - uses : actions/checkout@v2
50+ - uses : actions/checkout@v4
5251
5352 - uses : actions/setup-python@v2
5453 name : Install Python
5857 - name : Setup environment
5958 run : |
6059 python -m pip install --upgrade pip wheel
61- python -m pip install "conan<2 " pytest ducc0
60+ python -m pip install "conan" pytest ducc0
6261 conan profile new default --detect
6362
6463 - name : Build wheels
7069 - name : run pytests
7170 run : pytest tests
7271
73- - uses : actions/upload-artifact@v2
72+ - uses : actions/upload-artifact@v4
7473 if : ${{ startsWith(github.ref, 'refs/tags') }}
7574 with :
7675 path : ./dist/*.whl
You can’t perform that action at this time.
0 commit comments