mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
md5sum assets
This commit is contained in:
parent
4742c4bffb
commit
e7b97e0c66
@ -1,7 +1,9 @@
|
|||||||
image: registry.gitlab.com/veloren/veloren-docker-ci:latest
|
image: registry.gitlab.com/veloren/veloren-docker-ci:latest
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: fetch
|
||||||
|
GIT_DEPTH: 3
|
||||||
|
GIT_CLEAN_FLAGS: -f
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- optional-builds
|
- optional-builds
|
||||||
@ -9,13 +11,6 @@ stages:
|
|||||||
- post
|
- post
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- mkdir -p veloren
|
|
||||||
- cd veloren
|
|
||||||
- if [ ! -d ".git" ]; then git clone https://gitlab.com/veloren/veloren.git .; fi
|
|
||||||
- git clean -f
|
|
||||||
- git lfs install
|
|
||||||
- git lfs fetch
|
|
||||||
- git lfs checkout $CI_COMMIT_SHA
|
|
||||||
- source $HOME/.cargo/env
|
- source $HOME/.cargo/env
|
||||||
- df -h
|
- df -h
|
||||||
- free -h
|
- free -h
|
||||||
@ -38,7 +33,7 @@ optional-debug:linux:
|
|||||||
cache:
|
cache:
|
||||||
key: "cache-linux-debug"
|
key: "cache-linux-debug"
|
||||||
paths:
|
paths:
|
||||||
- veloren/
|
- ./
|
||||||
script:
|
script:
|
||||||
- cd voxygen && VELOREN_ASSETS=assets cargo build --verbose && cd ..
|
- cd voxygen && VELOREN_ASSETS=assets cargo build --verbose && cd ..
|
||||||
- cd server-cli && VELOREN_ASSETS=assets cargo build --verbose && cd ..
|
- cd server-cli && VELOREN_ASSETS=assets cargo build --verbose && cd ..
|
||||||
@ -57,7 +52,7 @@ optional-debug:windows:
|
|||||||
cache:
|
cache:
|
||||||
key: "cache-windows-debug"
|
key: "cache-windows-debug"
|
||||||
paths:
|
paths:
|
||||||
- veloren/
|
- ./
|
||||||
script:
|
script:
|
||||||
- cd voxygen && VELOREN_ASSETS=assets cargo build --verbose --target=x86_64-pc-windows-gnu && cd ..
|
- cd voxygen && VELOREN_ASSETS=assets cargo build --verbose --target=x86_64-pc-windows-gnu && cd ..
|
||||||
- cd server-cli && VELOREN_ASSETS=assets cargo build --verbose --target=x86_64-pc-windows-gnu && cd ..
|
- cd server-cli && VELOREN_ASSETS=assets cargo build --verbose --target=x86_64-pc-windows-gnu && cd ..
|
||||||
@ -84,7 +79,7 @@ optional-release:linux:
|
|||||||
cache:
|
cache:
|
||||||
key: "cache-linux-release"
|
key: "cache-linux-release"
|
||||||
paths:
|
paths:
|
||||||
- veloren/
|
- ./
|
||||||
script:
|
script:
|
||||||
- cd voxygen && VELOREN_ASSETS=assets cargo build --verbose --release && cd ..
|
- cd voxygen && VELOREN_ASSETS=assets cargo build --verbose --release && cd ..
|
||||||
- cd server-cli && VELOREN_ASSETS=assets cargo build --verbose --release && cd ..
|
- cd server-cli && VELOREN_ASSETS=assets cargo build --verbose --release && cd ..
|
||||||
@ -103,7 +98,7 @@ optional-release:windows:
|
|||||||
cache:
|
cache:
|
||||||
key: "cache-windows-release"
|
key: "cache-windows-release"
|
||||||
paths:
|
paths:
|
||||||
- veloren/
|
- ./
|
||||||
script:
|
script:
|
||||||
- cd voxygen && VELOREN_ASSETS=assets cargo build --verbose --target=x86_64-pc-windows-gnu --release && cd ..
|
- cd voxygen && VELOREN_ASSETS=assets cargo build --verbose --target=x86_64-pc-windows-gnu --release && cd ..
|
||||||
- cd server-cli && VELOREN_ASSETS=assets cargo build --verbose --target=x86_64-pc-windows-gnu --release && cd ..
|
- cd server-cli && VELOREN_ASSETS=assets cargo build --verbose --target=x86_64-pc-windows-gnu --release && cd ..
|
||||||
@ -126,7 +121,7 @@ check:
|
|||||||
cache:
|
cache:
|
||||||
key: "cache-linux-debug"
|
key: "cache-linux-debug"
|
||||||
paths:
|
paths:
|
||||||
- veloren/
|
- ./
|
||||||
tags:
|
tags:
|
||||||
- veloren-docker
|
- veloren-docker
|
||||||
script:
|
script:
|
||||||
@ -137,7 +132,7 @@ code-quality:
|
|||||||
cache:
|
cache:
|
||||||
key: "cache-linux-debug"
|
key: "cache-linux-debug"
|
||||||
paths:
|
paths:
|
||||||
- veloren/
|
- ./
|
||||||
tags:
|
tags:
|
||||||
- veloren-docker
|
- veloren-docker
|
||||||
script:
|
script:
|
||||||
@ -153,7 +148,7 @@ unittests:
|
|||||||
cache:
|
cache:
|
||||||
key: "cache-linux-debug"
|
key: "cache-linux-debug"
|
||||||
paths:
|
paths:
|
||||||
- veloren/
|
- ./
|
||||||
when: delayed
|
when: delayed
|
||||||
start_in: 5 seconds
|
start_in: 5 seconds
|
||||||
tags:
|
tags:
|
||||||
@ -166,7 +161,7 @@ benchmarks:
|
|||||||
cache:
|
cache:
|
||||||
key: "cache-linux-release"
|
key: "cache-linux-release"
|
||||||
paths:
|
paths:
|
||||||
- veloren/
|
- ./
|
||||||
when: delayed
|
when: delayed
|
||||||
start_in: 5 seconds
|
start_in: 5 seconds
|
||||||
tags:
|
tags:
|
||||||
@ -180,7 +175,7 @@ linux:
|
|||||||
cache:
|
cache:
|
||||||
key: "cache-linux-release"
|
key: "cache-linux-release"
|
||||||
paths:
|
paths:
|
||||||
- veloren/
|
- ./
|
||||||
when: delayed
|
when: delayed
|
||||||
start_in: 5 seconds
|
start_in: 5 seconds
|
||||||
only:
|
only:
|
||||||
@ -208,7 +203,7 @@ windows:
|
|||||||
cache:
|
cache:
|
||||||
key: "cache-windows-release"
|
key: "cache-windows-release"
|
||||||
paths:
|
paths:
|
||||||
- veloren/
|
- ./
|
||||||
when: delayed
|
when: delayed
|
||||||
start_in: 5 seconds
|
start_in: 5 seconds
|
||||||
only:
|
only:
|
||||||
|
@ -7,9 +7,8 @@ use crate::ui::{ImageFrame, Tooltip, TooltipManager, Tooltipable};
|
|||||||
use client::Client;
|
use client::Client;
|
||||||
use conrod_core::{
|
use conrod_core::{
|
||||||
color, image,
|
color, image,
|
||||||
position::Relative,
|
|
||||||
widget::{self, Button, Image, Rectangle /*, Scrollbar*/},
|
widget::{self, Button, Image, Rectangle /*, Scrollbar*/},
|
||||||
widget_ids, Color, Labelable, Positionable, Sizeable, Widget, WidgetCommon,
|
widget_ids, Color, Positionable, Sizeable, Widget, WidgetCommon,
|
||||||
};
|
};
|
||||||
|
|
||||||
widget_ids! {
|
widget_ids! {
|
||||||
@ -31,6 +30,7 @@ widget_ids! {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[derive(WidgetCommon)]
|
#[derive(WidgetCommon)]
|
||||||
|
#[allow(dead_code)]
|
||||||
pub struct Bag<'a> {
|
pub struct Bag<'a> {
|
||||||
client: &'a Client,
|
client: &'a Client,
|
||||||
imgs: &'a Imgs,
|
imgs: &'a Imgs,
|
||||||
|
@ -232,7 +232,7 @@ impl<V: RectRasterableVol<Vox = Block> + ReadVol + Debug> Meshable<TerrainPipeli
|
|||||||
pos,
|
pos,
|
||||||
offs,
|
offs,
|
||||||
&colors,
|
&colors,
|
||||||
|pos, norm, col, ao, light| {
|
|pos, norm, col, _ao, light| {
|
||||||
FluidVertex::new(pos, norm, col, light, 0.3)
|
FluidVertex::new(pos, norm, col, light, 0.3)
|
||||||
},
|
},
|
||||||
false,
|
false,
|
||||||
|
Loading…
Reference in New Issue
Block a user