From 598f317bdfe244103a7779f9c728b0698bc99973 Mon Sep 17 00:00:00 2001 From: ozwaldorf Date: Mon, 13 May 2024 17:40:57 -0400 Subject: [PATCH] feat: windows workflow --- .github/workflows/windows.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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..6ef8cc0 --- /dev/null +++ b/.github/workflows/windows.yml @@ -0,0 +1,26 @@ +name: Windows binary +on: workflow_dispatch + +jobs: + build: + name: Build binary (Windows) + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + name: Checkout + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + - name: Rust Cache + uses: Swatinem/rust-cache@v2 + - name: Build Binary + shell: powershell + run: | + & cargo build --locked --release + - name: Upload Files + uses: actions/upload-artifact@v4 + with: + name: lutgen-windows + path: target/release/lutgen.exe +