add JS build using Nix in CI
This commit is contained in:
parent
ad76fc1570
commit
80779d150c
1 changed files with 12 additions and 0 deletions
|
@ -19,6 +19,18 @@ build:js:
|
||||||
- javascript/index.d.ts
|
- javascript/index.d.ts
|
||||||
- javascript/exported_functions.json
|
- javascript/exported_functions.json
|
||||||
|
|
||||||
|
build:js-nix:
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- /nix/store
|
||||||
|
image: docker.io/nixos/nix
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- nix --extra-experimental-features nix-command --extra-experimental-features flakes build
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- result/javascript
|
||||||
|
|
||||||
test:js:
|
test:js:
|
||||||
stage: test
|
stage: test
|
||||||
needs:
|
needs:
|
||||||
|
|
Loading…
Reference in a new issue