Skip to content

Commit a75ed06

Browse files
CI
1 parent fe87702 commit a75ed06

File tree

1 file changed

+32
-2
lines changed

1 file changed

+32
-2
lines changed

.github/workflows/build.yml

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# You can use PyPy versions in python-version.
2020
# For example, pypy2 and pypy3
2121
matrix:
22-
python-version: [ 3.6, 3.7, 3.8, 3.9 ]
22+
python-version: [ 3.6, 3.7, 3.8, 3.9, pypy3 ]
2323
steps:
2424
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2525
- uses: actions/checkout@v2
@@ -67,7 +67,7 @@ jobs:
6767
# You can use PyPy versions in python-version.
6868
# For example, pypy2 and pypy3
6969
matrix:
70-
python-version: [ 3.6, 3.7, 3.8, 3.9 ]
70+
python-version: [ 3.6, 3.7, 3.8, 3.9, pypy3 ]
7171
steps:
7272
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
7373
- uses: actions/checkout@v2
@@ -114,3 +114,33 @@ jobs:
114114
name: wheel
115115
path: dist/*
116116

117+
source-distro:
118+
runs-on: ubuntu-18.04
119+
120+
steps:
121+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
122+
- uses: actions/checkout@v2
123+
with:
124+
submodules: recursive
125+
126+
- name: Setup Python
127+
uses: actions/[email protected]
128+
with:
129+
# Version range or exact version of a Python version to use, using SemVer's version range syntax.
130+
python-version: 3.9
131+
# The target architecture (x86, x64) of the Python interpreter.
132+
architecture: x64
133+
134+
- name: Build raylib-python-cffi
135+
run: |
136+
python -m pip install --upgrade pip
137+
pip3 install cffi
138+
pip3 install wheel
139+
rm raylib/dynamic/*.so* raylib/dynamic/*.dll raylib/dynamic/*.dylib raylib/dynamic/32bit/*
140+
python setup.py sdist
141+
142+
- name: Upload build Artifact wheel
143+
uses: actions/[email protected]
144+
with:
145+
name: wheel
146+
path: dist/*

0 commit comments

Comments
 (0)