File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,19 @@ jobs:
1515 fail-fast : false
1616 matrix :
1717 config :
18- - name : Windows MSVC
18+ - name : Windows MSVC (dynamic)
1919 os : windows
2020 os-version : 2022
2121 environment : msvc
2222 shell : pwsh
23+ static : false
24+
25+ - name : Windows MSVC (static)
26+ os : windows
27+ os-version : 2022
28+ environment : msvc
29+ shell : pwsh
30+ static : true
2331
2432 - name : Windows MingGW
2533 os : windows
@@ -187,7 +195,7 @@ jobs:
187195 brew install sdl2 sdl2_ttf sdl2_mixer sdl2_image
188196
189197 - name : Configure
190- run : meson setup build -Dbuildtype=release -Ddefault_library=shared -Dclang_libcpp=${{ ( ( matrix.config.os == 'ubuntu' && matrix.config.use-clang == true && matrix.config.use-clang_stdlib ) || matrix.config.os == 'macos' ) && 'enabled' || 'disabled' }}
198+ run : meson setup build -Dbuildtype=release -Ddefault_library=${{( matrix.config.os == 'windows' && matrix.config.environment == 'msvc' && matrix.config.static ) && 'static' ||' shared' }} -Dclang_libcpp=${{ ( ( matrix.config.os == 'ubuntu' && matrix.config.use-clang == true && matrix.config.use-clang_stdlib ) || matrix.config.os == 'macos' ) && 'enabled' || 'disabled' }}
191199
192200 - name : Build
193201 run : meson compile -C build
You can’t perform that action at this time.
0 commit comments