Skip to content

Commit 607dfaf

Browse files
committed
Updated 'Python package for macOS' workflow (wip)
1 parent 1ac5f11 commit 607dfaf

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/python-package-macos.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,14 @@ jobs:
2525
python-version: '3.x'
2626
- name: Install dependencies
2727
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
28+
curl -O https://www.sfml-dev.org/files/SFML-$SFML_VERSION-macOS-clang.tar.gz
29+
tar -xvf SFML-$SFML_VERSION-macOS-clang.tar.gz
30+
working-directory: $HOME
3431
- name: Build bindings
3532
run: |
33+
python -m pip install --upgrade pip
34+
pip install -r requirements.txt
3635
python setup.py build
36+
env:
37+
CPLUS_INCLUDE_PATH: $HOME/SFML-$SFML_VERSION-macOS-clang/include
38+
LIBRARY_PATH: $HOME/SFML-$SFML_VERSION-macOS-clang/lib

0 commit comments

Comments
 (0)