Skip to content
Snippets Groups Projects
Unverified Commit 89fe4166 authored by Thomas Müller's avatar Thomas Müller Committed by GitHub
Browse files

Merge pull request #1076 from NVlabs/python-ci

Python CI
parents f52adebe 4e5cc54d
No related branches found
No related tags found
No related merge requests found
...@@ -18,21 +18,27 @@ jobs: ...@@ -18,21 +18,27 @@ jobs:
- os: ubuntu-22.04 - os: ubuntu-22.04
cuda: "11.7" cuda: "11.7"
arch: 86 arch: 86
python: "3.11"
- os: ubuntu-18.04 - os: ubuntu-18.04
cuda: "10.2" cuda: "10.2"
arch: 75 arch: 75
python: "3.10"
- os: ubuntu-18.04 - os: ubuntu-18.04
cuda: "10.2" cuda: "10.2"
arch: 70 arch: 70
python: "3.9"
- os: ubuntu-18.04 - os: ubuntu-18.04
cuda: "10.2" cuda: "10.2"
arch: 61 arch: 61
python: "3.8"
- os: ubuntu-18.04 - os: ubuntu-18.04
cuda: "10.2" cuda: "10.2"
arch: 53 arch: 53
python: "3.7"
- os: ubuntu-18.04 - os: ubuntu-18.04
cuda: "10.2" cuda: "10.2"
arch: 37 arch: 37
python: "3.6"
env: env:
build_dir: "build" build_dir: "build"
config: "Release" config: "Release"
...@@ -40,9 +46,13 @@ jobs: ...@@ -40,9 +46,13 @@ jobs:
steps: steps:
- name: Install dependencies - name: Install dependencies
run: sudo apt-get update && sudo apt-get install build-essential python3-dev libglfw3-dev libglew-dev libxinerama-dev libxcursor-dev libxi-dev run: sudo apt-get update && sudo apt-get install build-essential python3-dev libglfw3-dev libglew-dev libxinerama-dev libxcursor-dev libxi-dev
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
submodules: recursive submodules: recursive
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- run: pip install -r requirements.txt
- name: Install CUDA - name: Install CUDA
env: env:
cuda: ${{ matrix.cuda }} cuda: ${{ matrix.cuda }}
...@@ -65,34 +75,44 @@ jobs: ...@@ -65,34 +75,44 @@ jobs:
visual_studio: "Visual Studio 16 2019" visual_studio: "Visual Studio 16 2019"
cuda: "11.5.1" cuda: "11.5.1"
arch: 86 arch: 86
python: "3.11"
- os: windows-2019 - os: windows-2019
visual_studio: "Visual Studio 16 2019" visual_studio: "Visual Studio 16 2019"
cuda: "11.5.1" cuda: "11.5.1"
arch: 75 arch: 75
python: "3.10"
- os: windows-2019 - os: windows-2019
visual_studio: "Visual Studio 16 2019" visual_studio: "Visual Studio 16 2019"
cuda: "11.5.1" cuda: "11.5.1"
arch: 70 arch: 70
python: "3.9"
- os: windows-2019 - os: windows-2019
visual_studio: "Visual Studio 16 2019" visual_studio: "Visual Studio 16 2019"
cuda: "11.5.1" cuda: "11.5.1"
arch: 61 arch: 61
python: "3.8"
- os: windows-2019 - os: windows-2019
visual_studio: "Visual Studio 16 2019" visual_studio: "Visual Studio 16 2019"
cuda: "11.5.1" cuda: "11.5.1"
arch: 53 arch: 53
python: "3.7"
- os: windows-2019 - os: windows-2019
visual_studio: "Visual Studio 16 2019" visual_studio: "Visual Studio 16 2019"
cuda: "11.5.1" cuda: "11.5.1"
arch: 37 arch: 37
python: "3.6"
env: env:
build_dir: "build" build_dir: "build"
config: "Release" config: "Release"
TCNN_CUDA_ARCHITECTURES: ${{ matrix.arch }} TCNN_CUDA_ARCHITECTURES: ${{ matrix.arch }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
submodules: recursive submodules: recursive
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- run: pip install -r requirements.txt
- name: Install CUDA - name: Install CUDA
env: env:
cuda: ${{ matrix.cuda }} cuda: ${{ matrix.cuda }}
......
Subproject commit 8a64135a109c305ca4fcf81f26d9bb15b16356a9 Subproject commit 6a835fd7ed8f76cd7ac0a9744b79da8b67e17c14
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment