From 0303013e759661b4530f893fe5ad12a3afed180b Mon Sep 17 00:00:00 2001 From: Bamidev Date: Sun, 10 Mar 2024 11:34:46 +0100 Subject: [PATCH] Add github workflow for windows. --- .github/workflows/rust.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c55fb18..fbd5410 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -27,4 +27,16 @@ jobs: - name: Build with Edge WebView2 (MinGW) run: cargo build --verbose --features edge2 --target=x86_64-pc-windows-gnu - name: Run tests - run: RUST_BACKTRACE=full RUST_LOG=debug xvfb-run cargo test --verbose --features webkitgtk \ No newline at end of file + run: RUST_BACKTRACE=full RUST_LOG=debug xvfb-run cargo test --verbose --features webkitgtk + + build-windows: + runs-on: windows-latest + steps: + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + - uses: actions/checkout@v3 + - uses: actions-rs/cargo@v1 + with: + command: build + args: --release --features edge2