Commit a948c68e authored by Rahix's avatar Rahix 🦀

Merge 'CI Improvements'

See merge request !17
parents 76a9d685 7e21ddd2
......@@ -4,6 +4,11 @@ stages:
- check
- build
cache: &global_cache
paths:
- target/
- www/node_modules/
check:
stage: check
script:
......@@ -15,14 +20,25 @@ check:
build-dev:
stage: build
cache:
# inherit all global cache settings
<<: *global_cache
key: merge-requests
script:
- ls -al /usr/local/cargo/bin
- wasm-pack build --dev
- RUSTFLAGS=-Dwarnings wasm-pack build --dev
- cd www
- npm install
- npm run rust-web-modules
- npm run build
only:
- merge_requests
build-release:
stage: build
cache:
# inherit all global cache settings
<<: *global_cache
key: release-build
script:
- wasm-pack build
- cd www
......
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