Skip to content

Commit

Permalink
Pin CI images and add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexsandruss committed Aug 13, 2024
1 parent 7df7290 commit cde348f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .ci/pipeline/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ variables:
jobs:
- job: Coverity
pool:
vmImage: 'ubuntu-latest'
vmImage: 'ubuntu-22.04'
steps:
- script: |
cd $(Agent.BuildDirectory)
Expand All @@ -58,7 +58,7 @@ jobs:
- job: Jupyter
timeoutInMinutes: 0
pool:
vmImage: 'ubuntu-latest'
vmImage: 'ubuntu-22.04'
steps:
- script: |
conda config --append channels conda-forge
Expand Down Expand Up @@ -110,6 +110,6 @@ jobs:
PYTHON_VERSION: '3.11'
SKLEARN_VERSION: 'main'
pool:
vmImage: 'windows-latest'
vmImage: 'windows-2022'
steps:
- template: build-and-test-win.yml
2 changes: 1 addition & 1 deletion .ci/scripts/gen_release_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

CHANNELS = args.channels
PYTHON_VERSIONS = ["3.9", "3.10", "3.11"]
SYSTEMS = ["ubuntu-latest", "windows-latest"]
SYSTEMS = ["ubuntu-22.04", "windows-2022"]
ACTIVATE = {
"ubuntu-latest": "conda activate",
"windows-latest": "call activate",
Expand Down
2 changes: 2 additions & 0 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
# limitations under the License.
#===============================================================================

# NB: this recipe should be synced with conda-forge one

{% set name = "scikit-learn-intelex" %}
{% set version = "2024.7" %}
{% set buildnumber = 0 %}
Expand Down
1 change: 1 addition & 0 deletions scripts/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

if(WIN32)
# hint CMake to get python from PYTHON env. variable if defined
if(DEFINED ENV{PYTHON})
set(PYTHON_EXECUTABLE $ENV{PYTHON})
endif()
Expand Down

0 comments on commit cde348f

Please sign in to comment.