feat: Adds .NET 7 & Arm64 support (#1229)
## BREAKING CHANGE **Publishing for linux will no longer include runtimes** ## Major Changes * Adds .NET 7 support. * Adds ARM64 support (experimental). * Changes linux support to be open-ended against anything .NET 7 supports. * Fixes native library resolutions. (Make sure to install `dev` versions of the libraries) * Updates README * Adds Ubuntu 22, CentOS 8/9 Stream to CI/CD. ## TODOs: * Update modernuo.com docs Closes #1173 Closes #1159
This commit is contained in:
parent
119eec6b61
commit
5bd41d5b68
42 changed files with 164 additions and 232 deletions
83
README.md
83
README.md
|
|
@ -15,31 +15,38 @@ ModernUO [](https://www.microsoft.com/en-US/evalcenter/evaluate-windows-server-2022)
|
||||

|
||||
[](https://www.debian.org/distrib/)
|
||||
[](https://ubuntu.com/download/server)
|
||||
[](https://linuxmint.com/download.php)
|
||||
[](https://www.centos.org/download/)
|
||||
[](https://getfedora.org/en/server/download/)
|
||||
[](https://access.redhat.com/downloads)
|
||||
[](https://www.microsoft.com/en-US/evalcenter/evaluate-windows-server-2022)
|
||||

|
||||
[](https://www.debian.org/distrib/)
|
||||
[](https://ubuntu.com/download/server)
|
||||
<br />
|
||||
[](https://alpinelinux.org/downloads/)
|
||||
[](https://getfedora.org/en/server/download/)
|
||||
[](https://access.redhat.com/downloads)
|
||||
[](https://www.centos.org/download/)
|
||||
[](https://get.opensuse.org/)
|
||||
[](https://www.suse.com/download/sles/)
|
||||
[](https://linuxmint.com/download.php)
|
||||
[](https://archlinux.org/download/)
|
||||
|
||||
#### Running the server
|
||||
[](https://dotnet.microsoft.com/download/dotnet/6.0)
|
||||
[](https://dotnet.microsoft.com/download/dotnet/7.0)
|
||||
|
||||
#### Development
|
||||
[](https://git-scm.com/downloads)
|
||||
[](https://dotnet.microsoft.com/download/dotnet/6.0)
|
||||
[](https://git-scm.com/downloads)
|
||||
[](https://dotnet.microsoft.com/download/dotnet/7.0)
|
||||
|
||||
#### Supported IDEs
|
||||
|
||||
[<img height="64"
|
||||
title="Jetbrains Rider 2022.2.2" alt="Jetbrains Rider 2022.2.2" src="https://user-images.githubusercontent.com/3953314/133473479-734e425c-fbb6-433a-af2d-2cc8444398e8.png">](https://www.jetbrains.com/rider/download)
|
||||
|
||||
[<img height="64" title="Visual Studio 2022" alt="Visual Studio 2022" src="https://user-images.githubusercontent.com/3953314/133473556-35fd48b4-6460-49b1-b7c5-b4a8c529cc04.png">](https://visualstudio.microsoft.com/downloads)
|
||||
<br />
|
||||
Rider 2022.2.2+ Visual Studio 2022+
|
||||
###### Note: VS Code is not currently supported.
|
||||
|
||||
<p align="left"><a href="https://www.jetbrains.com/rider/download"><img height="64" title="Jetbrains Rider 2022.2.3+"
|
||||
alt="Jetbrains Rider 2022.2.3+"
|
||||
src="https://user-images.githubusercontent.com/3953314/133473479-734e425c-fbb6-433a-af2d-2cc8444398e8.png"></a><img
|
||||
alt="space" width="32" src="https://user-images.githubusercontent.com/3953314/200151935-3c1521ec-16cb-487b-85a2-7454d347c585.png"><a href="https://code.visualstudio.com/download"><img height="64" title="VSCode"
|
||||
alt="VSCode"
|
||||
src="https://user-images.githubusercontent.com/3953314/200161017-7697171f-8f13-4829-95d0-8a25b59ee4c9.png"></a><img alt="space" width="32"
|
||||
src="https://user-images.githubusercontent.com/3953314/200151935-3c1521ec-16cb-487b-85a2-7454d347c585.png"><a href="https://visualstudio.microsoft.com/vs/community/"><img height="64" title="Visual Studio 2022 v17.4+"
|
||||
alt="Visual Studio 2022 v17.4+"
|
||||
src="https://user-images.githubusercontent.com/3953314/133473556-35fd48b4-6460-49b1-b7c5-b4a8c529cc04.png"></a></p>
|
||||
|
||||
## Getting Started
|
||||
- Install prerequisite [requirements](https://github.com/modernuo/ModernUO#requirements)
|
||||
|
|
@ -48,26 +55,36 @@ Rider 2022.2.2+  
|
|||
- Open `ModernUO.sln` to start developing
|
||||
|
||||
## Building/Publishing
|
||||
- Run `./publish.cmd [release|debug (default: release)] [os]`
|
||||
- `os` - [Supported operating systems](https://github.com/dotnet/core/blob/main/release-notes/6.0/supported-os.md)
|
||||
- Run `./publish.cmd [release|debug (default: release)] [os] [arch (default: x64)]`
|
||||
- `os` - [Supported operating systems](https://github.com/dotnet/core/blob/main/release-notes/7.0/supported-os.md)
|
||||
- `win` - Windows 10/11/2016/2019/2022
|
||||
- `osx` - MacOS 10.15/11.0+/12.0+ (Catalina, Big Sur, Monterey)
|
||||
- `ubuntu.16.04`, `ubuntu.18.04` `ubuntu.20.04` - Ubuntu LTS
|
||||
- `linuxmint.17`, `linuxmint.18`, `linuxmint.19` - Linux Mint
|
||||
- `debian.10`, `debian.11` - Debian
|
||||
- `centos.7`, `centos.8` - CentOS
|
||||
- `fedora.32`, `fedora.33`, `fedora.34`, `fedora.35`, `fedora.36` - Fedora
|
||||
- `rhel.7`, `rhel.8` - Redhat
|
||||
- `linux` - Other linux distros
|
||||
- If blank, the operating system running the build is used. Linux Mint 20 is not supported directly yet, so build explicitly against `ubuntu.20.04` instead.
|
||||
- `osx` - MacOS 10.15/11/12/13 (Catalina, Big Sur, Monterey, Ventura)
|
||||
- `linux` - Linux
|
||||
- `arch`
|
||||
- `x64` - Intel 64-bit
|
||||
- `arm64` - ARM 64-bit
|
||||
|
||||
## Linux Prerequisites
|
||||
### Fedora, CentOS, RHEL, etc
|
||||
```shell
|
||||
dnf upgrade --refresh -y
|
||||
# CentOS does not come with EPEL enabled
|
||||
dnf install -y epel-release epel-next-release
|
||||
# Note: libargon2 is old.
|
||||
# Download/symlink from here: https://github.com/modernuo/Argon2.Bindings/tree/main/runtimes
|
||||
dnf install -y findutils libicu zlib-devel zstd libargon2-devel
|
||||
```
|
||||
|
||||
### Ubuntu, Debian, etc
|
||||
```shell
|
||||
apt-get update -y
|
||||
apt-get install -y libicu-dev libz-dev zstd libargon2-dev
|
||||
```
|
||||
|
||||
## Running the Server
|
||||
- Follow the [publish](https://github.com/modernuo/ModernUO#publishing-builds) instructions
|
||||
- Run `ModernUO.exe` or `dotnet ModernUO.dll` from the `Distribution` directory on the server
|
||||
|
||||
**Note:** If you are running a version of linux that isn't listed above, then you may have to install the following using a package manager:
|
||||
* `libargon2-dev`, `libz-dev`, and `zstd`
|
||||
|
||||
## Troubleshooting / FAQ
|
||||
- See [FAQ](./FAQ.md)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue