2023-02-16 21:37:46 +00:00
|
|
|
name: Test invoke.py pip
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
2023-02-17 03:10:40 +00:00
|
|
|
- 'pyproject.toml'
|
2023-03-03 06:44:55 +00:00
|
|
|
- 'invokeai/**'
|
2023-02-17 03:10:40 +00:00
|
|
|
- 'invokeai/backend/**'
|
|
|
|
- 'invokeai/configs/**'
|
|
|
|
- 'invokeai/frontend/dist/**'
|
2023-02-16 21:37:46 +00:00
|
|
|
merge_group:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
matrix:
|
|
|
|
if: github.event.pull_request.draft == false
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
python-version:
|
|
|
|
# - '3.9'
|
|
|
|
- '3.10'
|
|
|
|
pytorch:
|
|
|
|
# - linux-cuda-11_6
|
|
|
|
- linux-cuda-11_7
|
|
|
|
- linux-rocm-5_2
|
|
|
|
- linux-cpu
|
|
|
|
- macos-default
|
|
|
|
- windows-cpu
|
|
|
|
# - windows-cuda-11_6
|
|
|
|
# - windows-cuda-11_7
|
|
|
|
include:
|
|
|
|
# - pytorch: linux-cuda-11_6
|
|
|
|
# os: ubuntu-22.04
|
|
|
|
# extra-index-url: 'https://download.pytorch.org/whl/cu116'
|
|
|
|
# github-env: $GITHUB_ENV
|
|
|
|
- pytorch: linux-cuda-11_7
|
|
|
|
os: ubuntu-22.04
|
|
|
|
github-env: $GITHUB_ENV
|
|
|
|
- pytorch: linux-rocm-5_2
|
|
|
|
os: ubuntu-22.04
|
|
|
|
extra-index-url: 'https://download.pytorch.org/whl/rocm5.2'
|
|
|
|
github-env: $GITHUB_ENV
|
|
|
|
- pytorch: linux-cpu
|
|
|
|
os: ubuntu-22.04
|
|
|
|
extra-index-url: 'https://download.pytorch.org/whl/cpu'
|
|
|
|
github-env: $GITHUB_ENV
|
|
|
|
- pytorch: macos-default
|
|
|
|
os: macOS-12
|
|
|
|
github-env: $GITHUB_ENV
|
|
|
|
- pytorch: windows-cpu
|
|
|
|
os: windows-2022
|
|
|
|
github-env: $env:GITHUB_ENV
|
|
|
|
# - pytorch: windows-cuda-11_6
|
|
|
|
# os: windows-2022
|
|
|
|
# extra-index-url: 'https://download.pytorch.org/whl/cu116'
|
|
|
|
# github-env: $env:GITHUB_ENV
|
|
|
|
# - pytorch: windows-cuda-11_7
|
|
|
|
# os: windows-2022
|
|
|
|
# extra-index-url: 'https://download.pytorch.org/whl/cu117'
|
|
|
|
# github-env: $env:GITHUB_ENV
|
|
|
|
name: ${{ matrix.pytorch }} on ${{ matrix.python-version }}
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
|
|
|
- run: 'echo "No build required"'
|