|
19 | 19 | # You can use PyPy versions in python-version.
|
20 | 20 | # For example, pypy2 and pypy3
|
21 | 21 | matrix:
|
22 |
| - python-version: [ 3.6, 3.7, 3.8, 3.9 ] |
| 22 | + python-version: [ 3.6, 3.7, 3.8, 3.9, pypy3 ] |
23 | 23 | steps:
|
24 | 24 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
25 | 25 | - uses: actions/checkout@v2
|
|
67 | 67 | # You can use PyPy versions in python-version.
|
68 | 68 | # For example, pypy2 and pypy3
|
69 | 69 | matrix:
|
70 |
| - python-version: [ 3.6, 3.7, 3.8, 3.9 ] |
| 70 | + python-version: [ 3.6, 3.7, 3.8, 3.9, pypy3 ] |
71 | 71 | steps:
|
72 | 72 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
73 | 73 | - uses: actions/checkout@v2
|
@@ -114,3 +114,33 @@ jobs:
|
114 | 114 | name: wheel
|
115 | 115 | path: dist/*
|
116 | 116 |
|
| 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 | + |
| 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 | + |
| 144 | + with: |
| 145 | + name: wheel |
| 146 | + path: dist/* |
0 commit comments