Commit Graph

165 Commits

Author SHA1 Message Date
Kevin Pfeifer 4f9a2a3aca build for arm only 2024-05-15 10:24:38 +02:00
Kevin Pfeifer 7aa72759f8 Update build-linux.yml 2024-05-15 04:01:56 +02:00
Kevin Pfeifer 04dee9ed4e remove i386 and multilib 2024-05-15 03:34:18 +02:00
Kevin Pfeifer fadbfe2a82 apt update 2024-05-15 03:25:17 +02:00
Kevin Pfeifer e42ea78d9c remove sudo 2024-05-15 03:23:53 +02:00
Kevin Pfeifer 55d8601380 install dependencies 2024-05-15 03:21:44 +02:00
Kevin Pfeifer 1e3d9e759e Create build-linux.yml 2024-05-15 03:12:53 +02:00
Dan Balasescu 8d0585729b Merge pull request #54 from Susko3/update-macro-types
Update `SDL_WINDOWPOS_*` macro types to SDL_DisplayID
2024-04-29 21:03:35 +09:00
Susko3 d355d95c6f Update `SDL_WINDOWPOS_` macro types
See https://wiki.libsdl.org/SDL3/README/migration#sdl_videoh
2024-04-28 14:39:37 +02:00
Dan Balasescu 36a2821899 Merge pull request #53 from Susko3/add-friendly-SDL_SetClipboardData-overload
Add string-friendly overload for `SDL_SetClipboardData`
2024-04-23 23:15:14 +09:00
Susko3 f6ba38cb90 Add string-friendly overload for `SDL_SetClipboardData`
`string[]` marshalling is horrible to implement manually, so I'm using `LibraryImport`.
2024-04-23 14:45:12 +02:00
Dean Herbert 69cd45c635 Merge pull request #52 from smoogipoo/adjust-namespaces
Change namespaces from SDL3 -> SDL
2024-04-20 20:35:38 +08:00
Dan Balasescu 1593ce1913 Change namespaces from SDL3 -> SDL 2024-04-20 21:08:58 +09:00
Dan Balasescu 9b3b16c212 Merge pull request #51 from smoogipoo/add-ios-tests
Add iOS tests
2024-04-20 20:21:04 +09:00
Dan Balasescu d7c3b26d05 Remove assets 2024-04-20 20:11:49 +09:00
Dan Balasescu 3b41592f7e Fix RID not actually working 2024-04-20 19:51:26 +09:00
Dan Balasescu 4ddda677ef Remove unnecessary condition 2024-04-20 19:49:46 +09:00
Dan Balasescu b59ff35430 Adjust filtered solutions 2024-04-20 19:43:46 +09:00
Dan Balasescu 48248b4d9a Add iOS tests project 2024-04-20 19:32:41 +09:00
Dan Balasescu 78dc8f57ab Adjust run configs 2024-04-20 19:32:41 +09:00
Dan Balasescu 253ee1af0c Remove unnecessary reference (it's transitive) 2024-04-20 19:32:41 +09:00
Dan Balasescu f862cb535d Add desktop tests project
The primary purpose of this is to split out the handling of the native
libs. This is a consequence of using ProjectReference, and resolves the
following issues:

1. When compiling for iOS, it really doesn't like multiple files being
   included in the same output path. Example: all Windows SDL.dll files
   placed as SDL.dll in the output path.
2. Even if (1) was somehow resolved, the iOS build also doesn't like the
   linux-specific .so files being included.
3. As a consequence of (1), it's likely that the project already doesn't
   work on some configurations. For example, because win-x86 is
   specified as the last item, it will likely take precedence over all
   other versions.
4. It looks like `RuntimeIdentifier` is not project-transitive, against
   my expectations. I really want the project to both select the correct
   single native lib for the current platform, and also support
   compiling with a RID (`dotnet build -r ...`).

So now we only copy the correct lib to the output path, and don't do it
while packaging (not required).
2024-04-20 19:30:24 +09:00
Dan Balasescu d79b86021b Merge pull request #50 from Susko3/add-simple-android-tests
Add simple android tests
2024-04-20 14:21:50 +09:00
Dan Balasescu b83316b3cb Add projects to filtered solution 2024-04-20 14:10:45 +09:00
Dan Balasescu cb7c225108 Merge pull request #49 from Susko3/fix-namespaces
Fix namespaces (from `SDL3` to `SDL`)
2024-04-20 14:06:02 +09:00
Susko3 abfade6a62 Add MVP android tests 2024-04-19 19:34:09 +02:00
Susko3 7639717186 Change all namespaces to `SDL` (from `SDL3`)
The only real issue with this is Android, as the `SDL3` namespace shadows
the `SDL.SDL3` static class.
2024-04-19 19:02:22 +02:00
Susko3 e8947d5349 Remove SourceGeneration project PackageId
The project is consumed locally by SDL3-CS, it's not meant to be packaged to nuget.
2024-04-19 19:00:28 +02:00
Dan Balasescu e6ee10201a Merge pull request #48 from smoogipoo/fix-android-nupkg-upload
Fix path separator on Windows runner
2024-04-18 01:52:08 +09:00
Dan Balasescu c1655206bf Fix path separator on Windows runner 2024-04-18 01:51:06 +09:00
Dan Balasescu 3a7be2e990 Merge pull request #47 from Susko3/update-bindings
Update SDL3 bindings
2024-04-18 01:43:05 +09:00
Susko3 c27b7b770f Regenerate SDL3 bindings
Includes changes up to commit:
a2eb2697a3

70ce808c09
is manually excluded to keep SDL_Keycode sane.
2024-04-17 18:37:09 +02:00
Dan Balasescu 2ea1943bfe Merge remote-tracking branch 'upstream/update-win-arm64-binaries' 2024-04-18 01:30:41 +09:00
Dan Balasescu 004fb4e9ae Merge remote-tracking branch 'upstream/update-android-binaries' 2024-04-18 01:29:05 +09:00
Dan Balasescu 2fdfba9682 Merge remote-tracking branch 'upstream/update-ios-binaries' 2024-04-18 01:29:04 +09:00
Dan Balasescu a47a885ec1 Merge remote-tracking branch 'upstream/update-linux-x64-binaries' 2024-04-18 01:29:03 +09:00
Dan Balasescu faffaa8a76 Merge remote-tracking branch 'upstream/update-linux-x86-binaries' 2024-04-18 01:29:03 +09:00
Dan Balasescu 98de498c2a Merge remote-tracking branch 'upstream/update-osx-arm64-binaries' 2024-04-18 01:29:02 +09:00
Dan Balasescu f3d0416789 Merge remote-tracking branch 'upstream/update-osx-x64-binaries' 2024-04-18 01:29:01 +09:00
Dan Balasescu b2d2edbe03 Merge remote-tracking branch 'upstream/update-win-arm64-binaries' 2024-04-18 01:29:00 +09:00
Dan Balasescu 99d9ed6b93 Merge remote-tracking branch 'upstream/update-win-x64-binaries' 2024-04-18 01:28:59 +09:00
smoogipoo 93ecb37969 Update win-arm64 SDL binaries 2024-04-17 16:28:20 +00:00
smoogipoo d689dbc661 Update win-x64 SDL binaries 2024-04-17 16:27:38 +00:00
smoogipoo 42f03fe2df Update win-x86 SDL binaries 2024-04-17 16:27:11 +00:00
smoogipoo b41572d933 Update iOS SDL binaries 2024-04-17 16:26:03 +00:00
smoogipoo 2aaad969ed Update osx-x64 SDL binaries 2024-04-17 16:26:00 +00:00
smoogipoo 82afabcef9 Update osx-arm64 SDL binaries 2024-04-17 16:25:47 +00:00
smoogipoo 268c4e3171 Update Android SDL binaries 2024-04-17 16:25:30 +00:00
smoogipoo c27a1c726f Update linux-x86 SDL binaries 2024-04-17 16:24:27 +00:00
smoogipoo c14e09eec4 Update linux-x64 SDL binaries 2024-04-17 16:23:46 +00:00