Updated Installation (markdown)

master
Martin Kruliš 3 years ago
parent ee002e2685
commit ef0fab55f7

@ -458,30 +458,28 @@ dnf -y install gcc gcc-c++
#### C# and .NET Core #### C# and .NET Core
**We are currently migrating configuration from Mono to .NET Core. This **We have recently migrated the configuration from Mono to .NET Core. This
configuration applies to `cs-dotnet-core` environment, `mono` is considered configuration applies to `cs-dotnet-core` environment, `mono` is considered
deprecated.** deprecated.**
Install .NET core SDK: Install .NET core SDK:
``` ```
# dnf -y install dotnet-sdk-3.1 # dnf -y install dotnet-sdk-6.0
``` ```
DOTNET_ROOT: /usr/lib64/dotnet Locate yout main `dotnet` directory (on Centos-like systems, it should be in `/usr/lib64/dotnet`).
DOTNET_BUNDLE_EXTRACT_BASE_DIR: /box/.dotnet-bundle_extract Create a symlink `/opt/dotnet` that points to the main directory. This way we ensure the same
directory for different linux distributions.
Add `-src: "/opt/dotnet"` to `bound-directories` config section of the worker.
Download the following files: We also need to ensure the same paths for all .NET versions (actually, we are concerned only by builds, current pipeline requires .NET 6.0).
Create the following symlinks (preferably relative):
``` ```
https://raw.githubusercontent.com/ReCodEx/utils/master/runners/cs/Reader.cs /opt/dotnet/sdk/latest -> /opt/dotnet/sdk/6.0.101
https://raw.githubusercontent.com/ReCodEx/utils/master/runners/cs/Wrapper.cs /opt/dotnet/shared/Microsoft.NETCore.App/latest -> /opt/dotnet/shared/Microsoft.NETCore.App/6.0.1
https://raw.githubusercontent.com/ReCodEx/utils/master/runners/cs/recodex.csproj
``` ```
(the versions might change slightly in the last number).
Open your running ReCodEx instance in web browser and log in as administrator.
Open `Pipeline` page, find the *C# .NET Core Compilation* pipeline, and click on
the `Edit` button on the right. Scroll down to *Supplementary files* box
and upload all three downloaded files here.
#### Free Pascal #### Free Pascal

Loading…
Cancel
Save