Commit Graph

112 Commits

Author SHA1 Message Date
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