mirror of
https://github.com/waku-org/js-waku.git
synced 2025-02-16 22:37:07 +00:00
rln shared lib is needed by nim-waku bin
This commit is contained in:
parent
cc84fb1c93
commit
57fa974812
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -14,18 +14,14 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Init submodules
|
|
||||||
# This is done as part of pretest but as we are caching the nim binary
|
|
||||||
# which is inside the submodule, better initialising them before
|
|
||||||
# recovering the binary.
|
|
||||||
run: git submodule update --init --recursive
|
|
||||||
|
|
||||||
- name: Cache nim-waku binary
|
- name: Cache nim-waku binary
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: ./nim-waku/build/wakunode2
|
path: |
|
||||||
|
./nim-waku/build/wakunode2
|
||||||
|
./nim-waku/vendor/rln/target/debug
|
||||||
# The nim-waku version is set by the .gitmodules file as it is a submodule
|
# The nim-waku version is set by the .gitmodules file as it is a submodule
|
||||||
key: nim-waku-build-v1-${{ hashFiles('.gitmodules') }}
|
key: nim-waku-build-v2-${{ hashFiles('.gitmodules') }}
|
||||||
|
|
||||||
- name: Install bufbuild
|
- name: Install bufbuild
|
||||||
uses: mu-io/setup-buf@v1beta
|
uses: mu-io/setup-buf@v1beta
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
"fix:prettier": "prettier \"src/**/*.ts\" --write",
|
"fix:prettier": "prettier \"src/**/*.ts\" --write",
|
||||||
"fix:lint": "eslint src --ext .ts --fix",
|
"fix:lint": "eslint src --ext .ts --fix",
|
||||||
"pretest": "run-s pretest:*",
|
"pretest": "run-s pretest:*",
|
||||||
"pretest:1-init-git-submodules": "git submodule update --init --recursive",
|
"pretest:1-init-git-submodules": "[ -f './nim-waku/build/wakunode2' ] || git submodule update --init --recursive",
|
||||||
"pretest:2-build-nim-waku": "cd nim-waku; [ -f './build/wakunode2' ] || make -j$(nproc --all 2>/dev/null || echo 2) wakunode2",
|
"pretest:2-build-nim-waku": "cd nim-waku; [ -f './build/wakunode2' ] || make -j$(nproc --all 2>/dev/null || echo 2) wakunode2",
|
||||||
"test": "run-s build test:*",
|
"test": "run-s build test:*",
|
||||||
"test:lint": "eslint src --ext .ts",
|
"test:lint": "eslint src --ext .ts",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user