Compare commits
7 Commits
51318c750f
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 90cfd4012e | |||
| 2dd6b5ad0a | |||
| 67ba4240b3 | |||
| 40e11f7776 | |||
| de20204e16 | |||
| bcb69474f9 | |||
| 943f4def55 |
@@ -12,7 +12,7 @@ jobs:
|
||||
- run: cargo check
|
||||
|
||||
build:
|
||||
name: Linux build
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -21,17 +21,37 @@ jobs:
|
||||
- name: Setup toolchain
|
||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
|
||||
- name: Build debug
|
||||
- name: Adding cross compiler
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
|
||||
- name: Apt update
|
||||
run: sudo apt update
|
||||
|
||||
- name: Installing windows linker
|
||||
run: sudo apt-get install mingw-w64 -y
|
||||
|
||||
- name: Build linux debug
|
||||
run: cargo build
|
||||
|
||||
- name: Build release
|
||||
- name: Build linux release
|
||||
run: cargo build --release
|
||||
|
||||
- name: Renaming binaries
|
||||
- name: Build windows debug
|
||||
run: cargo build --target x86_64-pc-windows-gnu
|
||||
|
||||
- name: Build windows release
|
||||
run: cargo build --release --target x86_64-pc-windows-gnu
|
||||
|
||||
- name: Renaming linux binaries
|
||||
run: mv target/release/file-srv-gui-v3 file-srv-gui-v3-linux-amd64 && mv target/debug/file-srv-gui-v3 file-srv-gui-v3-linux-debug-amd64
|
||||
|
||||
- name: Renaming windows binaries
|
||||
run: mv target/x86_64-pc-windows-gnu/release/file-srv-gui-v3.exe file-srv-gui-v3-win.exe && mv target/x86_64-pc-windows-gnu/debug/file-srv-gui-v3.exe file-srv-gui-v3-win-debug.exe
|
||||
|
||||
- uses: akkuman/gitea-release-action@v1
|
||||
with:
|
||||
files: |-
|
||||
file-srv-gui-v3-linux-amd64
|
||||
file-srv-gui-v3-linux-debug-amd64
|
||||
file-srv-gui-v3-win.exe
|
||||
file-srv-gui-v3-win-debug.exe
|
||||
|
||||
19
README.md
19
README.md
@@ -1,7 +1,20 @@
|
||||
# File-srv-gui-v3
|
||||
|
||||
[](https://cicd.catgirls.fish/job/file-srv-gui-v3/)
|
||||
|
||||
The third iteration of the Megascans repo GUI.
|
||||
Compatible with [file-srv-v2](https://git.catgirls.fish/firewire/file-srv-v2) (Current iteration)
|
||||
|
||||
Linux and ~~Windows~~ (soon) builds are available via the releases page.
|
||||
Linux and Windows builds are available via the releases page.
|
||||
|
||||
## Building
|
||||
|
||||
Make sure you have a valid rust toolchain, you can download and setup one with [rustup](https://rustup.rs/).
|
||||
Build steps are the same on both windows and linux.
|
||||
|
||||
1. Clone the repo `git clone https://git.catgirls.fish/firewire/file-srv-gui-v3`
|
||||
2. cd into the repo `cd file-srv-gui-v3`
|
||||
3. Build the binary `cargo build --release`
|
||||
|
||||
*Notes:*
|
||||
|
||||
- You may need to restart your terminal after installing rust
|
||||
- You can run the binary directly with `cargo run --release`
|
||||
|
||||
Reference in New Issue
Block a user