[oneDPL][ranges] support size limit for output for merge algorithm #343
This file contains 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: oneDPL CI Docs | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: | |
- main | |
- 'release/**' | |
permissions: read-all | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: ${{ !contains(github.ref, 'refs/heads/main') }} | |
jobs: | |
codespell: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install prerequisites | |
run: | | |
sudo apt update && sudo apt install -y codespell | |
- name: Run scan | |
run: | | |
${GITHUB_WORKSPACE}/.github/scripts/codespell.sh $(pwd) | |
documentation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install prerequisites | |
run: | | |
echo GITHUB_SHA_SHORT=${GITHUB_SHA::8} >> $GITHUB_ENV | |
python -m pip install -r documentation/library_guide/requirements.txt | |
- name: Build documentation | |
run: | | |
mkdir html | |
sphinx-build -b html documentation/library_guide/ html/ | |
- name: Archive build directory | |
uses: actions/upload-artifact@v4 | |
with: | |
name: onedpl-html-docs-${{ env.GITHUB_SHA_SHORT }} | |
path: html |