Commit 6e7cf7f 1 parent 4b38041 commit 6e7cf7f Copy full SHA for 6e7cf7f
File tree 2 files changed +12
-14
lines changed
2 files changed +12
-14
lines changed Original file line number Diff line number Diff line change 1
1
name : Build cmake
2
2
inputs :
3
3
opt_level :
4
- description : ' The optimization level'
4
+ description : ' Compile options / optimization level. '
5
5
required : false
6
6
default : generic
7
7
gpu :
8
- description : ' The GPU to use '
8
+ description : ' Enable GPU support. '
9
9
required : false
10
10
default : OFF
11
11
raft :
12
- description : ' The raft to use '
12
+ description : ' Enable RAFT support. '
13
13
required : false
14
14
default : OFF
15
15
runs :
@@ -20,12 +20,12 @@ runs:
20
20
with :
21
21
python-version : ' 3.11'
22
22
miniconda-version : latest
23
- - name : Set up environment
23
+ - name : Initialize Conda environment
24
24
shell : bash
25
25
run : |
26
26
conda config --set solver libmamba
27
27
conda update -y -q conda
28
- - name : Configure conda environment
28
+ - name : Configure Conda environment
29
29
shell : bash
30
30
run : |
31
31
conda install -y -q -c conda-forge gxx_linux-64=11.2 sysroot_linux-64=2.28
Original file line number Diff line number Diff line change 1
- name : Build conda
2
- description : Build conda
1
+ name : Conda build
2
+ description : Builds FAISS inside a Conda environment and uploads to repository when label is provided.
3
3
inputs :
4
4
label :
5
- description : " Label "
5
+ description : " The label to be used for uploads to Conda. "
6
6
default : " "
7
7
required : false
8
8
cuda :
9
- description : " cuda "
9
+ description : " CUDA toolkit version to use. "
10
10
default : " "
11
11
required : false
12
12
raft :
13
- description : " raft "
13
+ description : " Enable RAFT support. "
14
14
default : " "
15
15
required : false
16
16
compiler_version :
17
17
description : " compiler_version"
18
- default : " "
18
+ default : " Compiler version for C/C++/CUDA. "
19
19
required : false
20
20
runs :
21
21
using : composite
24
24
shell : bash
25
25
id : choose_shell
26
26
run : |
27
- # if runner.os != ' Windows' use bash, else use pwsh
27
+ # Use pwsh on Windows; bash everywhere else
28
28
if [ "${{ runner.os }}" != "Windows" ]; then
29
29
echo "shell=bash" >> "$GITHUB_OUTPUT"
30
30
else
38
38
- name : Install conda build tools
39
39
shell : ${{ steps.choose_shell.outputs.shell }}
40
40
run : |
41
- # conda config --set solver libmamba
42
- # conda config --set verbosity 3
43
41
conda update -y -q conda
44
42
conda install -y -q conda-build
45
43
- name : Enable anaconda uploads
You can’t perform that action at this time.
0 commit comments