mirror of
https://github.com/rakuri255/UltraSinger.git
synced 2026-11-20 13:07:52 +09:00
37 lines
809 B
YAML
37 lines
809 B
YAML
name: Python CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- CI
|
|
pull_request:
|
|
branches:
|
|
- CI
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
include:
|
|
- os: ubuntu-latest
|
|
TARGET: Linux
|
|
#- os: macos-latest
|
|
#TARGET: macOS
|
|
- os: windows-latest
|
|
TARGET: Windows
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Python 3.10
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.10'
|
|
|
|
- name: Install dependencies
|
|
run: pip install -r requirements.txt
|
|
|
|
- name: Install gpu dependencies
|
|
run: pip3 install torch==2.0.1+cu117 torchvision==0.15.2+cu117 torchaudio==2.0.2+cu117 --index-url https://download.pytorch.org/whl/cu117
|