[CI] compile, output caching

parent c9b0d426
......@@ -15,7 +15,7 @@ variables:
stages:
- deps
- build
- compile
- test
deps:
......@@ -23,24 +23,23 @@ deps:
cache:
paths:
- /nix/store
- ${HOME}/.bun/install/cache
- node_modules/
#- ${CI_PROJECT_DIR}/bun.lockb
script:
- nix-shell shell.nix --run 'bun install --skip-builds'
build:
stage: build
compile:
stage: compile
cache:
paths:
- /nix/store
- ${HOME}/.bun/install/cache
- node_modules/
- output/
- .spago/
#- ${CI_PROJECT_DIR}/bun.lockb
script:
- nix-shell shell.nix --run fix-bun
- nix-shell shell.nix --run build
- nix-shell shell.nix --run compile
test:
stage: test
......@@ -49,8 +48,8 @@ test:
# key: ${CI_COMMIT_REF_SLUG}
paths:
- /nix/store
- ${HOME}/.bun/install/cache
- node_modules/
- output/
- .spago/
#- ${CI_PROJECT_DIR}/bun.lockb
script:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment