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
a948c68e
Commit
a948c68e
authored
Dec 22, 2020
by
Rahix
🦀
Browse files
Merge 'CI Improvements'
See merge request
!17
parents
76a9d685
7e21ddd2
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
a948c68e
...
...
@@ -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
...
...
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