From ea73d1311b89bcd580e5b380fa84019a044c5b38 Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Thu, 26 Dec 2024 04:46:56 +0300 Subject: [PATCH] dev --- .appveyor.yml | 2 +- .ci/setup.sh | 6 +++--- .ci/test-windows.ps1 | 2 +- .github/workflows/python_package.yml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index d6352dad0226..1b3f457904fe 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -9,7 +9,7 @@ configuration: branches: only: - master - - ci/test + # - ci/test environment: matrix: diff --git a/.ci/setup.sh b/.ci/setup.sh index 79b1b534d86c..bf7100d9789c 100755 --- a/.ci/setup.sh +++ b/.ci/setup.sh @@ -1,14 +1,14 @@ #!/bin/bash -echo 202 +echo 210 ARCH=$(uname -m) export SKBUILD_LOGGING_LEVEL="INFO" -brew install libomp open-mpi +brew install libomp # open-mpi # export CXX=g++-14 CC=gcc-14 # sudo apt-get update @@ -35,7 +35,7 @@ pip install pytest numpy pandas scipy scikit-learn psutil cloudpickle cd $GITHUB_WORKSPACE/.ci git clone --recursive -b docs/install-py https://github.com/microsoft/LightGBM.git cd LightGBM -sh ./build-python.sh install --mpi +sh ./build-python.sh install --nohomebrew pytest $GITHUB_WORKSPACE/tests/python_package_test || exit 1 diff --git a/.ci/test-windows.ps1 b/.ci/test-windows.ps1 index b1bf85cabbb4..4ce4b1edbd11 100644 --- a/.ci/test-windows.ps1 +++ b/.ci/test-windows.ps1 @@ -2,7 +2,7 @@ $env:TMPDIR = "$env:USERPROFILE\tmp" Remove-Item $env:TMPDIR -Force -Recurse -ErrorAction Ignore [Void][System.IO.Directory]::CreateDirectory($env:TMPDIR) -$env:MINICONDA="C:\Miniconda3" +$env:MINICONDA="C:\Miniconda3-x64" $env:PATH="$env:MINICONDA;$env:MINICONDA\Scripts;$env:PATH" $env:BUILD_SOURCESDIRECTORY="$env:APPVEYOR_BUILD_FOLDER" diff --git a/.github/workflows/python_package.yml b/.github/workflows/python_package.yml index fe75358347a1..9a93630b143a 100644 --- a/.github/workflows/python_package.yml +++ b/.github/workflows/python_package.yml @@ -4,7 +4,7 @@ on: push: branches: - master - # - ci/test + - ci/test # automatically cancel in-progress builds if another commit is pushed concurrency: