Skip to content

Commit

Permalink
Add workflow to check if graphmuse builds on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
manoskary committed Oct 31, 2023
1 parent 33221ca commit b88804b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build_on_windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
run-name: Build on Windows by @${{ github.actor }}

on: [push]

jobs:
build:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Setup packages
uses: ./.github/actions/setup
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install torch --index-url https://download.pytorch.org/whl/cpu
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python setup.py build_ext --inplace

0 comments on commit b88804b

Please sign in to comment.