@@ -60,102 +60,102 @@ jobs:
60
60
name : wheel
61
61
path : dist/*
62
62
63
- build-mac12-arm64 :
64
- runs-on : macos-12
65
- strategy :
66
- matrix :
67
- python-version : ['3.10', '3.11.0-alpha - 3.11.0' ]
68
- # Requires universal2 build of python, which we get if we ask for 3.10.5 x86! Pypy not available in universal2
69
- steps :
70
- - uses : actions/checkout@v2
71
- with :
72
- submodules : recursive
73
-
74
- - name : Setup Python
75
-
76
- with :
77
- python-version : ${{ matrix.python-version }}
78
- architecture : x64
79
-
80
- # Only build raylib for arm64 (although we could make a fat universal2 binary by asking for x86_64 as well)
81
- - name : Build raylib
82
- run : |
83
- cd raylib-c
84
- mkdir build
85
- cd build
86
- cmake -DBUILD_EXAMPLES=off -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
87
- make -j2
88
- sudo make install
89
- - name : Copy extras
90
- run : |
91
- sudo cp physac/src/physac.h /usr/local/include/
92
- sudo cp raygui/src/raygui.h /usr/local/include/
93
-
94
- # Name defaults to universal2 and it technically is, but we override name to arm64. Why don't we make a working universal2 wheel? Because
95
- # I'd rather have a separate x86_64 that I can test, and I want it to work on 10_15 but I'm not sure a 'macosx_10_15_universal2' is valid
96
- # given that there is no SDK for universal until macosx_11_0
97
- - name : Build raylib-python-cffi
98
- run : |
99
- python -m pip install --upgrade pip
100
- pip3 install cffi
101
- pip3 install wheel
102
- python setup.py bdist_wheel --plat-name macosx_12_0_arm64
103
-
104
-
105
- - name : Upload build Artifact wheel
106
-
107
- with :
108
- name : wheel
109
- path : dist/*
110
-
111
-
112
- build-mac11-arm64 :
113
- runs-on : macos-11
114
- strategy :
115
- matrix :
116
- python-version : [ '3.10.5' ]
117
- # Requires universal2 build of python, which we get if we ask for 3.10.5 x86! Pypy not available in universal2
118
- env :
119
- MACOSX_DEPLOYMENT_TARGET : 11.6
120
- steps :
121
- - uses : actions/checkout@v2
122
- with :
123
- submodules : recursive
124
-
125
- - name : Setup Python
126
-
127
- with :
128
- python-version : ${{ matrix.python-version }}
129
- architecture : x64
130
-
131
- # build raylib for arm64 and x86_64 as well
132
- - name : Build raylib
133
- run : |
134
- cd raylib-c
135
- mkdir build
136
- cd build
137
- cmake -DBUILD_EXAMPLES=off -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
138
- make -j2
139
- sudo make install
140
- - name : Copy extras
141
- run : |
142
- sudo cp physac/src/physac.h /usr/local/include/
143
- sudo cp raygui/src/raygui.h /usr/local/include/
144
-
145
-
146
- - name : Build raylib-python-cffi
147
- run : |
148
- python -m pip install --upgrade pip
149
- pip3 install cffi
150
- pip3 install wheel
151
- python setup.py bdist_wheel --plat-name macosx_11_0_arm64
152
-
153
- - name : Upload build Artifact wheel
154
-
155
- with :
156
- name : wheel
157
- path : dist/*
158
-
63
+ # build-mac12-arm64:
64
+ # runs-on: macos-12
65
+ # strategy:
66
+ # matrix:
67
+ # python-version: ['3.10', '3.11.0-alpha - 3.11.0' ]
68
+ # # Requires universal2 build of python, which we get if we ask for 3.10.5 x86! Pypy not available in universal2
69
+ # steps:
70
+ # - uses: actions/checkout@v2
71
+ # with:
72
+ # submodules: recursive
73
+ #
74
+ # - name: Setup Python
75
+
76
+ # with:
77
+ # python-version: ${{ matrix.python-version }}
78
+ # architecture: x64
79
+ #
80
+ # # Only build raylib for arm64 (although we could make a fat universal2 binary by asking for x86_64 as well)
81
+ # - name: Build raylib
82
+ # run: |
83
+ # cd raylib-c
84
+ # mkdir build
85
+ # cd build
86
+ # cmake -DBUILD_EXAMPLES=off -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
87
+ # make -j2
88
+ # sudo make install
89
+ # - name: Copy extras
90
+ # run: |
91
+ # sudo cp physac/src/physac.h /usr/local/include/
92
+ # sudo cp raygui/src/raygui.h /usr/local/include/
93
+ #
94
+ # # Name defaults to universal2 and it technically is, but we override name to arm64. Why don't we make a working universal2 wheel? Because
95
+ # # I'd rather have a separate x86_64 that I can test, and I want it to work on 10_15 but I'm not sure a 'macosx_10_15_universal2' is valid
96
+ # # given that there is no SDK for universal until macosx_11_0
97
+ # - name: Build raylib-python-cffi
98
+ # run: |
99
+ # python -m pip install --upgrade pip
100
+ # pip3 install cffi
101
+ # pip3 install wheel
102
+ # python setup.py bdist_wheel --plat-name macosx_12_0_arm64
103
+ #
104
+ #
105
+ # - name: Upload build Artifact wheel
106
+
107
+ # with:
108
+ # name: wheel
109
+ # path: dist/*
110
+ #
111
+ #
112
+ # build-mac11-arm64:
113
+ # runs-on: macos-11
114
+ # strategy:
115
+ # matrix:
116
+ # python-version: [ '3.10.5' ]
117
+ # # Requires universal2 build of python, which we get if we ask for 3.10.5 x86! Pypy not available in universal2
118
+ # env:
119
+ # MACOSX_DEPLOYMENT_TARGET: 11.6
120
+ # steps:
121
+ # - uses: actions/checkout@v2
122
+ # with:
123
+ # submodules: recursive
124
+ #
125
+ # - name: Setup Python
126
+
127
+ # with:
128
+ # python-version: ${{ matrix.python-version }}
129
+ # architecture: x64
130
+ #
131
+ # # build raylib for arm64 and x86_64 as well
132
+ # - name: Build raylib
133
+ # run: |
134
+ # cd raylib-c
135
+ # mkdir build
136
+ # cd build
137
+ # cmake -DBUILD_EXAMPLES=off -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
138
+ # make -j2
139
+ # sudo make install
140
+ # - name: Copy extras
141
+ # run: |
142
+ # sudo cp physac/src/physac.h /usr/local/include/
143
+ # sudo cp raygui/src/raygui.h /usr/local/include/
144
+ #
145
+ #
146
+ # - name: Build raylib-python-cffi
147
+ # run: |
148
+ # python -m pip install --upgrade pip
149
+ # pip3 install cffi
150
+ # pip3 install wheel
151
+ # python setup.py bdist_wheel --plat-name macosx_11_0_arm64
152
+ #
153
+ # - name: Upload build Artifact wheel
154
+
155
+ # with:
156
+ # name: wheel
157
+ # path: dist/*
158
+ #
159
159
160
160
161
161
build-linux :
0 commit comments