File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3+
4+ name : Python package for macOS
5+
6+ env :
7+ SFML_VERSION : 2.5.1
8+
9+ on :
10+ push :
11+ branches : [ master ]
12+ pull_request :
13+ branches : [ master ]
14+
15+ jobs :
16+ build :
17+
18+ runs-on : macos-latest
19+
20+ steps :
21+ - uses : actions/checkout@v2
22+ - name : Set up Python 3.x
23+ uses : actions/setup-python@v1
24+ with :
25+ python-version : ' 3.x'
26+ - name : Install dependencies
27+ run : |
28+ curl -O https://www.sfml-dev.org/files/SFML-2.5.1-macOS-clang.tar.gz
29+ tar -xvf SFML-2.5.1-macOS-clang.tar.gz
30+ export CPLUS_INCLUDE_PATH=`pwd`/SFML-2.5.1-macos-clang/include
31+ export LIBRARY_PATH=`pwd`/SFML-2.5.1-macos-clang/lib
32+ python -m pip install --upgrade pip
33+ pip install -r requirements.txt
34+ - name : Build bindings
35+ run : |
36+ python setup.py build
You can’t perform that action at this time.
0 commit comments