Skip to content

Commit 7bfa6ce

Browse files
committed
pin compiler upper bound in examples tests
1 parent fb2e377 commit 7bfa6ce

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/conda-package.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919

2020
jobs:
2121
build_linux:
22-
runs-on: ubuntu-22.04
22+
runs-on: ubuntu-latest
2323
timeout-minutes: 90
2424

2525
strategy:
@@ -133,8 +133,7 @@ jobs:
133133
env:
134134
OVERRIDE_INTEL_IPO: 1 # IPO requires more resources that GH actions VM provides
135135
run: |
136-
# TODO: roll back use of Intel channel when 2025.1 is available on conda-forge
137-
conda build --no-test --python ${{ matrix.python }} --numpy 2.0 -c ${{ env.INTEL_CHANNEL }} -c conda-forge --override-channels conda-recipe
136+
conda build --no-test --python ${{ matrix.python }} --numpy 2.0 -c conda-forge --override-channels conda-recipe
138137
139138
- name: Upload artifact
140139
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
@@ -157,7 +156,7 @@ jobs:
157156
matrix:
158157
python: ['3.10', '3.11', '3.12', '3.13', '3.14']
159158
experimental: [false]
160-
runner: [ubuntu-22.04]
159+
runner: [ubuntu-latest]
161160
continue-on-error: ${{ matrix.experimental }}
162161

163162
steps:
@@ -244,7 +243,7 @@ jobs:
244243
245244
test_windows:
246245
needs: build_windows
247-
runs-on: ${{ matrix.runner }}
246+
runs-on: ${{ matrix.runner }}
248247
timeout-minutes: 60
249248
defaults:
250249
run:
@@ -417,7 +416,7 @@ jobs:
417416
if: |
418417
(github.repository == 'IntelPython/dpctl') &&
419418
(github.ref == 'refs/heads/master' || (startsWith(github.ref, 'refs/heads/release') == true) || github.event_name == 'push' && contains(github.ref, 'refs/tags/'))
420-
runs-on: ubuntu-22.04
419+
runs-on: ubuntu-latest
421420
timeout-minutes: 20
422421
strategy:
423422
matrix:
@@ -506,12 +505,12 @@ jobs:
506505

507506
test_examples_linux:
508507
needs: build_linux
509-
runs-on: ${{ matrix.runner }}
508+
runs-on: ${{ matrix.runner }}
510509
strategy:
511510
matrix:
512511
python: ['3.11']
513512
experimental: [false]
514-
runner: [ubuntu-22.04]
513+
runner: [ubuntu-latest]
515514
continue-on-error: ${{ matrix.experimental }}
516515
timeout-minutes: 60
517516
env:
@@ -572,7 +571,8 @@ jobs:
572571
- name: Install example requirements
573572
shell: bash -ex -l {0}
574573
env:
575-
DPCPP_CMPLR: "dpcpp_linux-64>=2025.0"
574+
# TODO: unpin when 2026.0 is available on conda-forge
575+
DPCPP_CMPLR: "dpcpp_linux-64>=2025.0,<2026.0"
576576
run: |
577577
CHANNELS="${{ env.CHANNELS }}"
578578
. $CONDA/etc/profile.d/conda.sh
@@ -589,7 +589,7 @@ jobs:
589589
$CHANNELS || exit 1
590590
echo "IPL installed"
591591
conda create -y -n ${{ env.BUILD_ENV_NAME }} $CHANNELS gcc_linux-64 gxx_linux-64 \
592-
${{ env.DPCPP_CMPLR }} "${DPCTL_DEPENDS}" \
592+
"${{ env.DPCPP_CMPLR }}" "${DPCTL_DEPENDS}" \
593593
"sysroot_linux-64>=2.28"
594594
echo "Compiler installed"
595595
conda list -n ${{ env.BUILD_ENV_NAME }}

0 commit comments

Comments
 (0)