Skip to content

Merge changes for nightly tests in CI #1209

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 40 commits into from
Oct 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
885f91a
dpnp_take_c uses SYCL kernel, no need to use no_sycl parameter in ada…
oleksandr-pavlyk Aug 11, 2022
7220d87
Change to DPNPC_adapter to set/use events upon which deallocation mus…
oleksandr-pavlyk Aug 11, 2022
37386bb
Used DPNPC_ptr_adapter::depends_on
oleksandr-pavlyk Aug 14, 2022
16a7632
Get rid of "Improper Null Termination" issue
antonwolfy Aug 17, 2022
d839ea1
implemented PR feedback
oleksandr-pavlyk Aug 17, 2022
cfc9b40
Merge pull request #1167 from IntelPython/fix-take
oleksandr-pavlyk Aug 18, 2022
818dc82
Reworked solution with a pointer on void
antonwolfy Aug 18, 2022
a8da387
Merge branch 'master' into antonwolfy/checkmarx_fix
antonwolfy Aug 18, 2022
b29d957
Update dpnp/backend/kernels/dpnp_krnl_random.cpp
antonwolfy Aug 18, 2022
629d0e0
Update dpnp/backend/kernels/dpnp_krnl_random.cpp
antonwolfy Aug 18, 2022
ce6d880
Merge pull request #1168 from IntelPython/antonwolfy/checkmarx_fix
antonwolfy Aug 19, 2022
2fed06a
Skip for two more tests till waiting fix (#1171)
xaleryb Aug 24, 2022
9b14f0c
dpnp_take failed on Windows due to memory corruption (#1172)
antonwolfy Aug 30, 2022
59ef493
Merge branch 'gold/2021'
antonwolfy Aug 30, 2022
c91f912
Add workflow for Win
antonwolfy Sep 8, 2022
ac0f6f6
Merge pull request #1176 from antonwolfy/build_and_upload_for_win
oleksandr-pavlyk Sep 8, 2022
31144c6
Attempt to fix workflow
oleksandr-pavlyk Sep 8, 2022
ee65713
attempt to fix upload steps of the workflow on Linux
oleksandr-pavlyk Sep 8, 2022
26d190c
Merge pull request #1177 from IntelPython/finess-conda-package
oleksandr-pavlyk Sep 8, 2022
2ea4aac
Another attempt to fix upload step of conda-package workflow
oleksandr-pavlyk Sep 9, 2022
ac79e9f
Set default shell in upload actions (#1180)
antonwolfy Sep 9, 2022
64478ae
Use pin_compatible for run-time dependency generation on numpy, restr…
oleksandr-pavlyk Sep 9, 2022
5f87d3a
Merge pull request #1178 from IntelPython/use-variant
oleksandr-pavlyk Sep 9, 2022
bd1a414
Reorder channels in conda-build (#1182)
antonwolfy Sep 10, 2022
3be4b2e
Add tests running as a part of github actions (#1184)
antonwolfy Sep 20, 2022
614c829
[Build] setuptools 63.4.1 breaks build for Windows (#1185)
antonwolfy Sep 21, 2022
e3e04c7
Add extra information on how to build dpdnp from source.
Sep 21, 2022
8b44b4a
Merge pull request #1188 from IntelPython/update/readme
oleksandr-pavlyk Sep 21, 2022
efa1a19
Fix import dpnp on Win & python 3.10 (#1189)
antonwolfy Sep 29, 2022
1d19119
Merge branch 'gold/2021' into master
antonwolfy Sep 29, 2022
da21159
Missing path towards TBB DLLs on Windows (#1195)
antonwolfy Oct 6, 2022
63ff524
Fix missing support of compute follows data in dpnp.erf (#1194)
antonwolfy Oct 7, 2022
9830f99
Fix github action for building docs (#1191)
antonwolfy Oct 7, 2022
95d47fd
Setting version to 0.10.2 (#1196)
antonwolfy Oct 10, 2022
42ec3a2
Merge branch 'gold/2021' into master
antonwolfy Oct 10, 2022
cfb62a6
Test runs to update to node 16 (#1198)
antonwolfy Oct 17, 2022
a718039
Align normalize_queue_device call with CFD (#1200)
antonwolfy Oct 17, 2022
35e28a4
Enable Compute Follows Data in Cython in fft and linalg (#1132)
LukichevaPolina Oct 17, 2022
384a4ba
update numpy restriction by adding numpy 1.22 (#1207)
ekomarova Oct 19, 2022
78c4b8b
Get rid of env var which handles dep on dpctl.tensor (#1205)
antonwolfy Oct 20, 2022
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
70 changes: 45 additions & 25 deletions .github/workflows/build-sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,90 +3,110 @@ on:
push:
branches:
- master
pull_request:

jobs:
build-and-deploy:
name: Build and Deploy Docs

runs-on: ubuntu-20.04

defaults:
run:
shell: bash -l {0}

env:
python-ver: '3.9'

steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.6.0
uses: styfle/cancel-workflow-action@0.11.0
with:
access_token: ${{ github.token }}

- name: Install Intel repository
run: |
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
sudo add-apt-repository "deb https://apt.repos.intel.com/oneapi all main"
sudo apt-get update

- name: Update libstdc++-dev
run: |
sudo apt remove -y gcc-7 g++-7 gcc-8 g++-8 gcc-10 g++-10
sudo apt remove -y libstdc++-10-dev
sudo apt autoremove
sudo apt install --reinstall -y gcc-9 g++-9 libstdc++-9-dev

- name: Install Intel OneAPI
run: |
sudo apt-get install intel-oneapi-mkl \
intel-oneapi-mkl-devel \
intel-oneapi-dpcpp-cpp-compiler

# https://github.com/marketplace/actions/checkout
- name: Install nvidia-cuda support drivers
run: |
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install -y libnvidia-gl-450
sudo apt-get install -y nvidia-cuda-toolkit clinfo

- name: Checkout repo
uses: actions/checkout@v2
uses: actions/[email protected]

# https://github.com/marketplace/actions/setup-miniconda
- name: Setup miniconda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v2.1.1
with:
activate-environment: dpnp
python-version: 3.8
channels: intel,conda-forge
auto-activate-base: false
- name: Conda info
shell: bash -l {0}
run: |
conda info
conda list
auto-update-conda: true
python-version: ${{ env.python-ver }}
miniconda-version: 'latest'
activate-environment: 'docs'
channels: intel, conda-forge

- name: Install sphinx dependencies
shell: bash -l {0}
run: |
conda install sphinx sphinx_rtd_theme
run: conda install sphinx sphinx_rtd_theme

- name: Install dpnp dependencies
shell: bash -l {0}
run: |
conda install dpctl mkl-devel-dpcpp tbb-devel dpcpp_linux-64 cmake=3.19 cython pytest \
conda install dpctl mkl-devel-dpcpp tbb-devel dpcpp_linux-64 cmake cython pytest \
-c dppy/label/dev -c intel -c conda-forge

- name: Install cuPy dependencies
shell: bash -l {0}
run: conda install -c conda-forge cupy cudatoolkit=10.0

- name: Conda info
run: |
conda install -c conda-forge cupy cudatoolkit=10.0
conda info
conda list

- name: Build library
shell: bash -l {0}
run: |
DPLROOT=/opt/intel/oneapi/dpl/latest python setup.py build_clib
CC=dpcpp python setup.py build_ext --inplace
python setup.py develop

- name: Build docs
shell: bash -l {0}
run: |
make html
run: make html
working-directory: doc

# https://github.com/marketplace/actions/doxygen-action
- name: Build backend docs
uses: mattnotmitt/doxygen-action@v1
uses: mattnotmitt/doxygen-action@v1.9.4
with:
working-directory: 'dpnp/backend/doc'

- name: Copy backend docs
run: cp -r dpnp/backend/doc/html doc/_build/html/backend_doc

# https://github.com/marketplace/actions/github-pages-action
- name: Deploy docs
uses: peaceiris/actions-gh-pages@v3
if: |
!github.event.pull_request.head.repo.fork &&
(github.ref == 'refs/heads/master' || (startsWith(github.ref, 'refs/heads/release') == true) || github.event_name == 'push' && contains(github.ref, 'refs/tags/'))
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: doc/_build/html/
Loading