Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Engel Simulator 2020
Engel Simulator 2020
Commits
bcfcd8ab
Commit
bcfcd8ab
authored
Dec 21, 2020
by
Anton Weber
Committed by
Rahix
Dec 21, 2020
Browse files
add GitLab CI config
parent
bc3e0078
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
bcfcd8ab
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment