Compare commits

...

364 Commits

Author SHA1 Message Date
Mary Guillemard
d50837c46b
Update version to 2.30.0
Forgot to increment it before release oh well...
2024-02-06 23:39:55 +01:00
github-actions[bot]
caa502a393
Update linux-arm64 SDL binaries (#158)
Co-authored-by: marysaka <marysaka@users.noreply.github.com>
2024-02-06 23:19:34 +01:00
github-actions[bot]
71ec99d676
Update osx-arm64 SDL binaries (#157)
Co-authored-by: marysaka <marysaka@users.noreply.github.com>
2024-02-06 23:19:27 +01:00
github-actions[bot]
7389c35176
Update osx-x64 SDL binaries (#156)
Co-authored-by: marysaka <marysaka@users.noreply.github.com>
2024-02-06 23:19:20 +01:00
github-actions[bot]
14e19b5164
Update win-x64 SDL binaries (#155)
Co-authored-by: marysaka <marysaka@users.noreply.github.com>
2024-02-06 23:18:47 +01:00
github-actions[bot]
038059ecc9
Update win-arm64 SDL binaries (#154)
Co-authored-by: marysaka <marysaka@users.noreply.github.com>
2024-02-06 23:18:41 +01:00
github-actions[bot]
b42777f4d3
Update iOS SDL binaries (#153)
Co-authored-by: marysaka <marysaka@users.noreply.github.com>
2024-02-06 23:18:35 +01:00
github-actions[bot]
82c0c38477
Update linux-x64 SDL binaries (#152)
Co-authored-by: marysaka <marysaka@users.noreply.github.com>
2024-02-06 23:18:29 +01:00
Mary Guillemard
c66a752bf5 Add linux-arm64 in csproj
Signed-off-by: Mary Guillemard <mary@mary.zone>
2024-02-06 22:48:29 +01:00
Mary Guillemard
2402c1a0db Enable linux-arm64 in CI
Signed-off-by: Mary Guillemard <mary@mary.zone>
2024-02-06 20:52:14 +01:00
Mary Guillemard
275e67ad11 Move build operation to a bash script
This greatly simplify the action and prepare for building for other archs.

Signed-off-by: Mary Guillemard <mary@mary.zone>
2024-02-06 20:10:42 +01:00
Mary Guillemard
70a111cbb6 Respect workflow argument for iOS
Signed-off-by: Mary Guillemard <mary@mary.zone>
2024-02-06 19:41:53 +01:00
TSRBerry
8f286bb048
Update version to 2.28.3 2023-10-20 16:16:33 +02:00
TSR Berry
e96d39d94b
Merge remote-tracking branches 'origin/update-ios-binaries', 'origin/update-linux-x64-binaries', 'origin/update-win-x64-binaries', 'origin/update-win-arm64-binaries', 'origin/update-osx-arm64-binaries' and 'origin/update-osx-x64-binaries' 2023-09-23 20:01:28 +02:00
TSR Berry
a389f319ce
Add note about commit sha to workflow input 2023-09-23 19:59:24 +02:00
TSRBerry
ce6acac60e Update osx-x64 SDL binaries 2023-09-23 17:57:58 +00:00
TSRBerry
3547f466d7 Update osx-arm64 SDL binaries 2023-09-23 17:57:49 +00:00
TSRBerry
4251b252ed Update iOS SDL binaries 2023-09-23 17:57:22 +00:00
TSRBerry
7f231ea460 Update win-arm64 SDL binaries 2023-09-23 17:56:41 +00:00
TSRBerry
802dd6f15a Update win-x64 SDL binaries 2023-09-23 17:56:35 +00:00
TSRBerry
68ab08e264 Update linux-x64 SDL binaries 2023-09-23 17:55:34 +00:00
TSR Berry
df777874bc
Update actions 2023-09-23 19:46:13 +02:00
TSR Berry
232018f03e
Add dependabot.yml 2023-09-23 19:45:52 +02:00
github-actions[bot]
95f9c5c73a
Update osx-x64 SDL binaries (#145)
Co-authored-by: marysaka <marysaka@users.noreply.github.com>
2023-07-14 10:19:39 +02:00
github-actions[bot]
077f5e5171
Update win-x64 SDL binaries (#144)
Co-authored-by: marysaka <marysaka@users.noreply.github.com>
2023-07-14 10:19:31 +02:00
github-actions[bot]
6fa4edcdc4
Update osx-arm64 SDL binaries (#143)
Co-authored-by: marysaka <marysaka@users.noreply.github.com>
2023-07-14 10:19:23 +02:00
github-actions[bot]
aa545e727a
Update win-arm64 SDL binaries (#142)
Co-authored-by: marysaka <marysaka@users.noreply.github.com>
2023-07-14 10:19:14 +02:00
github-actions[bot]
f4681ebf95
Update linux-x64 SDL binaries (#141)
Co-authored-by: marysaka <marysaka@users.noreply.github.com>
2023-07-14 10:18:25 +02:00
github-actions[bot]
161373c455
Update iOS SDL binaries (#140)
Co-authored-by: marysaka <marysaka@users.noreply.github.com>
2023-07-14 10:18:16 +02:00
Mary
4e470dba41 Update metadata to 2.28.1 2023-07-14 09:31:36 +02:00
TSR Berry
9af6bb8fe8
Update metadata to 2.28.0 2023-07-05 15:50:46 +02:00
TSRBerry
172acaa08d
Update win-x64 SDL binaries 2023-07-05 15:50:46 +02:00
TSRBerry
7ca43ee88c
Update win-arm64 SDL binaries 2023-07-05 15:50:46 +02:00
TSRBerry
497d929939
Update osx-x64 SDL binaries 2023-07-05 15:50:46 +02:00
TSRBerry
54cb2e08c7
Update osx-arm64 SDL binaries 2023-07-05 15:50:46 +02:00
TSRBerry
ce3bfab43c
Update linux-x64 SDL binaries 2023-07-05 15:50:46 +02:00
TSRBerry
6bd29ff214
Update iOS SDL binaries 2023-07-05 15:50:45 +02:00
Mary
b6e8330d71
Introduce needed changes for Ryujinx's fork 2023-07-05 15:50:34 +02:00
Dean Herbert
b4c039993e Merge remote-tracking branch 'upstream/update-win-x86-binaries' 2023-05-21 12:50:01 +09:00
Dean Herbert
832a10c772 Merge remote-tracking branch 'upstream/update-win-x64-binaries' 2023-05-21 12:50:00 +09:00
Dean Herbert
740c7a8f87 Merge remote-tracking branch 'upstream/update-win-arm64-binaries' 2023-05-21 12:49:59 +09:00
Dean Herbert
4d2270aa86 Merge remote-tracking branch 'upstream/update-osx-x64-binaries' 2023-05-21 12:49:58 +09:00
Dean Herbert
d046b2f2c1 Merge remote-tracking branch 'upstream/update-osx-arm64-binaries' 2023-05-21 12:49:57 +09:00
Dean Herbert
d0361d0e73 Merge remote-tracking branch 'upstream/update-linux-x86-binaries' 2023-05-21 12:49:55 +09:00
Dean Herbert
5dc54d80a0 Merge remote-tracking branch 'upstream/update-linux-x64-binaries' 2023-05-21 12:49:54 +09:00
peppy
2428ad15be Update osx-arm64 SDL binaries 2023-05-21 03:44:23 +00:00
peppy
45535693a6 Update linux-x86 SDL binaries 2023-05-21 03:42:36 +00:00
peppy
bccb6a3136 Update osx-x64 SDL binaries 2023-05-21 03:42:27 +00:00
peppy
fc8ed7005b Update win-x86 SDL binaries 2023-05-21 03:41:50 +00:00
peppy
2ec5b46232 Update win-x64 SDL binaries 2023-05-21 03:41:41 +00:00
peppy
eb9f81ac25 Update win-arm64 SDL binaries 2023-05-21 03:41:13 +00:00
peppy
2b1c66c7eb Update iOS SDL binaries 2023-05-21 03:40:33 +00:00
peppy
16ec96817c Update linux-x64 SDL binaries 2023-05-21 03:40:27 +00:00
Dean Herbert
9b92aed4b4 Merge remote-tracking branch 'upstream/update-win-x86-binaries' 2023-03-08 18:44:04 +09:00
Dean Herbert
a730d16076 Merge remote-tracking branch 'upstream/update-win-x64-binaries' 2023-03-08 18:44:03 +09:00
Dean Herbert
f0bef1b9c3 Merge remote-tracking branch 'upstream/update-win-arm64-binaries' 2023-03-08 18:44:03 +09:00
Dean Herbert
556cd552dd Merge remote-tracking branch 'upstream/update-osx-x64-binaries' 2023-03-08 18:44:00 +09:00
Dean Herbert
d2e0088381 Merge remote-tracking branch 'upstream/update-osx-arm64-binaries' 2023-03-08 18:43:59 +09:00
Dean Herbert
aa80fe5791 Merge remote-tracking branch 'upstream/update-linux-x86-binaries' 2023-03-08 18:43:56 +09:00
Dean Herbert
4969c7f3fe Merge remote-tracking branch 'upstream/update-linux-x64-binaries' 2023-03-08 18:43:55 +09:00
peppy
658f11e526 Update win-x86 SDL binaries 2023-03-08 09:24:32 +00:00
peppy
ecbe28799d Update osx-x64 SDL binaries 2023-03-08 09:23:22 +00:00
peppy
da916a88d5 Update osx-arm64 SDL binaries 2023-03-08 09:23:15 +00:00
peppy
09f36bcf76 Update win-x64 SDL binaries 2023-03-08 09:23:09 +00:00
peppy
07df446ec8 Update win-arm64 SDL binaries 2023-03-08 09:22:55 +00:00
peppy
3d22cd7cb9 Update linux-x86 SDL binaries 2023-03-08 09:22:54 +00:00
peppy
00c73365df Update linux-x64 SDL binaries 2023-03-08 09:21:38 +00:00
peppy
a30ddefbaf Update iOS SDL binaries 2023-03-08 09:21:10 +00:00
Dean Herbert
32913b2335
Merge pull request #152 from frenzibyte/ios-build
Add iOS platform support
2023-03-08 18:18:18 +09:00
Dean Herbert
903eebdec4
Remove one unnecessary mkdir invocation 2023-03-08 18:13:40 +09:00
Salman Ahmed
2519332ce6 Bump AppVeyor image 2023-03-08 11:59:01 +03:00
Salman Ahmed
e07402105e Bump projects to .NET 6 and add DllImport resolver for iOS 2023-03-08 11:51:55 +03:00
Salman Ahmed
98a238fe07 Include native iOS libraries in package 2023-03-08 11:51:03 +03:00
Salman Ahmed
f6cf0b57d1 Add iOS build action 2023-03-08 10:58:00 +03:00
Dean Herbert
7e10ed6133 Merge remote-tracking branch 'upstream/update-win-x86-binaries' 2022-12-12 02:36:36 +09:00
Dean Herbert
3ec97c0015 Merge remote-tracking branch 'upstream/update-win-x64-binaries' 2022-12-12 02:36:35 +09:00
Dean Herbert
d00aabdc2f Merge remote-tracking branch 'upstream/update-win-arm64-binaries' 2022-12-12 02:36:34 +09:00
Dean Herbert
429dca2440 Merge remote-tracking branch 'upstream/update-osx-x64-binaries' 2022-12-12 02:36:34 +09:00
Dean Herbert
0b373076f6 Merge remote-tracking branch 'upstream/update-osx-arm64-binaries' 2022-12-12 02:36:33 +09:00
Dean Herbert
0f4a522842 Merge remote-tracking branch 'upstream/update-linux-x86-binaries' 2022-12-12 02:36:32 +09:00
peppy
b11bffacf6 Update osx-x64 SDL binaries 2022-12-11 17:33:40 +00:00
peppy
fdae20ed32 Update osx-arm64 SDL binaries 2022-12-11 17:31:15 +00:00
peppy
9dd06c9aa7 Update linux-x64 SDL binaries 2022-12-11 17:31:06 +00:00
peppy
3de7aae105 Update win-x86 SDL binaries 2022-12-11 17:29:51 +00:00
peppy
aa6c6691d1 Update linux-x86 SDL binaries 2022-12-11 17:29:48 +00:00
peppy
356c96c4b4 Update win-x64 SDL binaries 2022-12-11 17:29:46 +00:00
peppy
d5c82b3874 Update win-arm64 SDL binaries 2022-12-11 17:29:27 +00:00
Dean Herbert
0fc27053cd Switch to checkout@v3 2022-12-12 02:26:22 +09:00
Dean Herbert
7b7046588d Lock to SDL2 branch for now 2022-12-12 02:08:25 +09:00
Dean Herbert
30125e4c6d Merge remote-tracking branch 'upstream/update-win-x86-binaries' 2022-10-24 00:58:33 +09:00
Dean Herbert
38d4e62170 Merge remote-tracking branch 'upstream/update-win-x64-binaries' 2022-10-24 00:58:33 +09:00
Dean Herbert
ff81aa5bbf Merge remote-tracking branch 'upstream/update-win-arm64-binaries' 2022-10-24 00:58:32 +09:00
Dean Herbert
d256ffdeea Merge remote-tracking branch 'upstream/update-osx-x64-binaries' 2022-10-24 00:58:31 +09:00
Dean Herbert
5547e37319 Merge remote-tracking branch 'upstream/update-osx-arm64-binaries' 2022-10-24 00:58:31 +09:00
Dean Herbert
838530d427 Merge remote-tracking branch 'upstream/update-linux-x86-binaries' 2022-10-24 00:58:30 +09:00
peppy
ad5cacb46e Update osx-x64 SDL binaries 2022-10-23 15:41:31 +00:00
peppy
a0aab9f1c7 Update osx-arm64 SDL binaries 2022-10-23 15:40:15 +00:00
peppy
4071670de8 Update linux-x86 SDL binaries 2022-10-23 15:40:11 +00:00
peppy
fb9bc3460a Update win-x64 SDL binaries 2022-10-23 15:39:43 +00:00
peppy
741b0ed124 Update win-x86 SDL binaries 2022-10-23 15:39:05 +00:00
peppy
658b2d0dda Update win-arm64 SDL binaries 2022-10-23 15:38:54 +00:00
peppy
b0dff7be83 Update linux-x64 SDL binaries 2022-10-23 15:38:30 +00:00
Dean Herbert
b2530ebcfe Merge remote-tracking branch 'upstream/update-win-x86-binaries' 2022-08-15 23:33:09 +09:00
Dean Herbert
cfaabd8550 Merge remote-tracking branch 'upstream/update-win-x64-binaries' 2022-08-15 23:33:08 +09:00
Dean Herbert
b10629a93b Merge remote-tracking branch 'upstream/update-win-arm64-binaries' 2022-08-15 23:33:06 +09:00
Dean Herbert
66fafb3d76 Merge remote-tracking branch 'upstream/update-osx-x64-binaries' 2022-08-15 23:33:05 +09:00
Dean Herbert
bd3a9589c8 Merge remote-tracking branch 'upstream/update-osx-arm64-binaries' 2022-08-15 23:33:04 +09:00
Dean Herbert
c525718620 Merge remote-tracking branch 'upstream/update-linux-x86-binaries' 2022-08-15 23:33:02 +09:00
peppy
68b683d275 Update osx-arm64 SDL binaries 2022-08-15 14:15:35 +00:00
peppy
686c286baa Update osx-x64 SDL binaries 2022-08-15 14:15:21 +00:00
peppy
63bf18bb0a Update win-x86 SDL binaries 2022-08-15 14:14:56 +00:00
peppy
b3f4650a53 Update win-x64 SDL binaries 2022-08-15 14:14:35 +00:00
peppy
345238b69a Update linux-x86 SDL binaries 2022-08-15 14:14:28 +00:00
peppy
b408ea8ed5 Update win-arm64 SDL binaries 2022-08-15 14:13:32 +00:00
peppy
685f7ae03a Update linux-x64 SDL binaries 2022-08-15 14:12:54 +00:00
Dean Herbert
a0a77142af Update create-pull-request version to avoid python errors 2022-08-15 23:09:32 +09:00
Dean Herbert
bd78b7596e Merge remote-tracking branch 'upstream/update-win-x86-binaries' 2022-08-08 15:01:25 +09:00
Dean Herbert
dcfa9193db Merge remote-tracking branch 'upstream/update-win-x64-binaries' 2022-08-08 15:01:24 +09:00
Dean Herbert
ff8df8363a Merge remote-tracking branch 'upstream/update-win-arm64-binaries' 2022-08-08 15:01:22 +09:00
Dean Herbert
f1157c7b62 Merge remote-tracking branch 'upstream/update-osx-x64-binaries' 2022-08-08 15:01:20 +09:00
Dean Herbert
819ca80e95 Merge remote-tracking branch 'upstream/update-osx-arm64-binaries' 2022-08-08 15:01:19 +09:00
Dean Herbert
a2a122d8cf Merge remote-tracking branch 'upstream/update-linux-x86-binaries' 2022-08-08 15:01:15 +09:00
github-actions[bot]
f4c321267e Update osx-arm64 SDL binaries 2022-08-08 05:47:21 +00:00
github-actions[bot]
017f034e30 Update osx-x64 SDL binaries 2022-08-08 05:45:33 +00:00
github-actions[bot]
f3af14599f Update win-arm64 SDL binaries 2022-08-08 05:43:27 +00:00
github-actions[bot]
978e54378a Update win-x64 SDL binaries 2022-08-08 05:43:15 +00:00
github-actions[bot]
0f36127209 Update win-x86 SDL binaries 2022-08-08 05:42:07 +00:00
github-actions[bot]
e0cd3e38b1 Update linux-x86 SDL binaries 2022-08-08 05:41:51 +00:00
github-actions[bot]
78ec07396f Update linux-x64 SDL binaries 2022-08-08 05:40:59 +00:00
Dan Balasescu
4da4dc03d4
Merge pull request #118 from elvodqa/master
Add SDL2_image
2022-05-27 14:32:51 +09:00
Emir Cengiz
56be43cd7b Add SDL2_image.cs 2022-05-27 08:18:40 +03:00
Dean Herbert
fd5e568e35 Merge remote-tracking branch 'upstream/update-win-x86-binaries' 2022-05-23 15:16:59 +09:00
Dean Herbert
1f6614f127 Merge remote-tracking branch 'upstream/update-win-x64-binaries' 2022-05-23 15:16:58 +09:00
Dean Herbert
46d736ff5a Merge remote-tracking branch 'upstream/update-win-arm64-binaries' 2022-05-23 15:16:57 +09:00
Dean Herbert
b45fdd562a Merge remote-tracking branch 'upstream/update-osx-x64-binaries' 2022-05-23 15:16:56 +09:00
Dean Herbert
9110635e65 Merge remote-tracking branch 'upstream/update-osx-arm64-binaries' 2022-05-23 15:16:54 +09:00
Dean Herbert
fca9b7bf84 Merge remote-tracking branch 'upstream/update-linux-x86-binaries' 2022-05-23 15:16:51 +09:00
github-actions[bot]
b721400a5a Update osx-x64 SDL binaries 2022-05-23 05:42:10 +00:00
github-actions[bot]
7af8222ce3 Update win-arm64 SDL binaries 2022-05-23 05:41:56 +00:00
github-actions[bot]
aacbe5085a Update win-x86 SDL binaries 2022-05-23 05:41:21 +00:00
github-actions[bot]
61272d3cbc Update osx-arm64 SDL binaries 2022-05-23 05:40:57 +00:00
github-actions[bot]
2070a7f25c Update linux-x86 SDL binaries 2022-05-23 05:40:44 +00:00
github-actions[bot]
39e7892cba Update win-x64 SDL binaries 2022-05-23 05:40:33 +00:00
github-actions[bot]
ff158cffd3 Update linux-x64 SDL binaries 2022-05-23 05:39:23 +00:00
Dean Herbert
0b5cb56c74
Merge pull request #116 from ekrctb/fix-i386
Workaround GitHub Action ubuntu-20.04 image issue
2022-05-23 14:36:45 +09:00
ekrctb
a2a5bb01c1 Workaround GitHub's ubuntu-20.04 image issue
This should fix linux-x86 failure
2022-05-23 14:21:45 +09:00
Dean Herbert
562fc2fcfe
Merge pull request #115 from ekrctb/fix-i386
Fix linux-x86 build failure and improve apt-get command line
2022-05-23 13:13:48 +09:00
ekrctb
9f7112dab7 Improve apt-get command line
- Use native Ninja.
- `libwayland-client++0` and `libwayland-cursor++0` are redundant
  because these are dependencies of `libwayland-dev`
- Added `-y` flag and `cmake` for local testing.
2022-05-23 12:48:22 +09:00
ekrctb
95c34e8606 Remove PPA that is no longer needed
this is no longer needed because we updated OS to 20.04
and it is breaking i386 build
2022-05-23 12:40:20 +09:00
Dean Herbert
74b903b48f
Merge pull request #108 from ekrctb/bump-linux-builder
Bump Linux builder OS to ubuntu-20.04
2022-05-22 19:03:19 +09:00
ekrctb
79efec7b3a Bump Linux builder OS to ubuntu-20.04
The resulting binary will require glibc version 2.31 or newer.
2022-05-21 18:37:01 +09:00
Dean Herbert
d6ddadcd3f Merge remote-tracking branch 'upstream/update-osx-x64-binaries' 2022-05-09 19:29:07 +09:00
github-actions[bot]
5b8f857b62 Update osx-x64 SDL binaries 2022-05-09 10:20:23 +00:00
Dean Herbert
619b60041d Merge remote-tracking branch 'upstream/update-win-x86-binaries' 2022-05-09 19:14:51 +09:00
Dean Herbert
1c79fa9d6b Merge remote-tracking branch 'upstream/update-win-x64-binaries' 2022-05-09 19:14:50 +09:00
Dean Herbert
1815852dcc Merge remote-tracking branch 'upstream/update-win-arm64-binaries' 2022-05-09 19:14:49 +09:00
Dean Herbert
4eaea60401 Merge remote-tracking branch 'upstream/update-osx-arm64-binaries' 2022-05-09 19:14:20 +09:00
Dean Herbert
46f2eabdc7 Merge remote-tracking branch 'upstream/update-linux-x86-binaries' 2022-05-09 19:14:18 +09:00
github-actions[bot]
f06b293caa Update osx-arm64 SDL binaries 2022-05-09 10:12:34 +00:00
github-actions[bot]
c7e834b048 Update win-x64 SDL binaries 2022-05-09 10:10:05 +00:00
github-actions[bot]
fdbdfbc6b4 Update win-x86 SDL binaries 2022-05-09 10:09:56 +00:00
github-actions[bot]
2e544995ce Update linux-x86 SDL binaries 2022-05-09 10:09:47 +00:00
github-actions[bot]
7c09b28d8a Update win-arm64 SDL binaries 2022-05-09 10:09:04 +00:00
github-actions[bot]
c33223356b Update linux-x64 SDL binaries 2022-05-09 10:07:01 +00:00
Dean Herbert
f0df2348d3
Merge pull request #100 from peppy/2.0.22
Pull in 2.0.22 changes from upstream
2022-05-09 19:03:39 +09:00
Dean Herbert
36ca8b2802 Merge branch 'flibitijibibo/master' 2022-05-09 19:01:28 +09:00
Dean Herbert
d1e53cea05 Merge remote-tracking branch 'upstream/update-win-x86-binaries' 2022-01-29 15:01:22 +09:00
Dean Herbert
1821b2bb17 Merge remote-tracking branch 'upstream/update-win-x64-binaries' 2022-01-29 15:01:21 +09:00
Dean Herbert
b7fd7d726c Merge remote-tracking branch 'upstream/update-win-arm64-binaries' 2022-01-29 15:01:21 +09:00
Dean Herbert
19aa8b1798 Merge remote-tracking branch 'upstream/update-osx-x64-binaries' 2022-01-29 15:01:20 +09:00
Dean Herbert
f32e4b5478 Merge remote-tracking branch 'upstream/update-osx-arm64-binaries' 2022-01-29 15:01:19 +09:00
Dean Herbert
366aa00589 Merge remote-tracking branch 'upstream/update-linux-x86-binaries' 2022-01-29 15:01:17 +09:00
github-actions[bot]
ae180cfc1f Update osx-x64 SDL binaries 2022-01-29 05:49:57 +00:00
github-actions[bot]
187f94d325 Update osx-arm64 SDL binaries 2022-01-29 05:49:17 +00:00
github-actions[bot]
81c382eab4 Update win-arm64 SDL binaries 2022-01-29 05:47:34 +00:00
github-actions[bot]
11d2922072 Update win-x64 SDL binaries 2022-01-29 05:47:28 +00:00
github-actions[bot]
702b7c877a Update win-x86 SDL binaries 2022-01-29 05:47:01 +00:00
github-actions[bot]
735989b51e Update linux-x64 SDL binaries 2022-01-29 05:46:37 +00:00
github-actions[bot]
8cefdf4486 Update linux-x86 SDL binaries 2022-01-29 05:45:54 +00:00
Dean Herbert
9a9d4fbfb9 Merge remote-tracking branch 'upstream/update-osx-x64-binaries' 2021-11-23 18:05:50 +09:00
Dean Herbert
f84a835639 Merge remote-tracking branch 'upstream/update-win-x86-binaries' 2021-11-23 18:05:48 +09:00
Dean Herbert
52f2a61602 Merge remote-tracking branch 'upstream/update-win-x64-binaries' 2021-11-23 18:05:45 +09:00
Dean Herbert
3b42c239f0 Merge remote-tracking branch 'upstream/update-win-arm64-binaries' 2021-11-23 18:05:43 +09:00
Dean Herbert
a0a6f8f64d Merge remote-tracking branch 'upstream/update-osx-arm64-binaries' 2021-11-23 18:05:41 +09:00
Dean Herbert
d4c8b25a79 Merge remote-tracking branch 'upstream/update-linux-x86-binaries' 2021-11-23 18:05:40 +09:00
github-actions[bot]
31db8dd836 Update osx-x64 SDL binaries 2021-11-23 08:40:03 +00:00
github-actions[bot]
0e75d73195 Update osx-arm64 SDL binaries 2021-11-23 08:39:51 +00:00
github-actions[bot]
8f179f0549 Update win-x86 SDL binaries 2021-11-23 08:39:37 +00:00
github-actions[bot]
ff380bf048 Update win-arm64 SDL binaries 2021-11-23 08:39:11 +00:00
github-actions[bot]
48224c9bd6 Update win-x64 SDL binaries 2021-11-23 08:38:45 +00:00
github-actions[bot]
d4bc1065c0 Update linux-x86 SDL binaries 2021-11-23 08:38:31 +00:00
github-actions[bot]
c168f4271a Update linux-x64 SDL binaries 2021-11-23 08:37:43 +00:00
Dean Herbert
0c6e7ac1a2 Merge branch '2.0.18' 2021-11-23 17:32:21 +09:00
Dean Herbert
054e86eabe Stop using fork 2021-11-23 17:29:50 +09:00
Dean Herbert
6dd9f14040
Merge pull request #85 from Susko3/add-hint-ime-show-ui 2021-11-21 10:04:14 +09:00
Susko3
9a854009f0 Add SDL_HINT_IME_SHOW_UI
SDL 2.0.18 doesn't exist yet, but I'm guessing https://github.com/libsdl-org/SDL/pull/4707
will make it in.

That PR is already included in our current libs.
2021-11-20 20:53:30 +01:00
Caleb Cornett
80841ecef0 Update for 2.0.18 2021-11-19 14:01:58 -05:00
Dean Herbert
9ad2ef91d4 Merge remote-tracking branch 'upstream/update-win-x86-binaries' 2021-10-25 19:11:20 +09:00
Dean Herbert
46d450901c Merge remote-tracking branch 'upstream/update-win-x64-binaries' 2021-10-25 19:11:19 +09:00
Dean Herbert
a903801fcb Merge remote-tracking branch 'upstream/update-win-arm64-binaries' 2021-10-25 19:11:19 +09:00
Dean Herbert
79c04ec4e4 Merge remote-tracking branch 'upstream/update-osx-x64-binaries' 2021-10-25 19:11:17 +09:00
Dean Herbert
365ac7343c Merge remote-tracking branch 'upstream/update-osx-arm64-binaries' 2021-10-25 19:11:15 +09:00
Dean Herbert
589530739f Merge remote-tracking branch 'upstream/update-linux-x86-binaries' 2021-10-25 19:11:13 +09:00
github-actions[bot]
3dd6caee61 Update osx-x64 SDL binaries 2021-10-25 09:02:48 +00:00
github-actions[bot]
7b9cc0930c Update osx-arm64 SDL binaries 2021-10-25 09:02:21 +00:00
github-actions[bot]
9e75a76b27 Update win-x64 SDL binaries 2021-10-25 09:01:53 +00:00
github-actions[bot]
1ccc304a3b Update win-x86 SDL binaries 2021-10-25 09:01:01 +00:00
github-actions[bot]
41f1a7b98c Update win-arm64 SDL binaries 2021-10-25 09:00:33 +00:00
github-actions[bot]
7411451ccd Update linux-x86 SDL binaries 2021-10-25 09:00:16 +00:00
github-actions[bot]
6cbf30b667 Update linux-x64 SDL binaries 2021-10-25 08:59:36 +00:00
Dean Herbert
13efd80035 Merge remote-tracking branch 'upstream/update-linux-x64-binaries' 2021-08-20 13:32:14 +09:00
Dean Herbert
661432e075 Merge remote-tracking branch 'upstream/update-linux-x86-binaries' 2021-08-20 13:32:13 +09:00
Dean Herbert
07bf0132e2 Merge remote-tracking branch 'upstream/update-osx-arm64-binaries' 2021-08-20 13:32:12 +09:00
Dean Herbert
1740846bfb Merge remote-tracking branch 'upstream/update-osx-x64-binaries' 2021-08-20 13:32:12 +09:00
Dean Herbert
c7b2eed527 Merge remote-tracking branch 'upstream/update-win-arm64-binaries' 2021-08-20 13:32:11 +09:00
Dean Herbert
1f5701255d Merge remote-tracking branch 'upstream/update-win-x64-binaries' 2021-08-20 13:32:10 +09:00
Dean Herbert
47d127ff42 Merge remote-tracking branch 'upstream/update-win-x86-binaries' 2021-08-20 13:32:09 +09:00
github-actions[bot]
57efe7508d Update win-x86 SDL binaries 2021-08-20 13:28:43 +09:00
github-actions[bot]
180c6624da Update win-x64 SDL binaries 2021-08-20 13:28:43 +09:00
github-actions[bot]
616ec3e4af Update win-arm64 SDL binaries 2021-08-20 13:28:42 +09:00
github-actions[bot]
d122cdc0cc Update osx-x64 SDL binaries 2021-08-20 13:28:42 +09:00
github-actions[bot]
7fef4e4bcf Update osx-arm64 SDL binaries 2021-08-20 13:28:42 +09:00
github-actions[bot]
54fea85d7f Update linux-x86 SDL binaries 2021-08-20 13:28:42 +09:00
github-actions[bot]
7e253ea7fd Update linux-x64 SDL binaries 2021-08-20 13:28:42 +09:00
github-actions[bot]
1b8cb2a3ef Update osx-x64 SDL binaries 2021-08-20 04:24:33 +00:00
Dean Herbert
be91db5b85
Don't automatically build native dependencies on push
We don't really need this. We always manually do these updates anyway.
2021-08-20 13:24:04 +09:00
github-actions[bot]
e063120875 Update osx-arm64 SDL binaries 2021-08-20 04:20:30 +00:00
github-actions[bot]
a5dd0e3002 Update win-x64 SDL binaries 2021-08-20 04:12:32 +00:00
github-actions[bot]
55c8fc9736 Update win-arm64 SDL binaries 2021-08-20 04:12:09 +00:00
github-actions[bot]
1d947d73ad Update win-x86 SDL binaries 2021-08-20 04:11:50 +00:00
github-actions[bot]
c51685eab3 Update linux-x64 SDL binaries 2021-08-20 04:11:14 +00:00
github-actions[bot]
6ce8eaf83a Update linux-x86 SDL binaries 2021-08-20 04:10:50 +00:00
Dean Herbert
8ac357412e
Merge pull request #65 from ppy/update-win-x64-binaries
Update win-x64 SDL binaries
2021-08-11 13:21:44 +09:00
Dean Herbert
e7e6bdefb0
Merge pull request #67 from ppy/update-win-x86-binaries
Update win-x86 SDL binaries
2021-08-11 13:21:36 +09:00
Dean Herbert
36ceacad9b
Merge pull request #66 from ppy/update-win-arm64-binaries
Update win-arm64 SDL binaries
2021-08-11 13:21:20 +09:00
github-actions[bot]
c1556e8f95 Update win-x64 SDL binaries 2021-08-11 03:03:10 +00:00
github-actions[bot]
52db66311c Update win-x86 SDL binaries 2021-08-11 03:03:05 +00:00
github-actions[bot]
606c573d3e Update win-arm64 SDL binaries 2021-08-11 03:03:03 +00:00
Dean Herbert
c94f27fa40 Merge branch 'flibitijibibo/master' 2021-08-11 11:59:58 +09:00
Dean Herbert
7a875af110
Merge pull request #53 from ppy/update-win-arm64-binaries
Update win-arm64 SDL binaries
2021-08-06 23:05:44 +09:00
Dean Herbert
253d6b4da9
Merge pull request #54 from ppy/update-win-x86-binaries
Update win-x86 SDL binaries
2021-08-06 23:05:38 +09:00
Dean Herbert
88abfa1730
Merge pull request #55 from ppy/update-win-x64-binaries
Update win-x64 SDL binaries
2021-08-06 23:05:33 +09:00
Dean Herbert
4c2bf2ab88
Merge pull request #62 from ppy/update-osx-arm64-binaries
Update osx-arm64 SDL binaries
2021-08-06 23:05:27 +09:00
Dean Herbert
82aef37aca
Merge pull request #63 from ppy/update-osx-x64-binaries
Update osx-x64 SDL binaries
2021-08-06 23:05:21 +09:00
Dean Herbert
52e4a98e0a
Merge pull request #61 from ppy/update-linux-x86-binaries
Update linux-x86 SDL binaries
2021-08-06 23:05:03 +09:00
Dean Herbert
7a7197c277
Merge pull request #60 from ppy/update-linux-x64-binaries
Update linux-x64 SDL binaries
2021-08-06 23:04:53 +09:00
github-actions[bot]
ef5dc11cd3 Update osx-x64 SDL binaries 2021-08-06 14:02:43 +00:00
github-actions[bot]
e368843d7a Update osx-arm64 SDL binaries 2021-08-06 14:02:28 +00:00
github-actions[bot]
74a1fff30b Update win-x86 SDL binaries 2021-08-06 14:00:55 +00:00
github-actions[bot]
bcec137696 Update win-x64 SDL binaries 2021-08-06 14:00:18 +00:00
github-actions[bot]
33e12f2306 Update win-arm64 SDL binaries 2021-08-06 13:59:54 +00:00
github-actions[bot]
3fcefdd96d Update linux-x86 SDL binaries 2021-08-06 13:59:36 +00:00
github-actions[bot]
104a0e76cc Update linux-x64 SDL binaries 2021-08-06 13:58:54 +00:00
Dean Herbert
184bcfd476
Merge pull request #49 from ppy/update-linux-x64-binaries
Update linux-x64 SDL binaries
2021-07-25 15:31:13 +09:00
Dean Herbert
ae543f186c
Merge pull request #50 from ppy/update-linux-x86-binaries
Update linux-x86 SDL binaries
2021-07-25 15:30:58 +09:00
github-actions[bot]
1f2d1af595 Update linux-x86 SDL binaries 2021-07-25 06:29:36 +00:00
github-actions[bot]
ec825444fb Update linux-x64 SDL binaries 2021-07-25 06:28:52 +00:00
Dean Herbert
d786027acc
Merge pull request #59 from frenzibyte/fix-linux-failures
Fix linux platform workflow failures
2021-07-25 15:26:42 +09:00
Salman Ahmed
7e899b49c0 Fix linux platform workflow failures 2021-07-25 09:11:53 +03:00
Dean Herbert
2c82d193b9
Merge pull request #39 from ppy/update-win-arm64-binaries
Update win-arm64 SDL binaries
2021-07-25 13:48:22 +09:00
Dean Herbert
300874e40a
Merge pull request #51 from ppy/update-osx-x64-binaries
Update osx-x64 SDL binaries
2021-07-25 13:48:14 +09:00
Dean Herbert
4b751678a2
Merge pull request #52 from ppy/update-osx-arm64-binaries
Update osx-arm64 SDL binaries
2021-07-25 13:48:07 +09:00
Dean Herbert
d0d4705c55
Merge pull request #41 from ppy/update-win-x86-binaries
Update win-x86 SDL binaries
2021-07-25 13:47:43 +09:00
Dean Herbert
d9511db82c
Merge pull request #40 from ppy/update-win-x64-binaries
Update win-x64 SDL binaries
2021-07-25 13:47:33 +09:00
github-actions[bot]
16fdc264b6 Update osx-arm64 SDL binaries 2021-07-25 04:36:46 +00:00
github-actions[bot]
1415d15998 Update osx-x64 SDL binaries 2021-07-25 04:33:23 +00:00
github-actions[bot]
cd42526f1c Update win-arm64 SDL binaries 2021-07-25 04:32:55 +00:00
github-actions[bot]
251ec9ae31 Update win-x86 SDL binaries 2021-07-25 04:32:51 +00:00
github-actions[bot]
b188a3b90c Update win-x64 SDL binaries 2021-07-25 04:32:48 +00:00
Dean Herbert
9cb3215569
Merge pull request #48 from boswelja/missing-includes
Add missing includes for available binaries
2021-07-22 19:37:52 +09:00
Jack Boswell (boswelja)
a535172268 Add missing win-arm64 include 2021-07-22 20:35:36 +12:00
Jack Boswell (boswelja)
afaa34f0f3 Add missing include for osx-arm64 2021-07-22 20:34:55 +12:00
Dean Herbert
42709cf78f Merge branch 'flibitijibibo/master' 2021-06-06 23:24:51 +09:00
Dean Herbert
abd696f7c0 Merge remote-tracking branch 'upstream/update-linux-x86-binaries' 2021-05-01 20:10:15 +09:00
github-actions[bot]
8b76a259af Update linux-x86 SDL binaries 2021-05-01 10:31:31 +00:00
github-actions[bot]
0ea9805e1d Update linux-x64 SDL binaries 2021-05-01 10:31:12 +00:00
Dean Herbert
dc716ca7c5
Merge pull request #43 from Ryujinx/fix/ubuntu-18.04
ci: Build on ubuntu 18.04 for Linux
2021-05-01 19:28:38 +09:00
Mary
db92e59f27 ci: Build on ubuntu 18.04 for Linux
This is to ensure we have an old enough glibc to be compatible wih
ancient version of it.
2021-05-01 12:04:16 +02:00
Dean Herbert
94f6c5e79a Merge remote-tracking branch 'upstream/update-win-x86-binaries' 2021-04-10 00:00:31 +09:00
Dean Herbert
b97b3cd339 Merge remote-tracking branch 'upstream/update-win-x64-binaries' 2021-04-10 00:00:29 +09:00
Dean Herbert
460f879545 Merge remote-tracking branch 'upstream/update-win-arm64-binaries' 2021-04-10 00:00:28 +09:00
Dean Herbert
5944136044 Merge remote-tracking branch 'upstream/update-osx-x64-binaries' 2021-04-10 00:00:26 +09:00
Dean Herbert
c54101eaf5 Merge remote-tracking branch 'upstream/update-osx-arm64-binaries' 2021-04-10 00:00:25 +09:00
Dean Herbert
b40112a74b Merge remote-tracking branch 'upstream/update-linux-x86-binaries' 2021-04-10 00:00:22 +09:00
github-actions[bot]
722f71f3a5 Update osx-arm64 SDL binaries 2021-04-09 13:25:21 +00:00
github-actions[bot]
2ee992ef3b Update osx-x64 SDL binaries 2021-04-09 13:25:11 +00:00
github-actions[bot]
4785fd817f Update win-arm64 SDL binaries 2021-04-09 13:22:43 +00:00
github-actions[bot]
a04537c994 Update win-x64 SDL binaries 2021-04-09 13:22:42 +00:00
github-actions[bot]
8462f99195 Update win-x86 SDL binaries 2021-04-09 13:22:41 +00:00
github-actions[bot]
7b7585b045 Update linux-x86 SDL binaries 2021-04-09 13:21:30 +00:00
github-actions[bot]
65b8105f09 Update linux-x64 SDL binaries 2021-04-09 13:21:06 +00:00
Dean Herbert
83717c51ef
Merge pull request #23 from ppy/update-linux-x64-binaries
Update linux-x64 SDL binaries
2021-04-07 11:37:00 +09:00
Dean Herbert
b8b194a7ec
Merge pull request #24 from ppy/update-linux-x86-binaries
Update linux-x86 SDL binaries
2021-04-07 11:36:47 +09:00
Dean Herbert
c9b096c847
Merge pull request #25 from ppy/update-win-x86-binaries
Update win-x86 SDL binaries
2021-04-07 11:36:39 +09:00
Dean Herbert
4c196724b0
Merge pull request #26 from ppy/update-win-arm64-binaries
Update win-arm64 SDL binaries
2021-04-07 11:36:33 +09:00
Dean Herbert
ecc9a9a154
Merge pull request #27 from ppy/update-win-x64-binaries
Update win-x64 SDL binaries
2021-04-07 11:36:28 +09:00
Dean Herbert
d5484a2fec
Merge pull request #28 from ppy/update-osx-arm64-binaries
Update osx-arm64 SDL binaries
2021-04-07 11:36:23 +09:00
Dean Herbert
9be777f917
Merge pull request #29 from ppy/update-osx-x64-binaries
Update osx-x64 SDL binaries
2021-04-07 11:35:14 +09:00
github-actions[bot]
c0281870b1 Update osx-x64 SDL binaries 2021-04-07 01:20:24 +00:00
github-actions[bot]
a858e3061d Update osx-arm64 SDL binaries 2021-04-07 01:19:18 +00:00
github-actions[bot]
8110b3c582 Update win-arm64 SDL binaries 2021-04-07 01:19:06 +00:00
github-actions[bot]
89753c4684 Update win-x64 SDL binaries 2021-04-07 01:19:05 +00:00
github-actions[bot]
36eccd760b Update win-x86 SDL binaries 2021-04-07 01:19:01 +00:00
github-actions[bot]
0c4c44634f Update linux-x86 SDL binaries 2021-04-07 01:19:00 +00:00
github-actions[bot]
b904c1164d Update linux-x64 SDL binaries 2021-04-07 01:17:53 +00:00
Dean Herbert
8825ccdf59
Merge pull request #22 from Ryujinx/feature/ci-revamp 2021-04-07 10:15:29 +09:00
Mary
4ca474a69b Switch target repo to ppy/SDL 2021-04-06 23:52:40 +02:00
Mary
8807bcc1b2 Rework CI
This rework current CI to build on all standard platform and architectures.

The following changes were made:
- Adds support for Windows x86, x64 and ARM64 builds
- Adds support for macOS arm64
- Use cmake instead of autoconf
- All artifacts are now build in Release insead of Debug
- A matrix is now used instead of individual steps to deduplicate steps and to allow adding new target architecture with a single line
- If build of one job fails, it will now let others continue instead of cancelling them
- The action can now be triggered via a manual workflow
2021-04-05 17:34:55 +02:00
Dean Herbert
503baa3663 Use locally build macOS libSDL to fix macOS 10.14 compatibility 2021-04-02 16:18:46 +09:00
Dean Herbert
408fadcded Try forcing xcode-select 2021-04-02 15:37:35 +09:00
Dean Herbert
8a2eb9bfa0 Use DEVELOPER_DIR instead 2021-04-02 15:19:06 +09:00
Dean Herbert
e05d0ef426 Attempt to force older version of xcode 2021-04-02 15:11:52 +09:00
Dean Herbert
53596261ca
Merge pull request #19 from ppy/update-macos-binaries
Update macOS SDL binaries
2021-04-02 14:35:21 +09:00
github-actions[bot]
e230266ff3 Update macOS SDL binaries 2021-04-02 05:34:08 +00:00
Dean Herbert
1b81e33fee Update windows binaries
Still building these manually as we don't have a github script for it
yet.
2021-04-02 14:28:18 +09:00
Dean Herbert
947e2503da Move envvar to correct task 2021-04-02 14:22:45 +09:00
Dean Herbert
b6fdbf043e
Merge pull request #17 from ppy/update-macos-binaries
Update macOS SDL binaries
2021-04-02 14:14:46 +09:00
github-actions[bot]
c37b077242 Update macOS SDL binaries 2021-04-02 05:03:04 +00:00
Dean Herbert
9bf64d5cd1 Attempt to target earlier macOS SDK version 2021-04-02 13:57:14 +09:00
Dean Herbert
3216da88bf
Merge pull request #18 from ppy/update-linux-binaries
Update Linux SDL binaries
2021-04-02 13:57:08 +09:00
github-actions[bot]
7bc858acd8 Update Linux SDL binaries 2021-04-02 04:54:37 +00:00
Dean Herbert
cc7d210bf4 Move fork to org 2021-04-02 13:43:25 +09:00
Dean Herbert
3442d7e8b4 Target fork for the time being 2021-04-02 13:39:40 +09:00
Dean Herbert
a043e0bb33 Add alpha suffix to release as prerelease package 2021-04-02 13:35:55 +09:00
Dean Herbert
186a34554d Merge branch 'flibitijibibo/master' 2021-03-30 11:21:03 +09:00
Dean Herbert
67dc4d0842
Merge pull request #9 from ppy/update-linux-binaries
Update Linux SDL binaries
2021-03-30 10:33:35 +09:00
Dean Herbert
d00bb32648
Merge pull request #8 from ppy/update-macos-binaries
Update macOS SDL binaries
2021-03-30 10:33:15 +09:00
github-actions[bot]
18cbf1485e Update Linux SDL binaries 2021-03-30 00:37:09 +00:00
github-actions[bot]
742ad3c971 Update macOS SDL binaries 2021-03-30 00:33:12 +00:00
Dean Herbert
82e95483bd
Merge pull request #13 from Ryujinx/feature/2.0.14 2021-03-30 09:26:36 +09:00
Mary
e2fb4179bd Fix Github Action build
This fix github actions build issues since SDL migration to github.
2021-03-29 20:30:37 +02:00
Dean Herbert
eb4e0cbe50
Merge pull request #14 from peppy/merge-upstream 2021-03-29 16:47:19 +09:00
Dean Herbert
dc028d0497 Merge branch 'flibitijibibo/master' into merge-upstream 2021-03-29 16:45:52 +09:00
Dean Herbert
32330ebdbd Update windows binaries 2021-03-29 16:37:01 +09:00
Dan Balasescu
51e0a82a3c
Merge pull request #12 from peppy/fix-missing-linux-binaries
Add csproj include rules for linux binaries
2020-12-02 15:20:47 +09:00
Dean Herbert
c5911dcc22 Add missing include rules for linux bianries to csproj 2020-12-02 14:54:02 +09:00
Dean Herbert
5ace052807 Rename linux libraries to match expected filename 2020-12-02 14:52:45 +09:00
Dan Balasescu
5b7f489e98
Merge pull request #11 from peppy/macos-mojave-build
Switch macOS build to mojave host
2020-11-19 19:28:31 +09:00
Dean Herbert
ef21e36cea Switch macOS build to mojave host 2020-11-19 19:04:00 +09:00
Dan Balasescu
600dfe2de5
Merge pull request #10 from peppy/update-windows-native-libraries
Rollback windows builds to latest release (2.0.12)
2020-11-19 18:48:05 +09:00
Dean Herbert
0dfc1a8cbb Rollback windows builds to latest release (2.0.12)
Addresses the issue we found in https://github.com/ppy/osu-framework/issues/4004
2020-11-19 18:41:11 +09:00
Dan Balasescu
4c3602ce14
Merge pull request #3 from ppy/update-linux-binaries
Update Linux SDL binaries
2020-11-09 18:55:46 +09:00
Dan Balasescu
98e58cb814
Merge pull request #7 from ppy/update-macos-binaries
Update macOS SDL binaries
2020-11-09 18:55:34 +09:00
Dan Balasescu
1a11a38891
Merge pull request #6 from peppy/update-windows-native-libraries
Update windows native libraries
2020-11-09 18:53:52 +09:00
github-actions[bot]
eedabe04d2 Update Linux SDL binaries 2020-11-09 09:16:58 +00:00
github-actions[bot]
c219f70e0d Update macOS SDL binaries 2020-11-09 09:14:18 +00:00
Dan Balasescu
5acf9e579e
Merge pull request #5 from peppy/add-macos-native-build-action
Add macOS native binary build workflow
2020-11-09 18:06:07 +09:00
Dean Herbert
243fe0b884 Update windows native libraries to latest snapshot version 2020-11-09 16:02:39 +09:00
Dean Herbert
9289a3fd82 Add macOS native binary build workflow 2020-11-09 15:18:08 +09:00
Dan Balasescu
4d11cf48a9
Merge pull request #4 from Xyene/linux-sdl-fixups
Small fixups for Linux SDL builder
2020-05-07 11:02:31 +09:00
Tudor Brindus
0c9a67cd45 Check out SDL sources only once
This prevents weird issues where a commit can happen between when the
i386 binaries are built and when amd64 binaries are built, and also
speeds up the workflow a bit.
2020-05-06 16:07:55 -04:00
Tudor Brindus
6dba3318fa Properly title the Linux SDL autogenerated PR 2020-05-06 16:03:36 -04:00
Dean Herbert
12c4d809ef
Merge pull request #2 from Xyene/linux-libsdl-build
Add Docker-based build for building SDL on Linux
2020-05-05 15:01:48 +09:00
Tudor Brindus
155c51adb8 Add GitHub workflow to rebuild SDL binaries for Linux 2020-04-29 21:37:55 -04:00
Tudor Brindus
0addb31520 Add initial build of Linux SDL binaries 2020-04-29 21:37:55 -04:00
Tudor Brindus
32c23f3e35 Add Docker-based build for building SDL on Linux
Example usage, to build i386 libs:

  docker build -t sdl2-i386 -f Dockerfile.i386 .
  mkdir i386
  docker run -v `pwd`/compile:/entry -v `pwd`/i386:/io sdl2-i386

s/i386/amd64 to build for amd64.
2020-04-29 21:37:51 -04:00
Dan Balasescu
0729f73aa1
Merge pull request #1 from swoolcock/clean
Clean up for osu!framework
2020-04-16 21:05:18 +09:00
Shane Woolcock
67a6fb4532 Remove Makefile 2020-04-16 19:52:47 +09:30
Shane Woolcock
ad755967f3 Add appveyor.yml 2020-04-16 19:35:47 +09:30
Shane Woolcock
19be86c467 Add more NuGet info 2020-04-16 19:34:04 +09:30
Shane Woolcock
2994716b99 Remove gitlab CI 2020-04-15 17:38:50 +09:30
Shane Woolcock
ef9c50923a Add native libraries 2020-04-15 17:36:20 +09:30
Shane Woolcock
849d398070 Remove SDL2 extensions 2020-04-15 17:36:00 +09:30
Shane Woolcock
0f73183733 Only target netstandard2.0 2020-04-15 17:35:16 +09:30
36 changed files with 478 additions and 289 deletions

1
.github/FUNDING.yml vendored
View File

@ -1 +0,0 @@
github: [flibitijibibo]

9
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,9 @@
version: 2
updates:
- directory: /
package-ecosystem: github-actions
reviewers:
- marysaka
- TSRBerry
schedule:
interval: daily

92
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,92 @@
name: build-native
on:
workflow_dispatch:
inputs:
rev:
description: 'Ryujinx/SDL commit to build (this has to be a full commit sha, otherwise it will not work)'
required: true
# schedule:
# - cron: '0 0 * * *'
env:
BUILD_TYPE: Release
jobs:
build:
name: ${{ matrix.platform.name }}
runs-on: ${{ matrix.platform.os }}
strategy:
fail-fast: false
matrix:
platform:
- { name: win-x64, os: windows-latest, arch: x64 }
# - { name: win-x86, os: windows-latest, arch: Win32 }
- { name: win-arm64, os: windows-latest, arch: ARM64 }
- { name: linux-x64, os: ubuntu-20.04, arch: amd64 }
# - { name: linux-x86, os: ubuntu-20.04, arch: i386 }
- { name: linux-arm64, os: ubuntu-20.04, arch: arm64 }
- { name: osx-x64, os: macos-latest, arch: x86_64 }
- { name: osx-arm64, os: macos-latest, arch: arm64 }
steps:
- name: Setup qemu static
uses: docker/setup-qemu-action@v3
if: runner.os == 'Linux'
- uses: actions/checkout@v4
with:
repository: Ryujinx/SDL
ref: ${{ github.event.inputs.rev }}
- uses: actions/checkout@v4
with:
path: 'SDL2-CS'
- name: Build and prepare release
run: SDL2-CS/ci/run.sh $PWD $PWD/SDL2-CS/native/${{ matrix.platform.name }} ${{ matrix.platform.arch }}
shell: bash
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.platform.name }}-binaries
path: install_output
- name: Create pull request
uses: peter-evans/create-pull-request@v4
with:
commit-message: Update ${{ matrix.platform.name }} SDL binaries
title: Update ${{ matrix.platform.name }} SDL binaries
body: This PR has been auto-generated to update the ${{ matrix.platform.name }} SDL binaries.
branch: update-${{ matrix.platform.name }}-binaries
path: 'SDL2-CS'
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
build-ios:
name: ios
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
repository: Ryujinx/SDL
ref: ${{ github.event.inputs.rev }}
- uses: actions/checkout@v4
with:
path: 'SDL2-CS'
- name: Build (iOS)
run: xcodebuild -project Xcode/SDL/SDL.xcodeproj -scheme xcFramework-iOS -configuration Release
- name: Prepare release directory (iOS)
run: mkdir -p SDL2-CS/native/ios
- name: Prepare release (iOS)
run: |
mkdir -p SDL2-CS/native/ios/SDL2.xcframework/ios-arm64/SDL2.framework;
mkdir -p SDL2-CS/native/ios/SDL2.xcframework/ios-arm64_x86_64-simulator/SDL2.framework;
cp Xcode/SDL/Products/SDL2.xcframework/Info.plist SDL2-CS/native/ios/SDL2.xcframework/Info.plist;
cp Xcode/SDL/Products/SDL2.xcframework/ios-arm64/SDL2.framework/SDL2 SDL2-CS/native/ios/SDL2.xcframework/ios-arm64/SDL2.framework/SDL2;
cp Xcode/SDL/Products/SDL2.xcframework/ios-arm64/SDL2.framework/Info.plist SDL2-CS/native/ios/SDL2.xcframework/ios-arm64/SDL2.framework/Info.plist;
cp Xcode/SDL/Products/SDL2.xcframework/ios-arm64_x86_64-simulator/SDL2.framework/SDL2 SDL2-CS/native/ios/SDL2.xcframework/ios-arm64_x86_64-simulator/SDL2.framework/SDL2;
cp Xcode/SDL/Products/SDL2.xcframework/ios-arm64_x86_64-simulator/SDL2.framework/Info.plist SDL2-CS/native/ios/SDL2.xcframework/ios-arm64_x86_64-simulator/SDL2.framework/Info.plist;
- name: Create pull request
uses: peter-evans/create-pull-request@v4
with:
commit-message: Update iOS SDL binaries
title: Update iOS SDL binaries
body: This PR has been auto-genereated to update the iOS SDL binaries
branch: update-ios-binaries
path: 'SDL2-CS'
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'

34
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,34 @@
name: Build
on:
workflow_dispatch:
inputs: {}
#push:
# branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- uses: nuget/setup-nuget@v1
with:
nuget-api-key: ${{ secrets.NUGET_API_KEY }}
nuget-version: '6.x'
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Pack & Publish
run: |
dotnet pack --version-suffix "build${{ github.run_number }}" -c Release .\SDL2-CS.csproj -o .
$file_to_publish = Get-ChildItem -Path $dir -Filter *.nupkg | Select -First 1
echo $file_to_publish
nuget push $file_to_publish -Source https://api.nuget.org/v3/index.json

View File

@ -1,58 +0,0 @@
stages:
- build
- package
- deploy
build_net461:
image: mono
stage: build
only:
- schedules
script:
- ./gitlab-ci/build-net461.sh
artifacts:
paths:
- bin/
tags:
- docker
build_netcore:
image: microsoft/dotnet:2.1-sdk
stage: build
only:
- schedules
script:
- ./gitlab-ci/build-netcore.sh
artifacts:
paths:
- bin/
tags:
- docker
package_nuget:
image: mono
stage: package
only:
- schedules
script:
- ./gitlab-ci/package.sh
dependencies:
- build_net461
- build_netcore
artifacts:
paths:
- '*.nupkg'
deploy_nuget:
image: mono
stage: deploy
only:
- schedules
script:
- ./gitlab-ci/deploy.sh
dependencies:
- package_nuget
environment:
name: nuget
url: http://nuget.org/

View File

@ -1,33 +0,0 @@
# Makefile for SDL2#
# Written by Ethan "flibitijibibo" Lee
# Source Lists
SRC = \
src/SDL2.cs \
src/SDL2_gfx.cs \
src/SDL2_image.cs \
src/SDL2_mixer.cs \
src/SDL2_ttf.cs
# Targets
debug: clean-debug
mkdir -p bin/Debug
cp app.config bin/Debug/SDL2-CS.dll.config
mcs /unsafe -debug -out:bin/Debug/SDL2-CS.dll -target:library $(SRC)
clean-debug:
rm -rf bin/Debug
release: clean-release
mkdir -p bin/Release
cp app.config bin/Release/SDL2-CS.dll.config
mcs /unsafe -optimize -out:bin/Release/SDL2-CS.dll -target:library $(SRC)
clean-release:
rm -rf bin/Release
clean: clean-debug clean-release
rm -rf bin
all: debug release

View File

@ -1,31 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net40;netstandard2.0</TargetFrameworks>
<Platforms>x64</Platforms>
</PropertyGroup>
<PropertyGroup>
<EnableDefaultItems>false</EnableDefaultItems>
<AssemblyName>SDL2-CS</AssemblyName>
<RootNamespace>SDL2</RootNamespace>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<PropertyGroup>
<SDLSettingsPropsFilePath>$(SolutionDir)SDL2-CS.Settings.props</SDLSettingsPropsFilePath>
</PropertyGroup>
<Import Project="$(SDLSettingsPropsFilePath)" Condition="Exists('$(SDLSettingsPropsFilePath)')" />
<Target Name="ValidatePropsFilePath" BeforeTargets="BeforeBuild">
<Message Importance="High" Text="No property overrides found at '$(SDLSettingsPropsFilePath)'" Condition="!Exists('$(SDLSettingsPropsFilePath)')" />
<Message Importance="High" Text="Loaded property overrides from '$(SDLSettingsPropsFilePath)'" Condition="Exists('$(SDLSettingsPropsFilePath)')" />
</Target>
<ItemGroup>
<Compile Include="src\SDL2.cs" />
<Compile Include="src\SDL2_gfx.cs" />
<Compile Include="src\SDL2_image.cs" />
<Compile Include="src\SDL2_mixer.cs" />
<Compile Include="src\SDL2_ttf.cs" />
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
</ItemGroup>
</Project>

View File

@ -1,102 +1,62 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{85480198-8711-4355-830E-72FD794AD3F6}</ProjectGuid>
<TargetFramework>net6.0</TargetFramework>
<OutputType>Library</OutputType>
<RootNamespace>SDL2</RootNamespace>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<AssemblyTitle>SDL2#</AssemblyTitle>
<AssemblyName>SDL2-CS</AssemblyName>
<Description>libSDL2 bindings for C#</Description>
<RootNamespace>SDL2</RootNamespace>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<VersionPrefix>2.30.0</VersionPrefix>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<ConsolePause>false</ConsolePause>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PropertyGroup Label="NuGet">
<Authors>marysaka &amp; ppy Pty Ltd &amp; flibitijibibo</Authors>
<Title>SDL2#</Title>
<PackageId>Ryujinx.SDL2-CS</PackageId>
<PackageProjectUrl>https://github.com/Ryujinx/SDL2-CS</PackageProjectUrl>
<RepositoryUrl>https://github.com/Ryujinx/SDL2-CS</RepositoryUrl>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<ConsolePause>false</ConsolePause>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x64</PlatformTarget>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x64</PlatformTarget>
<ConsolePause>false</ConsolePause>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<SDLSettingsPropsFilePath>$(SolutionDir)SDL2-CS.Settings.props</SDLSettingsPropsFilePath>
</PropertyGroup>
<Import Project="$(SDLSettingsPropsFilePath)" Condition="Exists('$(SDLSettingsPropsFilePath)')" />
<Target Name="ValidatePropsFilePath" BeforeTargets="BeforeBuild">
<Message Importance="High" Text="No property overrides found at '$(SDLSettingsPropsFilePath)'" Condition="!Exists('$(SDLSettingsPropsFilePath)')" />
<Message Importance="High" Text="Loaded property overrides from '$(SDLSettingsPropsFilePath)'" Condition="Exists('$(SDLSettingsPropsFilePath)')" />
</Target>
<ItemGroup>
<Compile Include="src\SDL2.cs" />
<Compile Include="src\SDL2_gfx.cs" />
<Compile Include="src\SDL2_image.cs" />
<Compile Include="src\SDL2_mixer.cs" />
<Compile Include="src\SDL2_ttf.cs" />
</ItemGroup>
<ItemGroup>
<None Include="app.config">
<Link>$(TargetFileName).config</Link>
<Content Include="$(MSBuildThisFileDirectory)native\win-x64\SDL2.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<PackagePath>runtimes/win-x64/native</PackagePath>
<Pack>true</Pack>
</Content>
<Content Include="$(MSBuildThisFileDirectory)native\win-arm64\SDL2.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<PackagePath>runtimes/win-arm64/native</PackagePath>
<Pack>true</Pack>
</Content>
<Content Include="$(MSBuildThisFileDirectory)native\osx-x64\libSDL2.dylib">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<PackagePath>runtimes/osx-x64/native</PackagePath>
<Pack>true</Pack>
</Content>
<Content Include="$(MSBuildThisFileDirectory)native\osx-arm64\libSDL2.dylib">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<PackagePath>runtimes/osx-arm64/native</PackagePath>
<Pack>true</Pack>
</Content>
<Content Include="$(MSBuildThisFileDirectory)native\linux-x64\libSDL2.so">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<PackagePath>runtimes/linux-x64/native</PackagePath>
<Pack>true</Pack>
</Content>
<Content Include="$(MSBuildThisFileDirectory)native\linux-arm64\libSDL2.so">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<PackagePath>runtimes/linux-arm64/native</PackagePath>
<Pack>true</Pack>
</Content>
<Content Include="$(MSBuildThisFileDirectory)native\ios\**\*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<PackagePath>runtimes/ios/native</PackagePath>
<Pack>true</Pack>
</Content>
</ItemGroup>
<ItemGroup>
<Reference Include="System" />
<Content Include="app.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project>

View File

@ -1,22 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<dllmap dll="SDL2" os="windows" target="SDL2.dll"/>
<dllmap dll="SDL2" os="osx" target="libSDL2-2.0.0.dylib"/>
<dllmap dll="SDL2" os="osx" target="libSDL2.dylib"/>
<dllmap dll="SDL2" os="linux" target="libSDL2-2.0.so.0"/>
<dllmap dll="SDL2_gfx" os="windows" target="SDL2_gfx.dll"/>
<dllmap dll="SDL2_gfx" os="osx" target="libSDL2_gfx-1.0.0.dylib"/>
<dllmap dll="SDL2_gfx" os="linux" target="libSDL2_gfx-1.0.so.0"/>
<dllmap dll="SDL2_image" os="windows" target="SDL2_image.dll"/>
<dllmap dll="SDL2_image" os="osx" target="libSDL2_image-2.0.0.dylib"/>
<dllmap dll="SDL2_image" os="linux" target="libSDL2_image-2.0.so.0"/>
<dllmap dll="SDL2_mixer" os="windows" target="SDL2_mixer.dll"/>
<dllmap dll="SDL2_mixer" os="osx" target="libSDL2_mixer-2.0.0.dylib"/>
<dllmap dll="SDL2_mixer" os="linux" target="libSDL2_mixer-2.0.so.0"/>
<dllmap dll="SDL2_ttf" os="windows" target="SDL2_ttf.dll"/>
<dllmap dll="SDL2_ttf" os="osx" target="libSDL2_ttf-2.0.0.dylib"/>
<dllmap dll="SDL2_ttf" os="linux" target="libSDL2_ttf-2.0.so.0"/>
</configuration>

8
appveyor.yml Normal file
View File

@ -0,0 +1,8 @@
image: Visual Studio 2022
build_script:
- cmd: dotnet restore
- cmd: dotnet pack SDL2-CS.csproj -c:Release --include-symbols /p:Version=%APPVEYOR_BUILD_VERSION%
test: off
version: 1.0.{build}-alpha
artifacts:
- path: 'bin\Release\*.nupkg'

109
ci/compile.sh Executable file
View File

@ -0,0 +1,109 @@
#!/bin/bash
set -e
if [ "$#" -le 1 ]; then
echo "usage: <sdl_dir> <output_path> [build_arch]"
exit 1
fi
uname_system="$(uname -s)"
case "${uname_system}" in
Linux*) system_name=linux;;
Darwin*) system_name=macos;;
CYGWIN*) system_name=win;;
MINGW*) system_name=win;;
*) system_name="Unknown OS: ${uname_system}"
esac
export DEBIAN_FRONTEND=noninteractive
sdl_dir=$1
output_path=$2
build_arch=$3
mkdir -p $output_path
if [ -z "$3" ]; then
if [ $system_name == "linux" ]; then
build_arch=$(dpkg --print-architecture)
else
echo "ERROR - build_arch parameter needed on macOS and Windows"
exit 1
fi
fi
if command -v sudo &> /dev/null
then
SUDO=sudo
fi
if [[ $system_name == "linux" ]]; then
if [[ $build_arch == "i386" ]]; then
sudo dpkg --add-architecture i386
export CFLAGS=-m32
export CXXFLAGS=-m32
fi
$SUDO apt-get update -y
$SUDO apt-get install -y \
build-essential \
cmake \
ninja-build \
wayland-scanner++ \
wayland-protocols \
pkg-config:$build_arch \
libasound2-dev:$build_arch \
libdbus-1-dev:$build_arch \
libegl1-mesa-dev:$build_arch \
libgl1-mesa-dev:$build_arch \
libgles2-mesa-dev:$build_arch \
libglu1-mesa-dev:$build_arch \
libibus-1.0-dev:$build_arch \
libpulse-dev:$build_arch \
libsdl2-2.0-0:$build_arch \
libsndio-dev:$build_arch \
libudev-dev:$build_arch \
libwayland-dev:$build_arch \
libx11-dev:$build_arch \
libxcursor-dev:$build_arch \
libxext-dev:$build_arch \
libxi-dev:$build_arch \
libxinerama-dev:$build_arch \
libxkbcommon-dev:$build_arch \
libxrandr-dev:$build_arch \
libxss-dev:$build_arch \
libxt-dev:$build_arch \
libxv-dev:$build_arch \
libxxf86vm-dev:$build_arch \
libdrm-dev:$build_arch \
libgbm-dev:$build_arch \
libpulse-dev:$build_arch \
libhidapi-dev:$build_arch \
libwayland-client++0:$build_arch \
libwayland-cursor++0:$build_arch
extra_cmake_flags="-GNinja"
elif [[ $system_name == "macos" ]]; then
extra_cmake_flags="-DCMAKE_OSX_ARCHITECTURES=\"$build_arch\" -DCMAKE_OSX_DEPLOYMENT_TARGET=\"11.0\""
elif [[ $system_name == "win" ]]; then
extra_cmake_flags="-A $build_arch"
fi
pushd $sdl_dir
cmake -B build -DCMAKE_BUILD_TYPE=Release -DSDL_SHARED_ENABLED_BY_DEFAULT=ON -DSDL_STATIC_ENABLED_BY_DEFAULT=ON $extra_cmake_flags
cmake --build build/ --config Release
$SUDO cmake --install build/ --prefix install_output --config Release
mkdir -p $output_path
if [[ $system_name == "linux" ]]; then
cp install_output/lib/libSDL2-2.0.so.0 $output_path/libSDL2.so
elif [[ $system_name == "macos" ]]; then
cp install_output/lib/libSDL2-2.0.dylib $output_path/libSDL2.dylib
elif [[ $system_name == "win" ]]; then
cp install_output/bin/SDL2.dll $output_path/SDL2.dll
fi
popd

41
ci/run.sh Executable file
View File

@ -0,0 +1,41 @@
#!/bin/bash
set -e
if [ "$#" -le 2 ]; then
echo "usage: <sdl_dir> <output_path> <build_arch>"
exit 1
fi
uname_system="$(uname -s)"
case "${uname_system}" in
Linux*) system_name=linux;;
Darwin*) system_name=macos;;
CYGWIN*) system_name=win;;
MINGW*) system_name=win;;
*) system_name="Unknown OS: ${uname_system}"
esac
sdl_dir=$1
output_path=$2
build_arch=$3
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
mkdir -p $output_path
if [ $system_name == "linux" ] && [ $build_arch == "arm64" ]; then
if command -v podman &> /dev/null; then
DOCKER=podman
elif command -v docker &> /dev/null; then
DOCKER=docker
else
echo "ERROR - Missing docker/podman env, cannot crossbuild"
exit 1
fi
$DOCKER run --rm -v $SCRIPT_DIR:/scripts -v $output_path:/output -v $sdl_dir:/source -t arm64v8/ubuntu:focal bash /scripts/compile.sh /source /output $build_arch
else
$SCRIPT_DIR/compile.sh "$sdl_dir" "$output_path" "$build_arch"
fi

View File

@ -1,23 +0,0 @@
<?xml version="1.0"?>
<package >
<metadata>
<id>SDL2-CS-Rolling</id>
<version>2000.1.1</version>
<authors>flibitijibibo</authors>
<owners>beannaich</owners>
<licenseUrl>https://github.com/flibitijibibo/SDL2-CS/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/flibitijibibo/SDL2-CS</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>SDL2# - C# Wrapper for SDL2</description>
<copyright>Copyright 2013-2021</copyright>
<tags>SDL2# SDL2 SDL</tags>
</metadata>
<files>
<file src="..\bin\Debug\*.dll" target="lib/net461" />
<file src="..\bin\Debug\*.dll.config" target="lib/net461" />
<file src="..\bin\Debug\*.pdb" target="lib/net461" />
<file src="..\bin\Debug\netstandard2.0\*.dll" target="lib/netstandard2.0" />
<file src="..\bin\Debug\netstandard2.0\*.dll.config" target="lib/netstandard2.0" />
<file src="..\bin\Debug\netstandard2.0\*.pdb" target="lib/netstandard2.0" />
</files>
</package>

View File

@ -1,3 +0,0 @@
#!/bin/bash
msbuild /p:Configuration=Release SDL2-CS.csproj

View File

@ -1,3 +0,0 @@
#!/bin/bash
dotnet build -c Release SDL2-CS.Core.csproj

View File

@ -1,9 +0,0 @@
#!/bin/bash
set -e
nuget setApiKey $NUGET_API_KEY -verbosity quiet
for package in `find *.nupkg`; do
nuget push $package -source https://nuget.org/
done

View File

@ -1,9 +0,0 @@
#!/bin/bash
set -e
version=`date +"%Y.%m.%d"`
nuspec="gitlab-ci/SDL2-CS.nuspec"
nuget pack $nuspec -Version $version

View File

@ -0,0 +1,19 @@
FROM debian:jessie
# We build on Jessie, but libwayland-dev and wayland-protocols are only in
# Stretch and later.
COPY stretch-package-pins /etc/apt/preferences.d/stretch
# Packages are from https://hg.libsdl.org/SDL/file/default/docs/README-linux.md
RUN echo deb http://deb.debian.org/debian/ stretch main > /etc/apt/sources.list.d/stretch.list && \
echo deb http://security.debian.org/debian-security stretch/updates main >> /etc/apt/sources.list.d/stretch.list && \
apt-get update && \
apt-get install -y build-essential mercurial make cmake autoconf automake \
libtool libasound2-dev libpulse-dev libaudio-dev libx11-dev libxext-dev \
libxrandr-dev libxcursor-dev libxi-dev libxinerama-dev libxxf86vm-dev \
libxss-dev libgl1-mesa-dev libesd0-dev libdbus-1-dev libudev-dev \
libgles1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libibus-1.0-dev \
fcitx-libs-dev libsamplerate0-dev libsndio-dev libwayland-dev \
libxkbcommon-dev wayland-protocols
ENTRYPOINT ["/entry"]

View File

@ -0,0 +1,19 @@
FROM i386/debian:jessie
# We build on Jessie, but libwayland-dev and wayland-protocols are only in
# Stretch and later.
COPY stretch-package-pins /etc/apt/preferences.d/stretch
# Packages are from https://hg.libsdl.org/SDL/file/default/docs/README-linux.md
RUN echo deb http://deb.debian.org/debian/ stretch main > /etc/apt/sources.list.d/stretch.list && \
echo deb http://security.debian.org/debian-security stretch/updates main >> /etc/apt/sources.list.d/stretch.list && \
apt-get update && \
apt-get install -y build-essential mercurial make cmake autoconf automake \
libtool libasound2-dev libpulse-dev libaudio-dev libx11-dev libxext-dev \
libxrandr-dev libxcursor-dev libxi-dev libxinerama-dev libxxf86vm-dev \
libxss-dev libgl1-mesa-dev libesd0-dev libdbus-1-dev libudev-dev \
libgles1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libibus-1.0-dev \
fcitx-libs-dev libsamplerate0-dev libsndio-dev libwayland-dev \
libxkbcommon-dev wayland-protocols
ENTRYPOINT ["/entry"]

11
linux-build/compile Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
set -euf -o pipefail
cd /src
rm -rf build
mkdir build
cd build
../configure --prefix=/io
make -j$(nproc)
make install

View File

@ -0,0 +1,27 @@
Package: *
Pin: release n=stretch
Pin-Priority: 50
Package: libwayland-dev
Pin: release n=stretch
Pin-Priority: 800
Package: libwayland-bin
Pin: release n=stretch
Pin-Priority: 800
Package: libwayland-client0
Pin: release n=stretch
Pin-Priority: 800
Package: libwayland-cursor0
Pin: release n=stretch
Pin-Priority: 800
Package: libwayland-server0
Pin: release n=stretch
Pin-Priority: 800
Package: wayland-protocols
Pin: release n=stretch
Pin-Priority: 800

View File

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AvailableLibraries</key>
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>SDL2.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>SDL2.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>

Binary file not shown.

Binary file not shown.

BIN
native/linux-x64/libSDL2.so Executable file

Binary file not shown.

BIN
native/linux-x86/libSDL2.so Executable file

Binary file not shown.

BIN
native/osx-arm64/libSDL2.dylib Executable file

Binary file not shown.

BIN
native/osx-x64/libSDL2.dylib Executable file

Binary file not shown.

BIN
native/win-arm64/SDL2.dll Normal file

Binary file not shown.

BIN
native/win-x64/SDL2.dll Executable file

Binary file not shown.

BIN
native/win-x86/SDL2.dll Executable file

Binary file not shown.

View File

@ -37,6 +37,12 @@ namespace SDL2
{
public static class SDL
{
static SDL()
{
if (OperatingSystem.IsIOS())
NativeLibrary.SetDllImportResolver(typeof(SDL).Assembly, (_, assembly, path) => NativeLibrary.Load("@rpath/SDL2.framework/SDL2", assembly, path));
}
#region SDL2# Variables
private const string nativeLibName = "SDL2";