Commit Graph

147 Commits

Author SHA1 Message Date
YoshiRulz 99fb1ba905
Fix typo in release package script
fixes e0e5a68c5
worked in CI ¯\_(ツ)_/¯
2023-05-04 03:18:14 +10:00
YoshiRulz e0e5a68c50
Refactor release package script, shrinking output slightly
more shrinking may be possible, but there are diminishing returns, especially
when MAME is so big (#3505)
2023-05-04 03:08:06 +10:00
YoshiRulz 0960661509
Remove a dependency on Git from build scripts
see ddc3e929e
2023-04-26 22:36:11 +10:00
YoshiRulz 7ed58bb061
Remove reference to `VersionInfo.gen.cs` from clean script
fixes ddc3e929e
2023-04-16 10:27:43 +10:00
Moritz Bender ddc3e929e9
Use source generation for VersionInfo (#3625)
* Use source generator for VersionInfo

* Remove leftover hacks

* Use same fallbacks as NixHawk when Git not available

---------

Co-authored-by: YoshiRulz <OSSYoshiRulz@gmail.com>
2023-04-12 21:14:44 +02:00
Morilli ac3a8c7e5f update bizhawk url in publish scripts 2023-04-07 19:09:10 +02:00
YoshiRulz 38b5f16ccc
Refactor enable Roslyn Analyzers flag
kept the old name, but turns out `-p:RunAnalyzersDuringBuild=true` also works
...good thing the old name wasn't documented
2023-03-16 12:39:25 +10:00
YoshiRulz 9bc1646693
Nix expr: Refactor deps 2022-12-28 19:05:07 +10:00
YoshiRulz 165f4f4a4d
Nix expr: Add dep updater script and update deps
fixes 47c494a5a
2022-12-28 14:50:24 +10:00
CasualPokePlayer 2187602dc1 fix Package.sh too
fixes 91e400bdd9
2022-12-16 00:05:40 -08:00
CasualPokePlayer 91e400bdd9 fix QuickTestBuildAndPackage to include the "overlay" folder (meant for RetroAchievements stuff) 2022-12-16 00:00:07 -08:00
YoshiRulz 02d1542e40
GitLab CI: Switch to Alpine Docker images where possible
partially reverts cdeec7cfb
2022-10-27 15:53:02 +10:00
YoshiRulz cbe298b467
Nix expr: Add FlatBuffers package
fixes 158c897702
2022-10-12 14:08:50 +10:00
YoshiRulz f973ef91dd
Nix expr: Add libzstd to rundeps 2022-08-17 21:40:06 +10:00
CasualPokePlayer afb0b8a435 maybe fix tests? 2022-08-10 02:55:01 -07:00
YoshiRulz 4ce1ec2e37
Fix test execution on Linux / GitLab CI 2022-08-10 17:35:32 +10:00
YoshiRulz d142555ec3
Enable MA0066 and fix noncompliance
"Hash table unfriendly type is used in a hash table"
2022-07-22 07:28:31 +10:00
YoshiRulz 697c10e3e6
Enable MA0015 and fix noncompliance
"Specify the parameter name in ArgumentException"
needed to update package because this rule was broken until now
2022-07-22 03:51:46 +10:00
YoshiRulz 84886b7395
Nix expr: quick fix for deps
fixes 6b4e526a4
2022-07-20 01:59:48 +10:00
YoshiRulz 850d8e027c
Nix expr: update deps
fixes ae9135807
2022-01-31 18:22:19 +10:00
YoshiRulz a5a8e85a91
Nix expr: DiscoHawk 2022-01-20 12:51:34 +10:00
YoshiRulz 3ef7279429
Nix expr: Add new versions of Manjaro host libs 2022-01-17 01:54:27 +10:00
YoshiRulz ef16b4a457
Nix expr: wrap some strings in quotes just in case 2021-12-18 07:28:59 +10:00
YoshiRulz 6e73c6a5f1
Also write stderr to file in Mono wrapper scripts 2021-12-18 07:26:05 +10:00
YoshiRulz 878b22e8c5
Nix expr: copy bundled scripts, shaders, etc. to ~/.local/share
TODOs excepted, this brings the Nix build to feature-parity with "portable"/AUR
builds... if it runs at all (i.e. for the distros in `wrapper-scripts.nix`)
2021-12-13 19:55:03 +10:00
YoshiRulz f7eff17921
Nix expr: downgrade `System.Collections.Immutable` 2021-12-10 17:14:39 +10:00
zeromus 82f8620292 try handling errors errorfully in packaging process 2021-12-08 23:07:38 -05:00
YoshiRulz 3d5578df1a
Nix expr: build w/o `.git`, fix debugPInvokes, add comment re: Cachix 2021-12-09 13:38:46 +10:00
YoshiRulz 5f51174f1c
Nix expr: Add missing NuGet deps
fixes 0719d6f9d
2021-12-08 12:06:28 +10:00
YoshiRulz 54e7bf2542
Nix expr: change path search order for hacks, add libs for Fedora 2021-12-07 14:50:22 +10:00
YoshiRulz 2aa4c6e86c
Nix expr: organise data for GL hack 2021-12-07 14:50:19 +10:00
YoshiRulz 5644911cc0
Bump .NET 5 -> 6, update BizHawk.Tests deps, and bump pinned Nixpkgs 2021-12-02 19:24:06 +10:00
YoshiRulz 655038f68e
Nix expr: refactor 2021-12-02 19:24:02 +10:00
YoshiRulz 5f1d686475
Don't compress NesCarts.xml when packaging
see #2939
2021-09-30 18:55:31 +10:00
YoshiRulz f8df53abda
Improve documentation for VersionInfo.gen.cs 2021-07-28 10:25:07 +10:00
Moritz Bender 2be2d3ad98
Add version metadata to all assemblies when building (squashed PR #2697) 2021-04-04 08:54:55 +10:00
YoshiRulz 84e195659c
Dedup Linux build scripts
inb4 "how is this deduplicating when you added a bunch of code"
2021-04-03 11:47:50 +10:00
YoshiRulz 05676234ed
Move remaining assets from /output to /Assets 2021-02-12 14:08:17 +10:00
YoshiRulz 7acc9a0170
Omit EmuHawkMono.sh from builds for Windows, rename artifacts 2021-01-18 09:51:47 +10:00
zeromus 206817dab8 try building twice to work around git version issues. it's bad, but it will do for now (if it does indeed do for now) 2020-12-04 15:53:57 -05:00
zeromus ed4cf3ed59 quick test of using "dotnet build" instead of msbuild. since 'dotnet build' is more or less defined as extra logic on top of msbuild to make it work on dotnet projects. 2020-12-04 15:41:16 -05:00
YoshiRulz fa83861501
More GitLab CI changes
* Revert 21a476200 ("Add timestamp update step", which was ineffective)
* Use `needs` to declare job dependency graph
* Replace Docker image for Ubuntu w/ minimal Debian image
* Add `build_ext_tools` job (scheduled pipelines only)
* Rename `package` job to `package_windows` and add `package_linux` (runs the
same script but then makes a `.tar` which becomes `.tar.zip`)
* Misc. cleanup
2020-10-11 16:59:04 +10:00
YoshiRulz 21a476200e
Add timestamp update step
I swear I did this already but it's not in the commit history
2020-10-08 08:12:50 +10:00
YoshiRulz 0084891635
Add script for updating VersionInfo, teach GitLab CI to build releases 2020-10-08 07:37:01 +10:00
YoshiRulz 17f7996bbe
Port missing steps from Batch script to shell script (fixes #2353)
Now GitLab CI builds need a Docker image with p7zip (I went with Ubuntu Focal)
2020-10-02 01:38:06 +10:00
YoshiRulz f119ab40a8
Fix capitalisation of /output/Shaders in packaging scripts 2020-10-01 22:45:33 +10:00
YoshiRulz 5ae13a2309
Change build path of executables to output/dll
* post-build step moves .exes up a level, to output
* also fixed OpenTK.dll.config location
* also removed redundant step from packaging scripts
* future executables need to be capable of resolving assemblies in dll
2020-09-22 09:39:53 +10:00
James Groom a5d166cf71
Partial fix for #2353 (files in dev builds) (#2410)
* Move .so libraries to dll dir, update some build scripts

* Move OpenTK.dll.config with OpenTK.dll

* Keep EmuHawkMono.sh in Windows-built artifacts

* Add Package.sh to match QuickTestBuildAndPackage.bat

used as `Dist/BuildRelease.sh && Dist/Package.sh`

* Update GitLab CI to use Package.sh
2020-09-18 20:08:34 -05:00
zeromus 714fd0fddc someone also needs to update the batch files themselves, and the README 2020-09-16 06:50:59 -04:00
zeromus 09a9bfbc2f rename dist batch files so mistakes are less likely. 2020-09-16 01:13:53 -04:00