From 9688bf458136dacd73e61057217f478e894f2d38 Mon Sep 17 00:00:00 2001 From: james58899 Date: Mon, 13 Nov 2023 05:44:25 +0000 Subject: [PATCH] Windows CI --- .github/workflows/rust.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c2e5595..c2bac10 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -57,3 +57,22 @@ jobs: with: name: hath-rust-aarch64 path: target/aarch64-unknown-linux-gnu/release/hath-rust + build-windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/cache@v3 + with: + path: | + ~/.cargo/bin/ + ~/.cargo/registry/index/ + ~/.cargo/registry/cache/ + ~/.cargo/git/db/ + target/ + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + - name: Build + run: cargo build --verbose --release + - uses: actions/upload-artifact@v3 + with: + name: hath-rust-windows + path: target/release/hath-rust.exe