From d6c58f6273d36e2626f3cb5fccd095a33492a182 Mon Sep 17 00:00:00 2001 From: web3-developer <51288821+web3-developer@users.noreply.github.com> Date: Fri, 22 Mar 2024 14:52:38 +0800 Subject: [PATCH] Test windows CI. --- .github/workflows/ci.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8742bd4..d67e74b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,12 +12,12 @@ jobs: fail-fast: false matrix: target: - - os: linux - cpu: amd64 + # - os: linux + # cpu: amd64 # - os: linux # cpu: i386 - - os: macos - cpu: amd64 + # - os: macos + # cpu: amd64 - os: windows cpu: amd64 #- os: windows @@ -140,6 +140,18 @@ jobs: 7z x -y external/nimbus-deps.zip cp -a "./${ROCKSDBSUB}/librocksdb.dll" "${DLLPATH}/librocksdb.dll" + - name: Install static dependencies (Windows) + if: > + runner.os == 'Windows' + run: | + pwd + export VCPKG_LIBRARY_LINKAGE=static + echo $VCPKG_LIBRARY_LINKAGE + /vcpkg install rocksdb[core,lz4,zstd] + + # mkdir build dir + # copy static deps + - name: Path to cached dependencies (Windows) if: > runner.os == 'Windows'