"packaging/git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "7ae1b8c9c00e2bec1b0c111cd1299415519ef002"
Commit 958dfa99 authored by Aarni Koskela's avatar Aarni Koskela Committed by Titus
Browse files

Reformat .github with Prettier

parent 17681f68
name: "\U0001F680 Feature request" name: "\U0001F680 Feature request"
description: Submit a proposal/request for a new feature description: Submit a proposal/request for a new feature
labels: [ "feature" ] labels: ["feature"]
body: body:
- type: textarea - type: textarea
id: feature-request id: feature-request
......
...@@ -3,20 +3,20 @@ name: Python package ...@@ -3,20 +3,20 @@ name: Python package
on: on:
push: {} push: {}
pull_request: pull_request:
branches: [ main ] branches: [main]
paths: paths:
- '.github/workflows/python-package.yml' - ".github/workflows/python-package.yml"
- 'bitsandbytes/**' - "bitsandbytes/**"
- 'csrc/**' - "csrc/**"
- 'include/**' - "include/**"
- 'tests/**' - "tests/**"
- 'CMakeLists.txt' - "CMakeLists.txt"
- 'requirements*.txt' - "requirements*.txt"
- 'setup.py' - "setup.py"
- 'pyproject.toml' - "pyproject.toml"
- 'pytest.ini' - "pytest.ini"
release: release:
types: [ published ] types: [published]
workflow_dispatch: {} # Allow manual trigger workflow_dispatch: {} # Allow manual trigger
concurrency: concurrency:
...@@ -24,7 +24,6 @@ concurrency: ...@@ -24,7 +24,6 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
jobs: jobs:
## ##
# This job matrix builds the non-CUDA versions of the libraries for all supported platforms. # This job matrix builds the non-CUDA versions of the libraries for all supported platforms.
## ##
...@@ -44,7 +43,7 @@ jobs: ...@@ -44,7 +43,7 @@ jobs:
- name: Setup cmake - name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.14 uses: jwlawson/actions-setup-cmake@v1.14
with: with:
cmake-version: '3.26.x' cmake-version: "3.26.x"
- name: Setup MSVC - name: Setup MSVC
if: startsWith(matrix.os, 'windows') if: startsWith(matrix.os, 'windows')
#uses: microsoft/setup-msbuild@v1.1 # to use msbuild #uses: microsoft/setup-msbuild@v1.1 # to use msbuild
...@@ -83,7 +82,8 @@ jobs: ...@@ -83,7 +82,8 @@ jobs:
matrix: matrix:
os: [ubuntu-latest, windows-latest] os: [ubuntu-latest, windows-latest]
arch: [x86_64, aarch64] arch: [x86_64, aarch64]
cuda_version: ["11.7.1", "11.8.0", "12.0.1", "12.1.1", "12.2.2", "12.3.2"] cuda_version:
["11.7.1", "11.8.0", "12.0.1", "12.1.1", "12.2.2", "12.3.2"]
exclude: exclude:
- os: windows-latest # This probably requires arm64 Windows agents - os: windows-latest # This probably requires arm64 Windows agents
arch: aarch64 arch: aarch64
...@@ -102,14 +102,14 @@ jobs: ...@@ -102,14 +102,14 @@ jobs:
if: ${{ !startsWith(matrix.os, 'linux') }} if: ${{ !startsWith(matrix.os, 'linux') }}
uses: jwlawson/actions-setup-cmake@v1.14 uses: jwlawson/actions-setup-cmake@v1.14
with: with:
cmake-version: '3.26.x' cmake-version: "3.26.x"
# Windows: We install Cuda on the agent (slow) # Windows: We install Cuda on the agent (slow)
- uses: Jimver/cuda-toolkit@v0.2.14 - uses: Jimver/cuda-toolkit@v0.2.14
if: startsWith(matrix.os, 'windows') if: startsWith(matrix.os, 'windows')
id: cuda-toolkit id: cuda-toolkit
with: with:
cuda: ${{ matrix.cuda_version }} cuda: ${{ matrix.cuda_version }}
method: 'network' method: "network"
sub-packages: '["nvcc","cudart","cusparse","cublas","thrust","nvrtc_dev","cublas_dev","cusparse_dev"]' sub-packages: '["nvcc","cudart","cusparse","cublas","thrust","nvrtc_dev","cublas_dev","cusparse_dev"]'
linux-local-args: '["--toolkit"]' linux-local-args: '["--toolkit"]'
use-github-cache: false use-github-cache: false
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment