mirror of
https://github.com/logos-storage/logos-storage-nim-dht.git
synced 2026-01-08 00:13:07 +00:00
rework nimble tests
This commit is contained in:
parent
d4db3d8e27
commit
f505d32950
29
.github/workflows/ci.yml
vendored
29
.github/workflows/ci.yml
vendored
@ -105,20 +105,11 @@ jobs:
|
||||
echo "ncpu=$ncpu" >> $GITHUB_ENV
|
||||
echo "MAKE_CMD=${MAKE_CMD}" >> $GITHUB_ENV
|
||||
|
||||
- uses: jiro4989/setup-nim-action@v1
|
||||
- name: Setup Nimble
|
||||
uses: "./.github/actions/install_nimble"
|
||||
with:
|
||||
nim-version: 1.6.14
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
# - name: Setup Paths
|
||||
# run: |
|
||||
# echo 'NIMBLE_DIR=${{ github.workspace }}/.nimble' >> $GITHUB_ENV
|
||||
|
||||
# - name: Setup Nimble
|
||||
# uses: "./.github/actions/install_nimble"
|
||||
# with:
|
||||
# os: ${{ matrix.target.os }}
|
||||
# cpu: ${{ matrix.target.cpu }}
|
||||
os: ${{ matrix.target.os }}
|
||||
cpu: ${{ matrix.target.cpu }}
|
||||
|
||||
- name: Restore nimble dependencies from cache
|
||||
id: nimble_deps
|
||||
@ -128,16 +119,14 @@ jobs:
|
||||
${{ github.workspace }} / .nimble
|
||||
key: ${{ matrix.target.os }}-${{ matrix.target.cpu }}-dotnimble-${{ hashFiles('nimble.lock') }}
|
||||
|
||||
- name: Check ENV
|
||||
- name: Setup Env
|
||||
run: |
|
||||
echo ENV:
|
||||
env
|
||||
|
||||
nim -v
|
||||
nimble -v
|
||||
|
||||
nimble install -y nimble@0.14.2
|
||||
nimble -v
|
||||
- name: Setup Deps
|
||||
run: |
|
||||
nimble install -d
|
||||
nimble setup
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
|
||||
@ -18,8 +18,9 @@ when getEnv("NIMBUS_BUILD_SYSTEM") == "yes" and
|
||||
system.fileExists(currentDir & "nimbus-build-system.paths"):
|
||||
echo "Using Nimbus Paths"
|
||||
include "nimbus-build-system.paths"
|
||||
elif fileExists("nimble.paths"):
|
||||
|
||||
# begin Nimble config (version 2)
|
||||
when withDir(thisDir(), system.fileExists("nimble.paths")):
|
||||
--noNimblePath
|
||||
echo "Using Nimble Paths"
|
||||
# begin Nimble config (version 1)
|
||||
include "nimble.paths"
|
||||
# end Nimble config
|
||||
# end Nimble config
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user