File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : pip_install_on_python_prerelease
2+ on :
3+ push :
4+ pull_request :
5+ workflow_dispatch :
6+ jobs :
7+ pip_install_on_python_prerelease :
8+ strategy :
9+ fail-fast : false
10+ matrix :
11+ os : [macos-latest, ubuntu-latest, windows-latest]
12+ runs-on : ${{ matrix.os }}
13+ steps :
14+ - if : runner.os == 'Linux'
15+ run : sudo apt-get update && sudo apt-get install libsdl2-dev
16+ - if : runner.os == 'macOS'
17+ run : brew install ffmpeg sdl2
18+ - if : runner.os == 'Windows'
19+ run : |
20+ curl -LO https://github.com/libsdl-org/SDL/releases/download/release-2.32.10/SDL2-devel-2.32.10-VC.zip
21+ unzip SDL2-devel-2.32.10-VC.zip -d $env:USERPROFILE\SDL2
22+ echo "SDL2_INCLUDE_DIR=$env:USERPROFILE\SDL2\SDL2-2.32.10\include" | Out-File -FilePath $env:GITHUB_ENV -Append
23+ echo "SDL2_LIB_DIR=$env:USERPROFILE\SDL2\SDL2-2.32.10\lib\x64" | Out-File -FilePath $env:GITHUB_ENV -Append
24+ - uses : actions/checkout@v5
25+ - uses : actions/setup-python@v6
26+ with :
27+ python-version : 3.14
28+ allow-prereleases : true
29+ - run : pip install --upgrade pip
30+ - run : pip install ffpyplayer
You can’t perform that action at this time.
0 commit comments