Commit Graph

182 Commits

Author SHA1 Message Date
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 
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 ) 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 )
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 (files in dev builds) ()
* 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 ) 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 )
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 )
squashed PR 
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 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