diff --git a/.github/actions/build_cmake/action.yml b/.github/actions/build_cmake/action.yml index 510d4c9dc3..a46462c8d9 100644 --- a/.github/actions/build_cmake/action.yml +++ b/.github/actions/build_cmake/action.yml @@ -1,15 +1,15 @@ name: Build cmake inputs: opt_level: - description: 'The optimization level' + description: 'Compile options / optimization level.' required: false default: generic gpu: - description: 'The GPU to use' + description: 'Enable GPU support.' required: false default: OFF raft: - description: 'The raft to use' + description: 'Enable RAFT support.' required: false default: OFF runs: @@ -20,12 +20,12 @@ runs: with: python-version: '3.11' miniconda-version: latest - - name: Set up environment + - name: Initialize Conda environment shell: bash run: | conda config --set solver libmamba conda update -y -q conda - - name: Configure conda environment + - name: Configure Conda environment shell: bash run: | conda install -y -q -c conda-forge gxx_linux-64=11.2 sysroot_linux-64=2.28 diff --git a/.github/actions/build_conda/action.yml b/.github/actions/build_conda/action.yml index 7e4510b4b2..ec407e6569 100644 --- a/.github/actions/build_conda/action.yml +++ b/.github/actions/build_conda/action.yml @@ -1,21 +1,21 @@ -name: Build conda -description: Build conda +name: Conda build +description: Builds FAISS inside a Conda environment and uploads to repository when label is provided. inputs: label: - description: "Label" + description: "The label to be used for uploads to Conda." default: "" required: false cuda: - description: "cuda" + description: "CUDA toolkit version to use." default: "" required: false raft: - description: "raft" + description: "Enable RAFT support." default: "" required: false compiler_version: description: "compiler_version" - default: "" + default: "Compiler version for C/C++/CUDA." required: false runs: using: composite @@ -24,7 +24,7 @@ runs: shell: bash id: choose_shell run: | - # if runner.os != 'Windows' use bash, else use pwsh + # Use pwsh on Windows; bash everywhere else if [ "${{ runner.os }}" != "Windows" ]; then echo "shell=bash" >> "$GITHUB_OUTPUT" else @@ -38,8 +38,6 @@ runs: - name: Install conda build tools shell: ${{ steps.choose_shell.outputs.shell }} run: | - # conda config --set solver libmamba - # conda config --set verbosity 3 conda update -y -q conda conda install -y -q conda-build - name: Enable anaconda uploads