Граф коммитов

39 Коммитов

Автор SHA1 Сообщение Дата
Cornelius Riemenschneider 869bf8afc6 C++/C#: Move the Windows autobuilder into a subfolder in `ql/csharp`.
This is a necessary preparation for moving the C# dependency management to `paket`,
which in turn is a necessary preparation for moving the C# build to bazel.

As we discovered in https://github.com/github/codeql/pull/16376,
`paket` tries to restore all projects recursively from the root folder.
If we support building C# code under both `ql/csharp` and `ql/cpp`, we need
to have a single lockfile under `ql`, as both codebases share the same set of dependencies
(and utilities from `ql/csharp/extractor`).
Then, `paket` will also try to restore things that look like "C# projects" in other languages'
folders, which is not what we want.
Therefore, we address this by moving all C# code into a common root directory, `ql/csharp`.

This needs an internal PR to adjust the buildsystem to look for the autobuilder in the new location.
2024-05-14 13:45:49 +02:00
Tamas Vajk 305fa84186 Change `IDiagnosticsWriter` to implement `IDisposable` 2024-04-03 10:08:46 +02:00
Tamas Vajk 0f980e2b97 C#: Properly dispose diagnostic writer objects 2024-04-03 09:47:24 +02:00
Tom Hvitved 9d124197e8 C#: Remove support for legacy LGTM options in autobuilder 2024-03-22 10:09:24 +01:00
Tom Hvitved 62382fc5a2 C#: Fetch .NET in dependency manager instead of autobuilder 2024-02-29 11:23:36 +01:00
Tom Hvitved 9b043a10cc
Merge pull request #15063 from hvitved/csharp/use-scratch-dir
C#: Use `CODEQL_EXTRACTOR_CSHARP_SCRATCH_DIR` instead of `Path.GetTempPath`
2023-12-12 08:16:04 +01:00
Tom Hvitved 866f124a95 C#: Use `CODEQL_EXTRACTOR_CSHARP_SCRATCH_DIR` instead of `Path.GetTempPath` 2023-12-11 13:10:46 +01:00
Michael Nebel 09239ba804 C#: Update NuGet packages. 2023-12-11 10:57:43 +01:00
Michael Nebel 9ab9f2b0e6 C#: Update all project files to use .NET 8 as target framework. 2023-12-11 10:57:43 +01:00
Tamas Vajk b455b2c1a6 C#: Change IsARM to Apple silicon check 2023-11-13 13:20:13 +01:00
Tom Hvitved 6e0ff56788
Revert "C#: Bump all dependencies" 2023-09-06 16:23:38 +02:00
Tom Hvitved bce47fe344 C#: Bump all dependencies 2023-08-29 09:24:39 +02:00
Tamas Vajk 01af74aeda C#: Add space to CMD metacharacters 2023-08-14 11:19:17 +02:00
Michael B. Gale 9dc9925f59
Abstract over `DiagnosticsStream` for tests 2023-03-03 13:05:43 +00:00
Michael Nebel df6f5d52b9
C#: Use dependency injection in the auto builder for Diagnostic classifier. 2023-03-03 13:05:28 +00:00
Michael B. Gale 4f0a93295a
Move `Language` class to `Semmle.Util` 2023-03-03 13:05:27 +00:00
Michael B. Gale 04aaccb186
Fix C++ test missing env var 2023-03-03 13:05:26 +00:00
Michael B. Gale 9d19752c2e
Make improvements based on PR feedback 2023-03-03 13:05:24 +00:00
Michael B. Gale 62cd8ca26f
Update C/C++ autobuilder 2023-03-03 13:05:24 +00:00
Asger F 8f0b77d54f
Revert "C#: Tool status page support" 2023-03-03 11:44:42 +01:00
Michael Nebel 2525ac3dd2 C#: Use dependency injection in the auto builder for Diagnostic classifier. 2023-03-02 09:18:56 +01:00
Michael B. Gale e3762c7f93
Move `Language` class to `Semmle.Util` 2023-02-28 14:16:33 +00:00
Michael B. Gale b203533fc6
Fix C++ test missing env var 2023-02-24 14:16:20 +00:00
Michael B. Gale 0f320996cf
Make improvements based on PR feedback 2023-02-22 12:32:07 +00:00
Michael B. Gale 8e83fd00b7
Update C/C++ autobuilder 2023-02-16 15:52:29 +00:00
Michael B. Gale eab3c6dd5e
Fix missing implementations for C++ tests 2023-02-16 11:07:38 +00:00
Michael Nebel 3a4e5700e8 C#: Update project targets, workflows and other scripts to use .NET 7. 2023-01-31 13:20:59 +01:00
Tom Hvitved 8f3731fd42 C#: Split `AutobuildOptions` into C#/C++ specific classes 2022-11-23 12:57:16 +01:00
Tom Hvitved 780297152c C#: Downgrade `Microsoft.Build` nuget package
17.4.0 does not officially support .NET 6 (it supports .NET 7), so downgrade
to avoid warnings.
2022-11-17 11:00:25 +01:00
Tom Hvitved 5ab77600b8 C++: Update auto-builder nuget packages 2022-11-17 10:44:23 +01:00
Tom Hvitved eff3747eb9 Docs: No longer mention required `/p:UseSharedCompilation=false` 2022-09-06 10:13:29 +02:00
Tom Hvitved d7eeb1fec8 C#: Use .NET 6 2022-02-02 19:25:30 +01:00
Tom Hvitved 1c230d0888 C#: Update nuget packages 2021-12-10 10:42:29 +01:00
Tom Hvitved f100c8a9c0 C++: Make Windows autobuilder tests pass again 2021-03-25 17:43:48 +01:00
Tamas Vajk 7019878775 Upgrade nuget package in Semmle.Autobuild.Cpp.csproj 2021-03-17 12:18:28 +01:00
Tamas Vajk 71f095d6d4 Upgrade projects to .net 5 2021-03-02 09:20:31 +01:00
Tamas Vajk 56604e005a C#: Upgrade to .net core app 3.1 2020-10-06 16:01:14 +02:00
Dave Bartolomeo 6f7a8d029c C++: Move `.gitignore` into autobuilder directory
On second thought, I'm going to make this apply only to the AutoBuilder directory. C# has it in the root of `csharp`, but they need it for their extractor as well.
2020-07-07 16:31:46 -04:00
Tom Hvitved 498ee9b5f5 C#: Factor C++ parts out of autobuilder 2020-07-01 20:06:46 +02:00