CI Multi nim: only test slim
This commit is contained in:
parent
32ede6da3c
commit
5f18968c3f
|
@ -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…
Reference in New Issue