@@ -24,14 +24,14 @@ jobs:
24
24
uses : actions/cache@v4
25
25
with :
26
26
path : ${{ github.workspace }}/mingw32
27
- key : 14.1 .0posix-18 .1.5-11 .0.1-msvcrt-r1 -x86
27
+ key : 14.2 .0posix-19 .1.1-12 .0.0-ucrt-r2 -x86
28
28
29
29
- name : Install MinGW x86
30
30
if : steps.mingw-x86-cache.outputs.cache-hit != 'true'
31
31
uses : bwoodsend/setup-winlibs-action@v1
32
32
id : winlibs-32
33
33
with :
34
- tag : 14.1 .0posix-18 .1.5-11 .0.1-msvcrt-r1
34
+ tag : 14.2 .0posix-19 .1.1-12 .0.0-ucrt-r2
35
35
with_clang : false
36
36
architecture : 32
37
37
destination : ${{ github.workspace }}
41
41
uses : actions/checkout@v4
42
42
with :
43
43
repository : SFML/SFML
44
- ref : 2.6.1
44
+ ref : 3.0.0
45
45
path : SFML
46
46
47
47
- name : Checkout CSFML
56
56
57
57
- name : Build CSFML
58
58
run : |
59
- cmake -S CSFML -B CSFML-build -A Win32 -G "Visual Studio 17 2022" -DBUILD_SHARED_LIBS=TRUE -DSTATIC_STD_LIBS=TRUE -DCSFML_LINK_SFML_STATICALLY=TRUE -DCMAKE_BUILD_TYPE=Release -DSFML_DIR =${{ github.workspace }}/SFML-install/lib/cmake/SFML -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/CSFML-install -DCMAKE_VERBOSE_MAKEFILE=ON
59
+ cmake -S CSFML -B CSFML-build -A Win32 -G "Visual Studio 17 2022" -DBUILD_SHARED_LIBS=TRUE -DSTATIC_STD_LIBS=TRUE -DCSFML_LINK_SFML_STATICALLY=TRUE -DCMAKE_BUILD_TYPE=Release -DSFML_ROOT =${{ github.workspace }}/SFML-install -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/CSFML-install -DCMAKE_VERBOSE_MAKEFILE=ON
60
60
cmake --build CSFML-build --config Release --target install
61
61
62
62
- name : Add MinGW to PATH
@@ -71,25 +71,25 @@ jobs:
71
71
Move-Item -Path "CSFML-install\lib\*.lib" -Destination "CSFML-install\lib\msvc"
72
72
73
73
Push-Location CSFML-install\lib\gcc
74
- & gendef.exe "..\..\bin\csfml-graphics-2 .dll"
75
- & dlltool.exe -d "csfml-graphics-2 .def" -D "..\..\bin\csfml-graphics-2 .dll" -l "libcsfml-graphics.a"
76
- Remove-Item -Path "csfml-graphics-2 .def"
74
+ & gendef.exe "..\..\bin\csfml-graphics-3 .dll"
75
+ & dlltool.exe -d "csfml-graphics-3 .def" -D "..\..\bin\csfml-graphics-3 .dll" -l "libcsfml-graphics.a"
76
+ Remove-Item -Path "csfml-graphics-3 .def"
77
77
78
- & gendef.exe "..\..\bin\csfml-window-2 .dll"
79
- & dlltool.exe -d "csfml-window-2 .def" -D "..\..\bin\bin\csfml-window-2 .dll" -l "libcsfml-window.a"
80
- Remove-Item -Path "csfml-window-2 .def"
78
+ & gendef.exe "..\..\bin\csfml-window-3 .dll"
79
+ & dlltool.exe -d "csfml-window-3 .def" -D "..\..\bin\bin\csfml-window-3 .dll" -l "libcsfml-window.a"
80
+ Remove-Item -Path "csfml-window-3 .def"
81
81
82
- & gendef.exe "..\..\bin\csfml-audio-2 .dll"
83
- & dlltool.exe -d "csfml-audio-2 .def" -D "..\..\bin\bin\csfml-audio-2 .dll" -l "libcsfml-audio.a"
84
- Remove-Item -Path "csfml-audio-2 .def"
82
+ & gendef.exe "..\..\bin\csfml-audio-3 .dll"
83
+ & dlltool.exe -d "csfml-audio-3 .def" -D "..\..\bin\bin\csfml-audio-3 .dll" -l "libcsfml-audio.a"
84
+ Remove-Item -Path "csfml-audio-3 .def"
85
85
86
- & gendef.exe "..\..\bin\csfml-network-2 .dll"
87
- & dlltool.exe -d "csfml-network-2 .def" -D "..\..\bin\bin\csfml-network-2 .dll" -l "libcsfml-network.a"
88
- Remove-Item -Path "csfml-network-2 .def"
86
+ & gendef.exe "..\..\bin\csfml-network-3 .dll"
87
+ & dlltool.exe -d "csfml-network-3 .def" -D "..\..\bin\bin\csfml-network-3 .dll" -l "libcsfml-network.a"
88
+ Remove-Item -Path "csfml-network-3 .def"
89
89
90
- & gendef.exe "..\..\bin\csfml-system-2 .dll"
91
- & dlltool.exe -d "csfml-system-2 .def" -D "..\..\bin\bin\csfml-system-2 .dll" -l "libcsfml-system.a"
92
- Remove-Item -Path "csfml-system-2 .def"
90
+ & gendef.exe "..\..\bin\csfml-system-3 .dll"
91
+ & dlltool.exe -d "csfml-system-3 .def" -D "..\..\bin\bin\csfml-system-3 .dll" -l "libcsfml-system.a"
92
+ Remove-Item -Path "csfml-system-3 .def"
93
93
Pop-Location
94
94
95
95
New-Item -ItemType "directory" -PATH "install"
@@ -111,14 +111,14 @@ jobs:
111
111
uses : actions/cache@v4
112
112
with :
113
113
path : ${{ github.workspace }}/mingw64
114
- key : 14.1 .0posix-18 .1.5-11 .0.1-msvcrt-r1 -x64
114
+ key : 14.2 .0posix-19 .1.1-12 .0.0-ucrt-r2 -x64
115
115
116
116
- name : Install MinGW x64
117
117
if : steps.mingw-x64-cache.outputs.cache-hit != 'true'
118
118
uses : bwoodsend/setup-winlibs-action@v1
119
119
id : winlibs-64
120
120
with :
121
- tag : 14.1 .0posix-18 .1.5-11 .0.1-msvcrt-r1
121
+ tag : 14.2 .0posix-19 .1.1-12 .0.0-ucrt-r2
122
122
with_clang : false
123
123
architecture : 64
124
124
destination : ${{ github.workspace }}
@@ -128,7 +128,7 @@ jobs:
128
128
uses : actions/checkout@v4
129
129
with :
130
130
repository : SFML/SFML
131
- ref : 2.6.1
131
+ ref : 3.0.0
132
132
path : SFML
133
133
134
134
- name : Checkout CSFML
@@ -143,7 +143,7 @@ jobs:
143
143
144
144
- name : Build CSFML
145
145
run : |
146
- cmake -S CSFML -B CSFML-build -A x64 -G "Visual Studio 17 2022" -DBUILD_SHARED_LIBS=TRUE -DSTATIC_STD_LIBS=TRUE -DCSFML_LINK_SFML_STATICALLY=TRUE -DCMAKE_BUILD_TYPE=Release -DSFML_DIR =${{ github.workspace }}/SFML-install/lib/cmake/SFML -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/CSFML-install -DCMAKE_VERBOSE_MAKEFILE=ON
146
+ cmake -S CSFML -B CSFML-build -A x64 -G "Visual Studio 17 2022" -DBUILD_SHARED_LIBS=TRUE -DSTATIC_STD_LIBS=TRUE -DCSFML_LINK_SFML_STATICALLY=TRUE -DCMAKE_BUILD_TYPE=Release -DSFML_ROOT =${{ github.workspace }}/SFML-install -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/CSFML-install -DCMAKE_VERBOSE_MAKEFILE=ON
147
147
cmake --build CSFML-build --config Release --target install
148
148
149
149
- name : Add MinGW to PATH
@@ -158,25 +158,25 @@ jobs:
158
158
Move-Item -Path "CSFML-install\lib\*.lib" -Destination "CSFML-install\lib\msvc"
159
159
160
160
Push-Location CSFML-install\lib\gcc
161
- & gendef.exe "..\..\bin\csfml-graphics-2 .dll"
162
- & dlltool.exe -d "csfml-graphics-2 .def" -D "..\..\bin\csfml-graphics-2 .dll" -l "libcsfml-graphics.a"
163
- Remove-Item -Path "csfml-graphics-2 .def"
161
+ & gendef.exe "..\..\bin\csfml-graphics-3 .dll"
162
+ & dlltool.exe -d "csfml-graphics-3 .def" -D "..\..\bin\csfml-graphics-3 .dll" -l "libcsfml-graphics.a"
163
+ Remove-Item -Path "csfml-graphics-3 .def"
164
164
165
- & gendef.exe "..\..\bin\csfml-window-2 .dll"
166
- & dlltool.exe -d "csfml-window-2 .def" -D "..\..\bin\bin\csfml-window-2 .dll" -l "libcsfml-window.a"
167
- Remove-Item -Path "csfml-window-2 .def"
165
+ & gendef.exe "..\..\bin\csfml-window-3 .dll"
166
+ & dlltool.exe -d "csfml-window-3 .def" -D "..\..\bin\bin\csfml-window-3 .dll" -l "libcsfml-window.a"
167
+ Remove-Item -Path "csfml-window-3 .def"
168
168
169
- & gendef.exe "..\..\bin\csfml-audio-2 .dll"
170
- & dlltool.exe -d "csfml-audio-2 .def" -D "..\..\bin\bin\csfml-audio-2 .dll" -l "libcsfml-audio.a"
171
- Remove-Item -Path "csfml-audio-2 .def"
169
+ & gendef.exe "..\..\bin\csfml-audio-3 .dll"
170
+ & dlltool.exe -d "csfml-audio-3 .def" -D "..\..\bin\bin\csfml-audio-3 .dll" -l "libcsfml-audio.a"
171
+ Remove-Item -Path "csfml-audio-3 .def"
172
172
173
- & gendef.exe "..\..\bin\csfml-network-2 .dll"
174
- & dlltool.exe -d "csfml-network-2 .def" -D "..\..\bin\bin\csfml-network-2 .dll" -l "libcsfml-network.a"
175
- Remove-Item -Path "csfml-network-2 .def"
173
+ & gendef.exe "..\..\bin\csfml-network-3 .dll"
174
+ & dlltool.exe -d "csfml-network-3 .def" -D "..\..\bin\bin\csfml-network-3 .dll" -l "libcsfml-network.a"
175
+ Remove-Item -Path "csfml-network-3 .def"
176
176
177
- & gendef.exe "..\..\bin\csfml-system-2 .dll"
178
- & dlltool.exe -d "csfml-system-2 .def" -D "..\..\bin\bin\csfml-system-2 .dll" -l "libcsfml-system.a"
179
- Remove-Item -Path "csfml-system-2 .def"
177
+ & gendef.exe "..\..\bin\csfml-system-3 .dll"
178
+ & dlltool.exe -d "csfml-system-3 .def" -D "..\..\bin\bin\csfml-system-3 .dll" -l "libcsfml-system.a"
179
+ Remove-Item -Path "csfml-system-3 .def"
180
180
Pop-Location
181
181
182
182
New-Item -ItemType "directory" -PATH "install"
@@ -190,14 +190,14 @@ jobs:
190
190
191
191
macos-x64 :
192
192
name : macOS x64
193
- runs-on : macos-12
193
+ runs-on : macos-13
194
194
195
195
steps :
196
196
- name : Checkout SFML
197
197
uses : actions/checkout@v4
198
198
with :
199
199
repository : SFML/SFML
200
- ref : 2.6.1
200
+ ref : 3.0.0
201
201
path : SFML
202
202
203
203
- name : Checkout CSFML
@@ -214,10 +214,10 @@ jobs:
214
214
-DCMAKE_CXX_FLAGS="-stdlib=libc++" \
215
215
-DBUILD_SHARED_LIBS=TRUE \
216
216
-DCMAKE_BUILD_TYPE=Release \
217
- -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/SFML-install/Library/Frameworks \
217
+ -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/SFML-install \
218
218
-DCMAKE_OSX_ARCHITECTURES=x86_64 \
219
219
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15 \
220
- -DSFML_BUILD_FRAMEWORKS=TRUE \
220
+ -DSFML_BUILD_FRAMEWORKS=OFF \
221
221
-DCMAKE_VERBOSE_MAKEFILE=ON
222
222
cmake --build SFML-build --config Release --target install
223
223
@@ -234,7 +234,7 @@ jobs:
234
234
-DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/CSFML-install \
235
235
-DCMAKE_OSX_ARCHITECTURES=x86_64 \
236
236
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15 \
237
- -DSFML_DIR =${{ github.workspace }}/SFML-install/Library/Frameworks/SFML.framework/Resources/CMake \
237
+ -DSFML_ROOT =${{ github.workspace }}/SFML-install \
238
238
-DCMAKE_VERBOSE_MAKEFILE=ON
239
239
cmake --build CSFML-build --config Release --target install
240
240
@@ -261,7 +261,7 @@ jobs:
261
261
uses : actions/checkout@v4
262
262
with :
263
263
repository : SFML/SFML
264
- ref : 2.6.1
264
+ ref : 3.0.0
265
265
path : SFML
266
266
267
267
- name : Checkout CSFML
@@ -277,10 +277,10 @@ jobs:
277
277
-DCMAKE_CXX_FLAGS="-stdlib=libc++" \
278
278
-DBUILD_SHARED_LIBS=TRUE \
279
279
-DCMAKE_BUILD_TYPE=Release \
280
- -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/SFML-install/Library/Frameworks \
280
+ -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/SFML-install \
281
281
-DCMAKE_OSX_ARCHITECTURES=arm64 \
282
282
-DCMAKE_OSX_DEPLOYMENT_TARGET=11.0 \
283
- -DSFML_BUILD_FRAMEWORKS=TRUE \
283
+ -DSFML_BUILD_FRAMEWORKS=OFF \
284
284
-DCMAKE_VERBOSE_MAKEFILE=ON
285
285
cmake --build SFML-build --config Release --target install
286
286
@@ -297,7 +297,7 @@ jobs:
297
297
-DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/CSFML-install \
298
298
-DCMAKE_OSX_ARCHITECTURES=arm64 \
299
299
-DCMAKE_OSX_DEPLOYMENT_TARGET=11.0 \
300
- -DSFML_DIR =${{ github.workspace }}/SFML-install/Library/Frameworks/SFML.framework/Resources/CMake \
300
+ -DSFML_ROOT =${{ github.workspace }}/SFML-install \
301
301
-DCMAKE_VERBOSE_MAKEFILE=ON
302
302
cmake --build CSFML-build --config Release --target install
303
303
0 commit comments