Skip to content

Commit a1db2c9

Browse files
committed
Updated workflow to use SFML_VERSION environment variable
1 parent bef82e9 commit a1db2c9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
name: Python package for Ubuntu
55

6+
env:
7+
SFML_VERSION: 2.5.1
8+
69
on:
710
push:
811
branches: [ master ]
@@ -31,6 +34,7 @@ jobs:
3134
sudo apt-get install libx11-dev libgl1-mesa-dev libudev-dev libopenal-dev libvorbis-dev libflac-dev libxrandr-dev libfreetype6-dev
3235
git clone https://github.com/sfml/sfml
3336
cd sfml/
37+
git checkout tags/$SFML_VERSION
3438
cmake .
3539
make
3640
sudo make install

0 commit comments

Comments
 (0)