ci: workflow & job names

This commit is contained in:
psychedelicious 2024-03-02 21:54:16 +11:00 committed by Ryan Dick
parent 0dde327bf8
commit 1f1deb6a05
4 changed files with 11 additions and 10 deletions

View File

@ -18,7 +18,7 @@ defaults:
working-directory: invokeai/frontend/web
jobs:
check-frontend:
frontend-checks:
runs-on: ubuntu-latest
timeout-minutes: 10 # expected run time: <2 min
steps:

View File

@ -18,7 +18,7 @@ defaults:
working-directory: invokeai/frontend/web
jobs:
check-frontend:
frontend-tests:
runs-on: ubuntu-latest
timeout-minutes: 10 # expected run time: <2 min
steps:

View File

@ -16,7 +16,7 @@ on:
workflow_call:
jobs:
check-backend:
python-checks:
runs-on: ubuntu-latest
timeout-minutes: 5 # expected run time: <1 min
steps:

View File

@ -23,31 +23,32 @@ jobs:
matrix:
python-version:
- '3.10'
pytorch:
- '3.11'
platform:
- linux-cuda-11_7
- linux-rocm-5_2
- linux-cpu
- macos-default
- windows-cpu
include:
- pytorch: linux-cuda-11_7
- platform: linux-cuda-11_7
os: ubuntu-22.04
github-env: $GITHUB_ENV
- pytorch: linux-rocm-5_2
- platform: 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
- platform: linux-cpu
os: ubuntu-22.04
extra-index-url: 'https://download.pytorch.org/whl/cpu'
github-env: $GITHUB_ENV
- pytorch: macos-default
- platform: macos-default
os: macOS-12
github-env: $GITHUB_ENV
- pytorch: windows-cpu
- platform: windows-cpu
os: windows-2022
github-env: $env:GITHUB_ENV
name: ${{ matrix.pytorch }} on ${{ matrix.python-version }}
name: ${{ matrix.platform }} on py${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
timeout-minutes: 15 # expected run time: 2-6 min, depending on platform
env: