Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
update windows
Browse files Browse the repository at this point in the history
  • Loading branch information
nitro-neal committed Sep 25, 2024
1 parent e1f8aa2 commit 9fa2b51
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,18 +175,19 @@ jobs:
runs-on: windows-latest
name: Build x86_64-pc-windows-msvc target
steps:
- uses: actions/checkout@v4
- name: Install Rust 1.74.0
run: rustup toolchain install 1.74.0
- name: Set Rust 1.74.0 as default
run: rustup default 1.74.0
- uses: actions/checkout@v2
- name: Install Rust
run: rustup toolchain install stable
- name: Add MSVC target
run: rustup target add x86_64-pc-windows-msvc
- name: Build the library
run: |
cargo build --target x86_64-pc-windows-msvc --release --package tbdex_uniffi
[ ! -d "bound/kt/src/main/resources" ] && mkdir -p bound/kt/src/main/resources
if (-not (Test-Path -Path "bound/kt/src/main/resources")) {
New-Item -ItemType Directory -Path "bound/kt/src/main/resources"
}
cp target/x86_64-pc-windows-msvc/release/tbdex_uniffi.dll bound/kt/src/main/resources/tbdex_uniffi_x86_64_pc_windows_msvc.dll
shell: powershell
- name: Upload .dll
uses: actions/[email protected]
with:
Expand Down

0 comments on commit 9fa2b51

Please sign in to comment.