Merge pull request #5596 from espnet/pre-commit-ci-update-config #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci on windows | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
check_installable_on_windows: | |
runs-on: Windows-latest | |
if: github.event.pull_request.draft == false | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
pytorch-version: [2.1.0] | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ matrix.pytorch-version }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/Makefile') }} | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: 'x64' | |
- name: install dependencies | |
run: | | |
choco install -y wget | |
- name: Get PR labels | |
id: pr-labels | |
uses: joerick/[email protected] | |
- name: install espnet | |
env: | |
ESPNET_PYTHON_VERSION: ${{ matrix.python-version }} | |
TH_VERSION: ${{ matrix.pytorch-version }} | |
CHAINER_VERSION: 6.0.0 | |
USE_CONDA: false | |
run: | | |
./ci/install.sh |