Buid nim-waku node as separate ci step

So it's easily visible why a run takes longer and an update of the
submodule does not oddly increase the
test step duration.
This commit is contained in:
Franck Royer 2021-03-19 15:16:50 +11:00
parent 26c1511ee8
commit 1cf60d2615
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 8 additions and 0 deletions

View File

@ -22,6 +22,7 @@ jobs:
run: cd nim-waku && echo "::set-output name=ref::$(git rev-parse HEAD)"
- name: Cache nim-waku binary
id: cache-nim-waku
uses: actions/cache@v2
with:
path: |
@ -29,6 +30,13 @@ jobs:
./nim-waku/vendor/rln/target/debug
key: nim-waku-build-v2-${{ steps.nim-waku-head.outputs.ref }}
# This would have been done part of npm pretest but it gives better
# visibility in the CI if done as a separate step
- name: Build wakunode2
if: steps.cache-nim-waku.outputs.cache-hit != 'true'
shell: bash
run: cd nim-waku && make wakunode2
- name: Install bufbuild
uses: mu-io/setup-buf@v1beta
with: