Skip to content
Merged
Show file tree
Hide file tree
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: 11 additions & 11 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:

jobs:
build_linux:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
timeout-minutes: 90

strategy:
Expand Down Expand Up @@ -133,8 +133,7 @@ jobs:
env:
OVERRIDE_INTEL_IPO: 1 # IPO requires more resources that GH actions VM provides
run: |
# TODO: roll back use of Intel channel when 2025.1 is available on conda-forge
conda build --no-test --python ${{ matrix.python }} --numpy 2.0 -c ${{ env.INTEL_CHANNEL }} -c conda-forge --override-channels conda-recipe
conda build --no-test --python ${{ matrix.python }} --numpy 2.0 -c conda-forge --override-channels conda-recipe

- name: Upload artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
Expand All @@ -157,7 +156,7 @@ jobs:
matrix:
python: ['3.10', '3.11', '3.12', '3.13', '3.14']
experimental: [false]
runner: [ubuntu-22.04]
runner: [ubuntu-latest]
continue-on-error: ${{ matrix.experimental }}

steps:
Expand Down Expand Up @@ -244,7 +243,7 @@ jobs:

test_windows:
needs: build_windows
runs-on: ${{ matrix.runner }}
runs-on: ${{ matrix.runner }}
timeout-minutes: 60
defaults:
run:
Expand Down Expand Up @@ -417,7 +416,7 @@ jobs:
if: |
(github.repository == 'IntelPython/dpctl') &&
(github.ref == 'refs/heads/master' || (startsWith(github.ref, 'refs/heads/release') == true) || github.event_name == 'push' && contains(github.ref, 'refs/tags/'))
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
matrix:
Expand Down Expand Up @@ -506,12 +505,12 @@ jobs:

test_examples_linux:
needs: build_linux
runs-on: ${{ matrix.runner }}
runs-on: ${{ matrix.runner }}
strategy:
matrix:
python: ['3.11']
experimental: [false]
runner: [ubuntu-22.04]
runner: [ubuntu-latest]
continue-on-error: ${{ matrix.experimental }}
timeout-minutes: 60
env:
Expand Down Expand Up @@ -572,7 +571,8 @@ jobs:
- name: Install example requirements
shell: bash -ex -l {0}
env:
DPCPP_CMPLR: "dpcpp_linux-64>=2025.0"
# TODO: unpin when 2026.0 is available on conda-forge
DPCPP_CMPLR: "dpcpp_linux-64>=2025.0,<2026.0"
run: |
CHANNELS="${{ env.CHANNELS }}"
. $CONDA/etc/profile.d/conda.sh
Expand All @@ -589,7 +589,7 @@ jobs:
$CHANNELS || exit 1
echo "IPL installed"
conda create -y -n ${{ env.BUILD_ENV_NAME }} $CHANNELS gcc_linux-64 gxx_linux-64 \
${{ env.DPCPP_CMPLR }} "${DPCTL_DEPENDS}" \
"${{ env.DPCPP_CMPLR }}" "${DPCTL_DEPENDS}" \
"sysroot_linux-64>=2.28"
echo "Compiler installed"
conda list -n ${{ env.BUILD_ENV_NAME }}
Expand All @@ -599,7 +599,7 @@ jobs:
source $CONDA/etc/profile.d/conda.sh
CHANNELS="-c $GITHUB_WORKSPACE/channel -c dppy/label/dev -c ${{ env.INTEL_CHANNEL }} -c conda-forge --override-channels"
export PACKAGE_VERSION=$(python -c "${VER_SCRIPT1} ${VER_SCRIPT2}")
conda install -n ${{ env.EXAMPLES_ENV_NAME }} -y ${CHANNELS} dpctl=${PACKAGE_VERSION} dpnp || exit 1
conda install -n ${{ env.EXAMPLES_ENV_NAME }} -y ${CHANNELS} dpctl=${PACKAGE_VERSION} || exit 1
- name: Build and run examples of pybind11 extensions
shell: bash -l {0}
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/generate-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ jobs:
- name: Install latest Intel OneAPI
run: |
sudo apt install intel-oneapi-compiler-dpcpp-cpp
# TODO: drop 2025.3 requirement when coverage build segfault is resolved
Comment thread
ndgrigorian marked this conversation as resolved.
sudo apt install intel-oneapi-compiler-dpcpp-cpp-2025.3
sudo apt install intel-oneapi-tbb
sudo apt install intel-oneapi-umf
sudo apt install hwloc
Expand All @@ -51,7 +52,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.12'
python-version: '3.14'
architecture: x64

- name: Cache Gtest
Expand Down
1 change: 1 addition & 0 deletions scripts/gen_coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ def main():
cxx_compiler=cxx_compiler,
level_zero=level_zero_enabled,
verbose=args.verbose,
other_opts=args.cmake_opts,
)

cmake_args += ["-DDPCTL_GENERATE_COVERAGE=ON"]
Expand Down
1 change: 1 addition & 0 deletions scripts/gen_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def main():
cxx_compiler=cxx_compiler,
level_zero=level_zero_enabled,
verbose=args.verbose,
other_opts=args.cmake_opts,
)

cmake_args += ["-DDPCTL_GENERATE_DOCS=ON"]
Expand Down
Loading