modernuo/docs/building-server.md
Kamron Batman 5bd41d5b68
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
2022-11-06 09:59:11 -08:00

33 lines
832 B
Markdown

---
title: Creating a build
---
# Creating a build
The server software must be built before it can be run.
=== "Windows"
Using _windows terminal_, _git bash_, or _powershell_, run:
```bash
./publish.cmd <release|debug> <os> <arch>
```
=== "OSX/Linux"
Using _terminal_, run:
```bash
./publish.sh <release|debug> <os> <arch>
```
<br><br>
`os` (_Optional_)<br>
The operating system to build the server against. If not specified then the server will be built for the same operating system.
:fontawesome-brands-windows:{: .windows } `win`<br>
:fontawesome-brands-apple:{: .apple } `osx`<br>
:fontawesome-brands-linux:{: .linux } `linux`<br>
<br><br>
`arch` (_Optional_)<br>
The architecture to build the server against. If not specified then the server will be built for x64.
`x64`<br>
`arm64`<br>