add JS build using Nix in CI

This commit is contained in:
Hubert Chathi 2022-12-02 21:00:51 -05:00
parent ad76fc1570
commit 80779d150c

View file

@ -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: