From ed6b481832926d33a35a3ddfeba6340545a9b063 Mon Sep 17 00:00:00 2001 From: Roman Date: Thu, 16 Nov 2023 20:39:15 +0800 Subject: [PATCH] fix: install the latest version of Nimble --- .github/actions/install_nim/action.yml | 6 +++++- .github/workflows/ci.yml | 8 +------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/actions/install_nim/action.yml b/.github/actions/install_nim/action.yml index 171a7356b..315b7f8a1 100644 --- a/.github/actions/install_nim/action.yml +++ b/.github/actions/install_nim/action.yml @@ -116,7 +116,11 @@ runs: shell: ${{ inputs.shell }} run: | rm -rf nim + export NIMBLE_DIR=$HOME/.nimble curl -O -L -s -S https://raw.githubusercontent.com/status-im/nimbus-build-system/master/scripts/build_nim.sh env MAKE="${MAKE_CMD} -j${ncpu}" ARCH_OVERRIDE=${PLATFORM} NIM_COMMIT=${{ inputs.nim_branch }} \ QUICK_AND_DIRTY_COMPILER=1 QUICK_AND_DIRTY_NIMBLE=1 CC=gcc \ - bash build_nim.sh nim csources dist/nimble NimBinaries + bash build_nim.sh nim csources ${NIMBLE_DIR} NimBinaries + nimble install nimble -y + rm -rf /nim/bin/nimble + ln -s $NIMBLE_DIR/bin/nimble /nim/bin/nimble diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b0cc0a92..2b5e40861 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: cpu: amd64 #- os: windows #cpu: i386 - branch: [version-1-6-16] + branch: [version-1-6] include: - target: os: linux @@ -80,18 +80,12 @@ jobs: run: | V=1 bash scripts/build_p2pd.sh p2pdCache 124530a3 -# - name: Upgrade Nimble -# run: | -# nimble install nimble@0.14.2 -y -# nimble --version - - name: Install deps run: | nimble install_pinned - name: Run tests run: | - nimble install nimble@0.14.2 -y nim --version nimble --version #NIMFLAGS="${NIMFLAGS} --mm:refc --verbosity:3" nimble test