From ae96b7a79878097d52eaebb5f882eacb541a60d0 Mon Sep 17 00:00:00 2001 From: aubrey Date: Fri, 1 Nov 2024 18:49:02 +0000 Subject: [PATCH] Create windows.yml (praying this works) --- .github/workflows/windows.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/windows.yml diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml new file mode 100644 index 0000000..23db296 --- /dev/null +++ b/.github/workflows/windows.yml @@ -0,0 +1,28 @@ +name: Build on Windows + +on: + push: + branches: [ main, master ] + pull_request: + branches: [ main, master ] + workflow_dispatch: + +jobs: + build-windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + + - name: Install Rust + uses: dtolnay/rust-toolchain@stable + with: + targets: x86_64-pc-windows-msvc + + - name: Build Windows + run: cargo build --release --target x86_64-pc-windows-msvc + + - name: Upload Windows Artifact + uses: actions/upload-artifact@v4 + with: + name: pixie-installer-windows + path: target/x86_64-pc-windows-msvc/release/pixie-installer.exe