github: also build on windows

This commit is contained in:
Bixilon 2022-05-08 00:08:24 +02:00
parent 729eea7254
commit c38f2db98a
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4
2 changed files with 21 additions and 8 deletions

View File

@ -10,7 +10,7 @@ on:
branches: [ master ]
jobs:
build:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@ -25,5 +25,22 @@ jobs:
- name: Upload Linux x64 build
uses: actions/upload-artifact@v2
with:
name: linux-x64-build
name: minosoft-linux-x64
path: target/Minosoft-*.jar
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Upload Windows x64 build
uses: actions/upload-artifact@v2
with:
name: minosoft-win64
path: target/Minosoft-*.jar

View File

@ -4,7 +4,7 @@
<img src="https://img.shields.io/badge/license-GPLv3-brightgreen?style=for-the-badge">
Minosoft is an open source minecraft client, written from scratch in kotlin (and java). It aims to bring more functionality and stability.
(To be clear: This is not clone of minecraft, you can see it more like a fork or even better as a reimplementation)
(To be clear: This is not clone of minecraft, it is a reimplementation)
<h2><span style="color:red">Notice: I am **not** responsible for anti cheat banned accounts, this project is heavily in development!</span></h2>
(Also this software is not affiliated with Mojang AB)
@ -106,7 +106,7 @@ If you want to get notified when cool new features arrive or other interesting s
## Downloads / Installation
### Linux
### Linux, Windows
The latest x64 build gets uploaded to github actions. See [github actions](https://github.com/Bixilon/Minosoft/actions)
@ -114,10 +114,6 @@ The latest x64 build gets uploaded to github actions. See [github actions](https
Thanks to @jugendhacker you can get minosoft directly from the arch user repository (AUR): https://aur.archlinux.org/packages/minosoft-git/
### Windows
Build it from source and run it :)
### macOS
Support for macOS is a delicate topic. Let's say it works for now, but it is not convenient to use. Take a look at issue [#29](https://gitlab.bixilon.de/bixilon/minosoft/-/issues/29) for details.