Add a COMPILER_VERSION_2025_OR_LATER
to be able to run dpnp
with both 2024.2 and 2025.0 versions of the compiler/MKL
#4466
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pre-commit | |
on: | |
pull_request: | |
push: | |
branches: [master] | |
permissions: read-all | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up clang-format | |
run: | | |
sudo apt-get install -y clang-format-12 | |
sudo unlink /usr/bin/clang-format | |
sudo ln -s /usr/bin/clang-format-12 /usr/bin/clang-format | |
clang-format --version | |
- name: Set up pip packages | |
uses: BSFishy/pip-action@8f2d471d809dc20b6ada98c91910b6ae6243f318 # v1 | |
with: | |
packages: | | |
codespell | |
pylint | |
- name: Checkout DPNP repo | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Set up python | |
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 | |
with: | |
python-version: '3.12' | |
- name: Run pre-commit checks | |
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 |