From 2fd5470a46ca9369eb24afd8ba8eff329c4274dd Mon Sep 17 00:00:00 2001 From: web3-developer <51288821+web3-developer@users.noreply.github.com> Date: Tue, 23 Jul 2024 10:25:50 +0800 Subject: [PATCH 1/2] Test RocksDb build caching. --- .github/workflows/ci.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e9bfd0..c2b185d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,8 +36,8 @@ jobs: cpu: amd64 - os: macos cpu: amd64 - - os: windows - cpu: amd64 + # - os: windows + # cpu: amd64 branch: [version-1-6, version-2-0, devel] include: - target: @@ -122,9 +122,15 @@ jobs: nim --version nimble --version nimble install -y - nimble test + # nimble test # static linking is not supported on windows if [[ "${{ matrix.target.os }}" != "windows" ]]; then nimble test_static fi + + echo "Building a second time to verify RocksDb build caching" + + if [[ "${{ matrix.target.os }}" != "windows" ]]; then + nimble test_static + fi From 937c8c5fb6070a0420641c29a7c12c76deccc7db Mon Sep 17 00:00:00 2001 From: web3-developer <51288821+web3-developer@users.noreply.github.com> Date: Tue, 23 Jul 2024 10:31:56 +0800 Subject: [PATCH 2/2] Remove nimble install. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c2b185d..abb7166 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -121,7 +121,7 @@ jobs: nim --version nimble --version - nimble install -y + # nimble install -y # nimble test # static linking is not supported on windows