Commit bcfcd8ab authored by Anton Weber's avatar Anton Weber Committed by Rahix
Browse files

add GitLab CI config

parent bc3e0078
image: "engel-simulator-builder:latest"
stages:
- check
- build
check:
stage: check
script:
- rustc --version
- cargo --version
- cargo fmt -- --check
only:
- merge_requests
build-dev:
stage: build
script:
- ls -al /usr/local/cargo/bin
- wasm-pack build --dev
only:
- merge_requests
build-release:
stage: build
script:
- wasm-pack build
- cd www
- npm install
- npm run rust-web-modules
- npm run build
artifacts:
paths:
- www/dist
only:
- master
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