Commit Graph

46 Commits

Author SHA1 Message Date
YoshiRulz 66e6aa7eb8 Tell GitLab CI to continue running tests in .NET 8
fixes afc181c40
sort of defeats the purpose, but hey it was working before, and
compilation errors will still be caught automatically
2024-05-15 10:47:38 +10:00
James Groom 821d632fc7
GitLab CI: Enable extra caching for Alpine Docker images
unfortunately can only be used with images distributed via Docker Hub at the moment, which excludes the .NET images
2024-04-26 15:53:12 +10:00
James Groom 887a66cc2a
GitLab CI: When any job fails, cancel pipeline
this may not work as intended with jobs which are allowed to fail, but we'll have to wait and see
2024-04-24 04:18:01 +10:00
James Groom bee6ff1a45
Bump .NET SDK images used by GitLab CI
fixes 131bc65e8
2024-02-13 06:43:05 +10:00
James Groom 1e5d11bf84
Increase verbosity of `dotnet build` in CI 2023-12-22 03:20:19 +00:00
James Groom 4ad9b7b2bf
Hopefully the last bugfix for GitLab CI config
fixes 7041b7845
2023-11-26 20:20:32 +10: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 7041b7845a
More fixes for GitLab CI config
- don't need Cachix anymore
- stop hardcoding 2.8 since I added a "latest"
- and fix ext. projects enumeration AGAIN
2023-11-26 00:20:32 +10:00
James Groom 0517294605
Fix typo in GitLab CI config
fixes bb0d8f231
2023-11-23 22:51:12 +10:00
James Groom bb0d8f231d
Fix `find` invocation in GitLab CI config 2023-11-16 15:48:00 +10:00
James Groom 3ceb0fab8e
Hopefully fix GitLab CI being unable to build ExternalProjects 2023-07-30 14:52:12 +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
YoshiRulz 35f1e6b58b
Fix GitLab CI trying to build CMake project librcheevos 2023-03-26 12:37:00 +10: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 02d1542e40
GitLab CI: Switch to Alpine Docker images where possible
partially reverts cdeec7cfb
2022-10-27 15:53:02 +10:00
YoshiRulz cdeec7cfb4
GitLab CI: Pin Nix Docker image 2022-10-24 20:25:23 +10:00
YoshiRulz 7b060bada4
Build external .NET projects in GitLab CI weekly slow builds 2022-09-30 08:58:43 +10:00
YoshiRulz b1207b9c2c
Further fix test execution on GitLab CI 2022-08-10 19:58:25 +10:00
YoshiRulz 4a7ed563b6
Revert "Pin and downgrade Nix Docker image"
This reverts commit 93bb90b584.
2022-07-20 21:09:06 +10:00
YoshiRulz 02e4a4b97e
Also change GitLab CI to build pinned 2.8 w/ Nix 2022-03-08 10:23:39 +10:00
YoshiRulz 93bb90b584
Pin and downgrade Nix Docker image 2021-12-20 02:08:00 +10:00
YoshiRulz 3bdbe1aeda
When building Nix derivation in GitLab CI, run tests 2021-12-18 07:29:20 +10:00
YoshiRulz 6316cab017
Replace Debian image w/ Nix (Alpine) in GitLab CI 2021-12-12 19:22:57 +10:00
YoshiRulz 6d81cd30bd
Also have GitLab CI build each commit in Debug configuration 2021-12-09 23:49:25 +10:00
YoshiRulz e24b3bbbf8
Change indentation and block comment style in GitLab CI config 2021-12-09 23:49:22 +10:00
YoshiRulz c56aceb555
Build Nix expression during weekly GitLab CI checks 2021-12-09 13:38:46 +10:00
YoshiRulz a78e3feaf6
Also bump .NET SDK in GitLab CI config
fixes 5644911cc
2021-12-03 07:55:55 +10:00
YoshiRulz 90c665f07c
Fix (ehh) release artifact filenames
version (Git tag) needs to be added manually because it doesn't exist when the
Job runs
2021-06-13 00:33:40 +10:00
YoshiRulz 766e2aa14d
In GitLab CI, build BizHawk.Version project separately first
this is a faster "solution" to the problem of first-clone builds failing because
of a missing /src/BizHawk.Common/VersionInfo.gen.cs (the old solution being to
run the build again on failure)
2021-04-04 14:36:54 +10:00
YoshiRulz 5f125b7cd6
Add commented-out Infer# job to GitLab CI config
https://github.com/microsoft/infersharp doesn't seem to produce any meaningful
output for BizHawk assemblies, will try again when it's fully implemented
2021-03-31 05:30:12 +10:00
YoshiRulz c28de357a2
Add comments for SAST to GitLab CI config
would use https://security-code-scan.github.io but currently there's no way to
limit it to one .sln so it tries to build cores and breaks
2021-03-04 21:42:37 +10:00
YoshiRulz 7acc9a0170
Omit EmuHawkMono.sh from builds for Windows, rename artifacts 2021-01-18 09:51:47 +10:00
YoshiRulz 0093c16d79
Bump .NET SDK to 5.0.100, bump C# to 9.0
BizHawk.Tests executable needs to run in CI, but the 5.0 SDK image can't run
Core 3.1 apps somehow, so I bumped that too
2020-11-23 21:48:10 +10: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 0084891635
Add script for updating VersionInfo, teach GitLab CI to build releases 2020-10-08 07:37:01 +10:00
YoshiRulz e31893fbf0
Fix GitLab CI creating artifacts with an extra top-level dir 2020-10-02 03:32:26 +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
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
YoshiRulz 2761156fc3
Update GitLab CI
I was using artifacts wrong
I was using caches correctly but there weren't files to cache
should now be resistant to missing codegen'd files
2020-08-03 00:42:55 +10:00
YoshiRulz 5c250a7ca5
Change SDK ver for GitLab CI to match global.json (fixes #2231)
see 5a1b5915b
2020-07-15 16:03:39 +10:00
YoshiRulz 89606523ba
Fix GitLab CI run_tests job 2020-06-07 02:39:28 +10:00
YoshiRulz 04223d2c81
Update GitLab CI
now uses SDK 5.0 preview (automatically grabs latest); check_style only runs for
the weekly cached build; replaced only with rules (they'll maybe probably who
knows deprecate only)
2020-06-07 02:19:01 +10:00
YoshiRulz d91c477e5a Add test projects and solution using MSTest, add scripts, upgrade CI 2020-05-19 23:54:14 +00: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 fcc3ac88c0
Fix GitLab CI 2020-02-19 01:13:01 +10:00
YoshiRulz 09595fef9e
Add GitLab CI (builds w/ dotnet on Linux) 2019-12-26 16:57:40 +10:00