Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
35a2a2e3
Unverified
Commit
35a2a2e3
authored
Jul 31, 2024
by
Nikita Titov
Committed by
GitHub
Jul 31, 2024
Browse files
[ci] place all CI helpers under the .ci folder and use - instead of _ in their names (#6581)
parent
2f60e115
Changes
25
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
.github/workflows/triggering_comments.yml
.github/workflows/triggering_comments.yml
+2
-2
.vsts-ci.yml
.vsts-ci.yml
+3
-3
docs/Parameters.rst
docs/Parameters.rst
+1
-1
docs/README.rst
docs/README.rst
+1
-1
src/io/config_auto.cpp
src/io/config_auto.cpp
+1
-1
No files found.
.github/workflows/triggering_comments.yml
View file @
35a2a2e3
...
...
@@ -20,7 +20,7 @@ jobs:
-
name
:
Trigger R valgrind tests
if
:
github.event.comment.body == '/gha run r-valgrind'
run
:
|
$GITHUB_WORKSPACE/.ci/trigger
_
dispatch
_
run.sh \
$GITHUB_WORKSPACE/.ci/trigger
-
dispatch
-
run.sh \
"${{ github.event.issue.pull_request.url }}" \
"${{ github.event.comment.id }}" \
"gha_run_r_valgrind"
...
...
@@ -28,7 +28,7 @@ jobs:
-
name
:
Trigger update R configure
if
:
github.event.comment.body == '/gha run r-configure'
run
:
|
$GITHUB_WORKSPACE/.ci/trigger
_
dispatch
_
run.sh \
$GITHUB_WORKSPACE/.ci/trigger
-
dispatch
-
run.sh \
"${{ github.event.issue.pull_request.url }}" \
"${{ github.event.comment.id }}" \
"gha_run_r_configure"
.vsts-ci.yml
View file @
35a2a2e3
...
...
@@ -328,7 +328,7 @@ jobs:
git clean -d -f -x
displayName
:
'
Clean
source
directory'
-
script
:
|
cmd /c "powershell -ExecutionPolicy Bypass -File %BUILD_SOURCESDIRECTORY%/.ci/install
_
opencl.ps1"
cmd /c "powershell -ExecutionPolicy Bypass -File %BUILD_SOURCESDIRECTORY%/.ci/install
-
opencl.ps1"
condition
:
eq(variables['TASK'], 'bdist')
displayName
:
'
Install
OpenCL'
-
script
:
|
...
...
@@ -337,7 +337,7 @@ jobs:
cmd /c "conda config --add channels conda-forge"
cmd /c "conda config --set channel_priority strict"
cmd /c "conda init powershell"
cmd /c "powershell -ExecutionPolicy Bypass -File %BUILD_SOURCESDIRECTORY%/.ci/test
_
windows.ps1"
cmd /c "powershell -ExecutionPolicy Bypass -File %BUILD_SOURCESDIRECTORY%/.ci/test
-
windows.ps1"
displayName
:
Test
-
task
:
PublishBuildArtifacts@1
condition
:
and(succeeded(), in(variables['TASK'], 'regular', 'bdist', 'swig'), not(startsWith(variables['Build.SourceBranch'], 'refs/pull/')))
...
...
@@ -419,7 +419,7 @@ jobs:
artifactName
:
R-package
downloadPath
:
$(Build.SourcesDirectory)/R
-
script
:
|
python "$(Build.SourcesDirectory)/.
nuget
/create
_
nuget.py" "$(Build.SourcesDirectory)/binaries/PackageAssets"
python "$(Build.SourcesDirectory)/.
ci
/create
-
nuget.py" "$(Build.SourcesDirectory)/binaries/PackageAssets"
displayName
:
'
Create
NuGet
configuration
files'
-
task
:
NuGetCommand@2
inputs
:
...
...
docs/Parameters.rst
View file @
35a2a2e3
.. List of parameters is auto generated by LightGBM\
helpers
\parameter
_
generator.py from LightGBM\include\LightGBM\config.h file.
.. List of parameters is auto generated by LightGBM\
.ci
\parameter
-
generator.py from LightGBM\include\LightGBM\config.h file.
.. role:: raw-html(raw)
:format: html
...
...
docs/README.rst
View file @
35a2a2e3
...
...
@@ -6,7 +6,7 @@ and `Breathe <https://breathe.readthedocs.io/>`__, which works on top of `Doxyge
List of parameters and their descriptions in `Parameters.rst <./Parameters.rst>`__
is generated automatically from comments in `config file <https://github.com/microsoft/LightGBM/blob/master/include/LightGBM/config.h>`__
by `this script <https://github.com/microsoft/LightGBM/blob/master/
helpers
/parameter
_
generator.py>`__.
by `this script <https://github.com/microsoft/LightGBM/blob/master/
.ci
/parameter
-
generator.py>`__.
After each commit on ``master``, documentation is updated and published to `Read the Docs <https://lightgbm.readthedocs.io/>`__.
...
...
src/io/config_auto.cpp
View file @
35a2a2e3
...
...
@@ -3,7 +3,7 @@
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*
* \note
* This file is auto generated by LightGBM\
helpers
\parameter
_
generator.py from LightGBM\include\LightGBM\config.h file.
* This file is auto generated by LightGBM\
.ci
\parameter
-
generator.py from LightGBM\include\LightGBM\config.h file.
*/
#include<LightGBM/config.h>
namespace
LightGBM
{
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment