Skip to content

Commit

Permalink
Merge 5ebd6d4 into fd1e7a9
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Yang committed Mar 27, 2021
2 parents fd1e7a9 + 5ebd6d4 commit 1b59ada
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/windows-debug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Windows Debug

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
container: mcr.microsoft.com/windows/servercore:ltsc2019
steps:
- uses: actions/checkout@v2
- run: git clone https://github.com/pytorch/ignite
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.8
miniconda-version: latest
activate-environment: test
use-only-tar-bz2: true
- name: Install dependencies
working-directory: ignite
run: |
conda install pytorch torchvision cpuonly -c pytorch -c conda-forge
pip install -r requirements-dev.txt
python setup.py install
- name: Run tests
working-directory: ignite
run: SKIP_DISTRIB_TESTS=1 bash tests/run_cpu_tests.sh

0 comments on commit 1b59ada

Please sign in to comment.