first attempt at windows job
This commit is contained in:
@@ -41,3 +41,33 @@ jobs:
|
|||||||
name: mumble-web2-proxy
|
name: mumble-web2-proxy
|
||||||
path: target/release/mumble-web2-proxy
|
path: target/release/mumble-web2-proxy
|
||||||
retention-days: 5
|
retention-days: 5
|
||||||
|
|
||||||
|
windows_build:
|
||||||
|
runs-on: windows
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
|
- name: Install rust
|
||||||
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
with:
|
||||||
|
toolchain: stable
|
||||||
|
|
||||||
|
- name: Install cargo binstall
|
||||||
|
shell: pwsh
|
||||||
|
run: Set-ExecutionPolicy Unrestricted -Scope Process; iex (iwr "https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.ps1").Content
|
||||||
|
|
||||||
|
- name: Install dioxus-cli
|
||||||
|
run: cargo binstall dioxus-cli --version 0.7.1
|
||||||
|
|
||||||
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
|
- name: Build dioxus project
|
||||||
|
run: dx bundle -p mumble-web2-gui --release --windows
|
||||||
|
|
||||||
|
- name: Upload mumble-web2-gui Windows Artifact
|
||||||
|
uses: https://gitea.com/actions/gitea-upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: mumble-web2-gui-windows
|
||||||
|
path: gui/dist
|
||||||
|
retention-days: 5
|
||||||
|
|||||||
Reference in New Issue
Block a user