Skip to content
Merged
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
22 changes: 15 additions & 7 deletions .github/workflows/check-onemath.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- master
pull_request:
# Nightly run of the oneMath develop branch job: its failures are upstream's, not a PR's
schedule:
- cron: '17 3 * * *'
workflow_dispatch:

permissions:
contents: read
Expand Down Expand Up @@ -93,6 +97,8 @@ jobs:

needs: build_env_file

if: github.event_name != 'schedule'

strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -215,6 +221,8 @@ jobs:

needs: build_env_file

if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'

strategy:
fail-fast: false
matrix:
Expand All @@ -230,7 +238,7 @@ jobs:
shell: ${{ matrix.os == 'windows-2022' && 'cmd /C CALL {0}' || 'bash -el {0}' }}

env:
onemkl-source-dir: '${{ github.workspace }}/onemkl/'
onemath-source-dir: '${{ github.workspace }}/onemath/'
python-label: ${{ endsWith(matrix.python_spec, 't') && format('{0}t', matrix.python) || matrix.python }}

steps:
Expand All @@ -248,18 +256,18 @@ jobs:
name: ${{ env.environment-file-name }}-${{ env.python-label }}
path: ${{ env.environment-file-loc }}

- name: Checkout oneMKL repo
- name: Checkout oneMath repo
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
repository: 'oneapi-src/oneMKL'
repository: 'uxlfoundation/oneMath'
ref: 'develop'
path: ${{ env.onemkl-source-dir }}
path: ${{ env.onemath-source-dir }}
fetch-depth: 0

- name: oneMKL ls info
- name: oneMath ls info
run: |
ls -la ${{ env.onemkl-source-dir }}
ls -la ${{ env.onemath-source-dir }}

- name: Setup miniconda
id: setup_miniconda
Expand Down Expand Up @@ -289,7 +297,7 @@ jobs:

- name: Build and install DPNP package
run: |
python scripts/build_locally.py --onemath --onemath-dir=${{ env.onemkl-source-dir }} --verbose
python scripts/build_locally.py --onemath --onemath-dir=${{ env.onemath-source-dir }} --verbose

- name: Smoke test
run: |
Expand Down
Loading