Skip to content

Commit

Permalink
Add windows support
Browse files Browse the repository at this point in the history
  • Loading branch information
kpcyrd committed Nov 12, 2024
1 parent 68d8ff7 commit 7866fbb
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,26 @@ jobs:
- name: Build
run: cargo build --release --verbose --no-default-features -F vendored

build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4

- name: Set up cargo cache
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-release-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-release-

- name: Build
run: AWS_LC_SYS_PREBUILT_NASM=1 cargo build --release --verbose --no-default-features -F vendored

build-static:
runs-on: ubuntu-24.04
steps:
Expand Down

0 comments on commit 7866fbb

Please sign in to comment.