Skip to content

Commit e822a8c

Browse files
GitHub Actions files cleanup (#3454)
Summary: Pull Request resolved: #3454 Removing commented out lines and adding proper descriptions and comments where appropriate. Reviewed By: junjieqi Differential Revision: D57501602 fbshipit-source-id: 0202ff73b7a83158808affba9b98b96dff569457
1 parent bf8bd6b commit e822a8c

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

.github/actions/build_cmake/action.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name: Build cmake
22
inputs:
33
opt_level:
4-
description: 'The optimization level'
4+
description: 'Compile options / optimization level.'
55
required: false
66
default: generic
77
gpu:
8-
description: 'The GPU to use'
8+
description: 'Enable GPU support.'
99
required: false
1010
default: OFF
1111
raft:
12-
description: 'The raft to use'
12+
description: 'Enable RAFT support.'
1313
required: false
1414
default: OFF
1515
runs:
@@ -20,12 +20,12 @@ runs:
2020
with:
2121
python-version: '3.11'
2222
miniconda-version: latest
23-
- name: Set up environment
23+
- name: Initialize Conda environment
2424
shell: bash
2525
run: |
2626
conda config --set solver libmamba
2727
conda update -y -q conda
28-
- name: Configure conda environment
28+
- name: Configure Conda environment
2929
shell: bash
3030
run: |
3131
conda install -y -q -c conda-forge gxx_linux-64=11.2 sysroot_linux-64=2.28

.github/actions/build_conda/action.yml

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
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.
33
inputs:
44
label:
5-
description: "Label"
5+
description: "The label to be used for uploads to Conda."
66
default: ""
77
required: false
88
cuda:
9-
description: "cuda"
9+
description: "CUDA toolkit version to use."
1010
default: ""
1111
required: false
1212
raft:
13-
description: "raft"
13+
description: "Enable RAFT support."
1414
default: ""
1515
required: false
1616
compiler_version:
1717
description: "compiler_version"
18-
default: ""
18+
default: "Compiler version for C/C++/CUDA."
1919
required: false
2020
runs:
2121
using: composite
@@ -24,7 +24,7 @@ runs:
2424
shell: bash
2525
id: choose_shell
2626
run: |
27-
# if runner.os != 'Windows' use bash, else use pwsh
27+
# Use pwsh on Windows; bash everywhere else
2828
if [ "${{ runner.os }}" != "Windows" ]; then
2929
echo "shell=bash" >> "$GITHUB_OUTPUT"
3030
else
@@ -38,8 +38,6 @@ runs:
3838
- name: Install conda build tools
3939
shell: ${{ steps.choose_shell.outputs.shell }}
4040
run: |
41-
# conda config --set solver libmamba
42-
# conda config --set verbosity 3
4341
conda update -y -q conda
4442
conda install -y -q conda-build
4543
- name: Enable anaconda uploads

0 commit comments

Comments
 (0)