mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-01-24 19:59:53 +00:00
Merge pull request #654 from status-im/ci_testslim
CI Multi nim: only test slim
This commit is contained in:
commit
98184d9dfd
14
.github/workflows/multi_nim.yml
vendored
14
.github/workflows/multi_nim.yml
vendored
@ -149,22 +149,12 @@ jobs:
|
|||||||
bash build_nim.sh nim csources dist/nimble NimBinaries
|
bash build_nim.sh nim csources dist/nimble NimBinaries
|
||||||
echo '${{ github.workspace }}/nim/bin' >> $GITHUB_PATH
|
echo '${{ github.workspace }}/nim/bin' >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Setup Go
|
|
||||||
uses: actions/setup-go@v2
|
|
||||||
with:
|
|
||||||
go-version: '^1.15.5'
|
|
||||||
|
|
||||||
- name: Install p2pd
|
|
||||||
run: |
|
|
||||||
V=1 bash scripts/build_p2pd.sh p2pdCache 124530a3
|
|
||||||
|
|
||||||
- name: Run nim-libp2p tests
|
- name: Run nim-libp2p tests
|
||||||
run: |
|
run: |
|
||||||
nimble install -y --depsOnly
|
nimble install -y --depsOnly
|
||||||
nimble test
|
nimble test_slim
|
||||||
if [[ "${{ matrix.branch }}" == "version-1-6" || "${{ matrix.branch }}" == "devel" ]]; then
|
if [[ "${{ matrix.branch }}" == "version-1-6" || "${{ matrix.branch }}" == "devel" ]]; then
|
||||||
echo -e "\nTesting with '--gc:orc':\n"
|
echo -e "\nTesting with '--gc:orc':\n"
|
||||||
export NIMFLAGS="--gc:orc"
|
export NIMFLAGS="--gc:orc"
|
||||||
nimble test
|
nimble test_slim
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -86,8 +86,8 @@ task test, "Runs the test suite":
|
|||||||
task test_slim, "Runs the test suite":
|
task test_slim, "Runs the test suite":
|
||||||
exec "nimble testnative"
|
exec "nimble testnative"
|
||||||
exec "nimble testpubsub_slim"
|
exec "nimble testpubsub_slim"
|
||||||
exec "nimble testinterop"
|
|
||||||
exec "nimble testfilter"
|
exec "nimble testfilter"
|
||||||
|
exec "nimble examples_build"
|
||||||
|
|
||||||
task examples_build, "Build the samples":
|
task examples_build, "Build the samples":
|
||||||
buildSample("directchat")
|
buildSample("directchat")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user