fix: install the latest version of Nimble
This commit is contained in:
parent
cfe2ef5714
commit
ed6b481832
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue