Skip to content

Commit 1ac5f11

Browse files
committed
Added 'Python package for Windows' workflow (1/2)
1 parent f7c3601 commit 1ac5f11

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Python package for Windows
2+
3+
env:
4+
SFML_VERSION: 2.5.1
5+
6+
on:
7+
push:
8+
branches: [ master ]
9+
pull_request:
10+
branches: [ master ]
11+
12+
jobs:
13+
build:
14+
15+
runs-on: windows-2019
16+
strategy:
17+
matrix:
18+
python-version: [3.7]
19+
os-architecture: ['x86', 'x64']
20+
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Set up Python ${{ matrix.python-version }}
24+
uses: actions/setup-python@v1
25+
with:
26+
python-version: ${{ matrix.python-version }}
27+
architecture: ${{ matrix.os-architecture }}
28+
- name: Install dependencies
29+
run: |
30+
python -m pip install --upgrade pip
31+
pip install -r requirements.txt
32+
- name: Build bindings
33+
run: |
34+
python setup.py build

0 commit comments

Comments
 (0)