File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 13
13
14
14
15
15
jobs :
16
+ build-mac :
17
+ runs-on : macos-10.15
18
+ strategy :
19
+ matrix :
20
+ python-version : [ 3.9 ]
21
+ steps :
22
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23
+ - uses : actions/checkout@v2
24
+ with :
25
+ submodules : recursive
26
+
27
+ - name : Setup Python
28
+
29
+ with :
30
+ # Version range or exact version of a Python version to use, using SemVer's version range syntax.
31
+ python-version : ${{ matrix.python-version }}
32
+ # The target architecture (x86, x64) of the Python interpreter.
33
+ architecture : x64
34
+
35
+ # Runs a set of commands using the runners shell
36
+ - name : Build raylib
37
+ run : |
38
+ cd raylib-c
39
+ cd src
40
+ make -j2
41
+ - name : Build raylib-python-cffi
42
+ run : |
43
+ python -m pip install --upgrade pip
44
+ pip3 install cffi
45
+ pip3 install wheel
46
+ rm raylib/dynamic/*.so* raylib/dynamic/*.dll raylib/dynamic/*.dylib raylib/dynamic/32bit/*
47
+ python setup.py bdist_wheel
48
+
49
+ - name : Upload build Artifact wheel
50
+
51
+ with :
52
+ name : wheel
53
+ path : dist/*
54
+
55
+
16
56
build-linux :
17
57
runs-on : ubuntu-18.04
18
58
strategy :
You can’t perform that action at this time.
0 commit comments