Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Actions files cleanup #3454

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/actions/build_cmake/action.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
Expand Down
16 changes: 7 additions & 9 deletions .github/actions/build_conda/action.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
Loading