From df9e1444988df23f6544932186108d48e4a000bf Mon Sep 17 00:00:00 2001 From: "Scott C. Livingston" Date: Sun, 5 Jan 2025 17:31:29 -0800 Subject: [PATCH] CI: first attempt at Windows CI --- .github/workflows/main.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a3c2688..b9d21f8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,18 +11,23 @@ jobs: strategy: matrix: os: [ - ubuntu-22.04, - macos-latest, + windows-latest, ] steps: - uses: actions/checkout@v4 - run: rustup toolchain install stable --profile minimal - uses: Swatinem/rust-cache@v2 + - name: Install OpenSSL manually if on Windows + if: runner.os == 'Windows' + run: | + vcpkg install openssl:x64-windows + vcpkg integrate install - name: Prepare to build run: | mkdir keys touch keys/public.pem - name: Lint + if: runner.os != 'Windows' run: | cargo fmt --check cargo check