mirror of
https://github.com/logos-storage/logos-storage-nim-dht.git
synced 2026-01-06 07:23:11 +00:00
match nimble dir
This commit is contained in:
parent
e14a41f2a1
commit
fe44e1ef51
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@ -145,8 +145,8 @@ jobs:
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.nimble
|
||||
key: ${{ matrix.target.os }}-${{ matrix.target.cpu }}-nimble-dir-${{ hashFiles('nimble.lock') }}
|
||||
${{ github.workspace }} / .nimble
|
||||
key: ${{ matrix.target.os }}-${{ matrix.target.cpu }}-dotnimble-${{ hashFiles('nimble.lock') }}
|
||||
|
||||
- name: Setup Nimble
|
||||
uses: "./.github/actions/install_nimble"
|
||||
@ -154,14 +154,13 @@ jobs:
|
||||
os: ${{ matrix.target.os }}
|
||||
cpu: ${{ matrix.target.cpu }}
|
||||
|
||||
- name: Install Deps
|
||||
- name: Setup Nim
|
||||
run: |
|
||||
rm -rf ~/.nimble/
|
||||
nimble -v
|
||||
|
||||
- name: Setup Deps
|
||||
run: |
|
||||
echo "NIMBLE: version: " `nimble -v`
|
||||
echo "NIMBLE: which: " `which nimble`
|
||||
if [[ "${{ matrix.target.os }}" == "windows" ]]; then
|
||||
# https://github.com/status-im/nimbus-eth2/issues/3121
|
||||
export NIMFLAGS="-d:nimRawSetjmp"
|
||||
fi
|
||||
nimble install
|
||||
|
||||
- name: Run tests
|
||||
@ -170,9 +169,7 @@ jobs:
|
||||
# https://github.com/status-im/nimbus-eth2/issues/3121
|
||||
export NIMFLAGS="-d:nimRawSetjmp"
|
||||
fi
|
||||
|
||||
nimble test -y
|
||||
|
||||
if [[ "${{ matrix.branch }}" == "version-1-6" || "${{ matrix.branch }}" == "devel" ]]; then
|
||||
echo -e "\nTesting with '--gc:orc':\n"
|
||||
export NIMFLAGS="${NIMFLAGS} --gc:orc"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user