Commit Graph

220 Commits

Author SHA1 Message Date
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
YoshiRulz 460613fba4
Add -clp:NoSummary to Unix build scripts 2020-08-01 11:58:21 +10:00
zeromus ea6fd0ebad tidy dist script (re #2085) 2020-06-04 15:15:36 -05:00
YoshiRulz ffa17bcd75
Fix cleanup script 2020-05-30 15:57:57 +10:00
YoshiRulz 72c0fab145
Update BuildTest*.sh
fixes 1bfaaab87
2020-05-21 17:37:29 +10:00
YoshiRulz d91c477e5a Add test projects and solution using MSTest, add scripts, upgrade CI 2020-05-19 23:54:14 +00:00
YoshiRulz 50461f17ee
Move copy-to-output scripts to Build/ and make them work 2020-05-04 05:24:32 +10:00
YoshiRulz cf252b7ba0
Revert "fixes" to EmuHawk.csproj
This reverts the 5 commits ddddb309f through 664fb5cb3.
2020-05-04 03:55:47 +10:00
zeromus ddddb309fc Revert "Migrate EmuHawk's post-build targets to shell scripts"
This reverts commit 0ff90bf131.
2020-05-03 00:03:32 -04:00
YoshiRulz 0ff90bf131
Migrate EmuHawk's post-build targets to shell scripts
(because MSBuild's <Copy/> doesn't want to co-operate)
fixes 2bf1dfbd0, but the batch script is empty so build is still technically
broken on Windows
2020-05-03 13:45:30 +10:00
zeromus 79dcfc583d oops, use rmdir instead of rd 2020-05-02 22:26:36 -04:00
zeromus f132dee87c remove junk netstandard2.0, netcoreapp3.1, net48 dirs from dist package 2020-05-02 21:10:54 -04:00
YoshiRulz 89abab7a52
Use env. var for nuget pkg dir on Linux, and don't set CscToolExe
Also removed comments and used SolutionDir in .csproj/.props, and enabled Roslyn
Analyzers on GitLab CI builds
2020-03-19 15:15:32 +10:00
YoshiRulz ce79ec83d7
Maybe fix CI 2020-01-28 13:27:58 +10:00
YoshiRulz 215de3c0c0
Make Roslyn Analyzers opt-in at compile-time (resolves #1813)
They are still run by the IDE at design-time. To opt-in, set the MSBuild
property MachineRunAnalyzersDuringBuild. From the command-line, you can do this
by adding `/p:MachineRunAnalyzersDuringBuild=true`.
2020-01-26 10:34:07 +10:00
YoshiRulz 692eb5ea89
Add HelloWorld tool to repo, add build scripts, fix bugs in HelloWorld 2020-01-17 06:17:59 +10:00
YoshiRulz c31050feb6
Migrate from packages.config to PackageReference 2019-12-26 16:54:33 +10:00
YoshiRulz a420336e72
Fix build on Linux, pass extra build script arguments to dotnet build 2019-12-04 17:11:06 +10:00
James Groom fcc0bc19a4
Change build config to support the Core build system (for #1415)
squashed PR #1702
2019-12-03 16:58:33 +00:00
adelikat a2ed0361c4 a newer Nuget.exe and a NuGet.config 2019-11-17 08:55:37 -06:00
adelikat ad4ca38e16 include NuGet.exe so nuget restore works in dist .bat files 2019-11-17 08:27:48 -06:00
YoshiRulz 62bf65d760
Update readme and build scripts 2019-11-07 19:17:28 +10:00
YoshiRulz 3a878b0570
Hopefully fix AppVeyor CI 2019-11-01 23:42:25 +10:00
J.D. Purcell 2f4a38d841 MSBuild 16 2019-10-20 17:44:50 -04:00
J.D. Purcell bb2c21b545 How about MSBuild 15 2019-10-20 17:30:54 -04:00
J.D. Purcell bda6206cb2 See if AppVeyor can use MSBuild 16 2019-10-20 17:29:30 -04:00
YoshiRulz 2377e644e6
Add build scripts for Unix 2019-05-19 14:59:11 +10:00
zeromus 033fe57763 rebuild HelloWorld externaltool, AND include the zipfile sources, which DO get distributed along with it, so that people have a prayer of actually using this system. (it's all small, so it should be ok) 2019-04-22 23:58:34 -04:00
zeromus cca2adfbe1 include appconfigs in dist package 2017-08-03 17:08:13 -05:00
zeromus e00245e95c fix dist scripts to use "Any Cpu" instead of x64 2017-06-26 17:51:42 -05:00
adelikat f6f8a5571c fix build batch files to point to output folder instead of output64 2017-06-12 17:45:04 -05:00
adelikat 767ae4d8b9 convert build scripts to 64bit 2017-06-10 10:36:26 -05:00
J.D. Purcell 88bb910405 Didn't mean to commit that part. 2017-04-09 21:05:20 -04:00
J.D. Purcell 85c1a42e48 Remove some duplicated code. Also trying some C# 6 stuff, let's see what breaks. 2017-04-09 20:59:23 -04:00
zeromus 5c53c9b925 build scripts should bomb harshly when msbuild fails, so appveyor fails. and also i guess so the batchfile fails and users dont get half-finished zips with missing files 2017-02-23 04:51:47 -06:00
zeromus 10499ee07e archive nescarts to 7z during dist process.
also remove referenced assembly xml docs from dll dir.
2016-11-12 18:32:18 -06:00
zeromus 5a48f952f4 use HEAD instead of branch name; should use the currently checked-out branch, then, or else the current commit. after I run this commit I'll find out which! 2016-11-11 19:13:59 -06:00
pjgat09 afd8dac4dc Fix the build script to include the Lua directory. 2016-10-26 09:33:05 -04:00
feos 4b96378a56 changelog 2016-09-01 21:53:24 +03:00
feos 29b78f559b build scripts: account for lua move, "release" branch spelling 2016-09-01 21:24:25 +03:00
adelikat 597b46b183 slight fix to release build script 2016-09-01 08:26:43 -04:00
Isotarge 5a20a520bd Tools: Ram -> RAM #669 2016-07-22 01:32:54 +09:30
Hathor86 7fb0eaf337 Add Save/Load state methods and events to ApiHawk
Now, ApiHawk can save and load name state. There are also events that
you can attached too. Furthermore, BeforeQuickSave/BeforeQuickLoad
events occurs just after user pressed button. We can react to this and
even override behavior.
Finally, I just allow .bat to take xml files (for ApiHawk doc)

PS: Yeah, I'm still alive
2016-05-29 16:50:16 +02:00
zeromus 50a3b41eb2 straighten out master vs release dist scripts 2016-04-02 14:45:20 -05:00
zeromus d7cd62c4d6 compress cgc.exe differently (cexe, doesn't really trip virus scanners) since upx can't handle it; add Firmware directory to dist script 2016-03-24 16:42:33 -05:00
adelikat 9253f9ef77 update changelog with updated 1.11.5 release notes 2016-02-16 19:43:57 -05:00
zeromus 50da532fca even better BuildGithubReleaseBranch.bat 2016-02-16 17:25:39 -06:00
zeromus 477a386eca build release branch instead 2016-02-16 17:19:48 -06:00
zeromus bcf7108715 support 64bit only tgit installations and add new batchfile to automatically do a clean clone of github's master branch 2016-02-16 17:15:03 -06:00
zeromus 75ed1bfca3 dont exit from BuildAndPackage_Release.bat 2016-02-16 17:12:35 -06:00
adelikat 8750b64a12 Some changelog fixes 2016-02-13 11:42:26 -05:00
zeromus 72e4760b38 get equipped with less typos 2016-02-08 20:10:07 -06:00
zeromus 3ea3a43e8b update changelog 2016-02-08 20:08:58 -06:00
zeromus c32cd7f67d add missing items from 1.11.4 changelog 2016-02-08 20:08:48 -06:00
adelikat 7885934a1e Add a global tools path in path config, have various tool related paths fallback to this tools folder, wire it up to hex editor .tbl files and basic bot .bot files. Change various tool paths to be . by default to point to the tools folder instead. Add tools folder to version control and builds 2016-02-05 20:46:18 -05:00
zeromus 0b1f01cf2f fix build script upx unpacking, then comment it out, because it doesnt work for cgc right now 2016-02-02 17:48:02 -06:00
Hathor86 1d10565992 Bug fix: Crash if ExternalTool directory does not exists
As mentionned, this bug is fixed, it creates the directory if it does
not exists
+ ExternalTool code exemple is cloned from repo and added inot
ExternalTool folder
2015-12-20 18:13:54 +01:00
feos 250bc38a56 changelog updates 2015-12-19 19:03:51 +03:00
zeromus 973cd3b9a2 changelog 2015-12-17 23:06:31 -06:00
Hathor86 a7074c6341 ExternalToolManager and BizHawkExternalToolattribute
Add those 2 classes in order to help handling of external tools
- Also fix value setting in watches constructor
- Bugfix in loading externaltools (they loaded multiple times)
- Add new version of Hello World external tool
Whitespaces noise in RamWatch.cs... :s The code hasn't changed
2015-12-13 21:38:35 +01:00
zeromus fcace003fb update changelog (still needs TAStudio edits) 2015-12-10 07:04:52 -06:00
zeromus 282795aa81 do some tidying of build script, add an ExternalTool example to it 2015-12-10 07:01:37 -06:00
zeromus 6e5b516741 update changelog. still need mentions of hathor's work and exec. summary of tastudio changes. 2015-12-04 20:17:02 -06:00
zeromus 19cbdf7ac6 changelog 2015-11-15 00:27:17 -06:00
zeromus 5ad6e95b3b changelog 2015-11-01 21:31:27 -06:00
zeromus 5a9bdca459 changelog 2015-10-15 20:14:45 -05:00
zeromus ece0e00a79 changelog 2015-10-13 18:54:52 -05:00
zeromus 2ed66e98e2 changelog 2015-10-13 00:26:02 -05:00
zeromus e6010a61cb changelog 2015-10-12 20:57:04 -05:00
zeromus 7b3461798f changelog update 2015-10-03 17:44:22 -05:00
zeromus 5b923fa8d2 update changelog 2015-09-29 17:51:46 -05:00
zeromus 8db3402502 why not commit the changelog? 2015-09-17 18:24:53 -05:00
zeromus 9845160cc5 make BuildAndPackage.bat use git 2015-07-14 22:10:47 -05:00
adelikat 5a03e96932 add Tools folder to build script 2015-05-17 17:08:53 +00:00
adelikat 822d42048e fixes to BuildAndPackage .bat files 2015-02-19 02:05:56 +00:00
scepheo 24f0765233 More bat magic. 2015-02-02 23:44:48 +00:00
adelikat e289065bd1 oops again 2015-02-02 23:25:59 +00:00
adelikat 5bca97aad7 oops 2015-02-02 23:22:16 +00:00
adelikat f916c0a051 Rename MakeRelease.bat to BuildAndPackage.bat and add bat files that call it, making release and developer builds 2015-02-02 23:18:56 +00:00
scepheo d956744def MakeRelease.bat: fetch msbuild directory from registry. 2015-02-02 23:02:37 +00:00
adelikat 9b8cd47a0c MakeRelease.bat - turn off DeveloperBuild flag before compiling, and set it back afterward 2015-02-02 22:13:34 +00:00
adelikat 18987d001d MakeRelease.bat - compile bizhawk in release mode first 2015-02-02 22:07:19 +00:00
zeromus 6c006573f1 fix bugs in zip.exe usage in makerelease.bat 2014-10-03 03:36:43 +00:00
zeromus 957b6bc828 include empty firmware folder in dist 2014-10-03 02:56:47 +00:00
zeromus a1f2dc2c55 dont put ilk in release packages 2014-10-03 02:42:56 +00:00
zeromus 64dee989ae update makerelease.bat to fail if svn.exe is missing 2014-09-24 23:53:13 +00:00
zeromus 76abc5603a un-upx during makerelease. now, this is a bit odd, because it means we're not dev/testing the same things we're releasing, but.. 1. upx is basically reliably transparent, and 2. it will cut down on repository bloat. if i'm ever proven wrong, we'll do it differently. 2014-09-07 04:15:25 +00:00
zeromus 562fb6cb12 fix MakeRelease.bat to no longer exclude jabo dll 2014-09-07 04:02:12 +00:00
zeromus cf75851e50 blacklist foully-licensed jabo dlls from MakeRelease.bat 2014-08-03 05:11:05 +00:00
zeromus f21daf9062 fix makerelease 2014-07-27 02:18:25 +00:00
zeromus c9e1b651ae fix makerelease.bat to not include firmware (easy) or user's custom lua files (by svn exporting a fresh copy). note that its still possible for junky dlls to get included, though (since we cant export fresh copies, due to their being mixed with ones youve just knowingly built) 2014-07-23 00:31:00 +00:00
adelikat 54b1c0ac00 MakeRelease.bat Exit was a bad idea 2014-06-01 16:21:45 +00:00
adelikat 3586c429b9 MakeRelease.bat - add an exit command at end to make it friendly for being run by another bat file 2014-05-11 19:23:55 +00:00
zeromus 8cb571ada8 include shaders dir in build process. im not sure how this will eventually be organized, but we at least need this to make intact builds right now 2014-04-19 18:57:36 +00:00
adelikat 7d40d15b79 Include firmware folder when packaging a release 2014-02-05 23:37:35 +00:00
zeromus 13d4aedb30 add a toy for someone to try out, regarding inlining and performance and multiple assemblies: a batchfile to run ILMerge and make bizhawk.merged.exe with some fraction of the dll dependencies in one file. 2014-01-25 04:05:09 +00:00
adelikat 75ef046927 Move MakeRelease.bat to Dist, and fix MakeDiscoHawk.at 2013-11-03 14:40:55 +00:00
zeromus e178f0449e add discohawk dist script 2012-03-03 19:32:04 +00:00