Add Github action for OSX build (#332)

This commit is contained in:
Sander Land authored and GitHub committed 2021-01-23 15:08:24 +01:00
1 parent 0bf25c1fc5
commit c6af552dbd
6 files changed
+88 -6

No files matched your search

+10
View File
@@ -10,6 +10,10 @@
## <img src="https://upload.wikimedia.org/wikipedia/commons/8/8a/Apple_Logo.svg" alt="MacOs" height="35"/> Installation for MacOS users
### <a name="MacQuick"></a>Quick install guide
You can find downloadable .app files for MacOSX [here](https://github.com/sanderland/katrain/releases).
Simply download, unzip the file, mount the .dmg and drag the .app file to your application folder, everything is included.
### <a name="MacCommand"></a>Command line install guide
[Open a terminal](https://support.apple.com/guide/terminal/open-or-quit-terminal-apd5265185d-f365-44cb-8b09-71a064a42125/mac) and enter the following commands:
```bash
@@ -18,6 +22,7 @@ brew install python3
brew install katago
pip3 install katrain
```
Now you can start KaTrain by simply typing `katrain` in a terminal.
These commands install [Homebrew](https://brew.sh), which simplifies installing packages,
@@ -34,6 +39,11 @@ Installation from sources is essentially the same as for Linux, see [here](#Linu
If you encounter SSL errors on downloading model files, you may need to follow [these](https://stackoverflow.com/questions/52805115/certificate-verify-failed-unable-to-get-local-issuer-certificate) instructions to fix your certificates.
Users with the new M1 macs likely need to install the latest unreleased version of kivy using:
```bash
pip3 install "kivy[base] @ https://github.com/kivy/kivy/archive/master.zip"
```
## <img src="https://upload.wikimedia.org/wikipedia/commons/5/5f/Windows_logo_-_2012.svg" alt="Windows" height="35"/> Installation for Windows users
### <a name="WindowsQuick"></a>Quick install guide