Morilli
d17352a204
Fix Package.sh
...
untested because it wouldn't be fun otherwise
2024-03-22 17:33:38 +01:00
Sergio Martin
9c4a818423
Replace QuickNES core with QuickerNES (squashed PR #3839 )
...
resolves #3848
2024-03-23 01:31:22 +10:00
James Groom
485cafadff
Nix expr: Regen NuGet lockfile
2024-03-15 20:39:22 +10:00
James Groom
39a52105e9
Nix expr: Use correct path for libgdiplus, fixes testroms projects
...
fixes e8a3b7b25
2024-03-07 15:21:29 +10:00
James Groom
e8a3b7b250
Nix expr: Fix running tests in nix-shell
2024-03-07 03:11:13 +00:00
CasualPokePlayer
1bbc54f29f
add back encore submodule + build script + add windows build + a few more renamings
2024-03-05 16:13:51 -08:00
James Groom
a3f8015489
Nix expr: Regen NuGet lockfile
2024-02-24 06:03:31 +10:00
James Groom
6309e3b7fc
Nix expr: Fix DiscoHawk launch script
2024-02-14 16:20:02 +00:00
James Groom
88013f5d18
Nix expr: Regen NuGet lockfile
...
fixes b34e713f1
2024-02-14 16:17:43 +00:00
James Groom
131bc65e8f
Bump .NET SDK to 8.x
2024-02-12 20:38:03 +00:00
James Groom
86684b6893
Use long flag for `dotnet test -a` since it changes in .NET 7
2024-02-13 06:28:15 +10:00
James Groom
ae1bd18094
Nix expr: Update NuGet deps lockfile
2023-12-23 12:14:29 +10:00
James Groom
1e5d11bf84
Increase verbosity of `dotnet build` in CI
2023-12-22 03:20:19 +00:00
James Groom
a48ca42125
Update assets denylist in `Package.sh` again
...
fixes dc659ddb9
2023-12-17 19:24:25 +10:00
Morilli
dc659ddb93
Update Package.sh
...
unsure if sqlite and sdl dlls are safe to remove for linux package
2023-12-17 01:20:38 +01:00
James Groom
7ee28c1ab9
Nix expr: Add `libGL` to `buildInputs` on NixOS
...
currently `libGL.so.1` just happens to be in the closure via `cairo`, but that's no longer the case in Nixpkgs 23.11
2023-12-02 18:40:22 +00:00
James Groom
b06d706a13
Nix expr: Invert default for `doCheck` (it just works now?)
...
...and clean up the disabling of filesystem-related unit tests.
...and, surprise! Setting `ContinuousIntegrationBuild` was enough to fix the remaining r13y problems. I spent hours pre-merge trying random things, so that's irritating.
2023-11-25 14:56:06 +00:00
James Groom
dada959cfa
Nix expr: Add binary releases back to 2.3.2, some cleanup
2023-11-21 04:15:37 +00:00
Morilli
83ec4594d6
make script executable
2023-11-20 09:41:56 +01:00
James Groom
6a830f556a
Add back missing newlines from github.dev import
...
fixes b47b4d63b
2023-11-20 02:22:33 +00:00
James Groom
b47b4d63b1
Nix expr: Complete rewrite, a LOT of new features
2023-11-19 13:33:48 +00:00
James Groom
15d663f68d
Silence "not found" error when building w/o Git
...
fixes 096066150
2023-09-29 04:49:18 +10:00
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
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