Unverified Commit 011bae31 authored by Michael Müller's avatar Michael Müller Committed by GitHub
Browse files

Add `ink-waterfall` to CI (#844)

parent da5a1247
Pipeline #146179 canceled with stages
in 10 minutes and 4 seconds
...@@ -57,6 +57,9 @@ unordered ...@@ -57,6 +57,9 @@ unordered
untyped untyped
validator validator
variadic variadic
metadata
timestamp
prepend
Django/S Django/S
IP/S IP/S
......
...@@ -9,6 +9,7 @@ stages: ...@@ -9,6 +9,7 @@ stages:
- check - check
- workspace - workspace
- examples - examples
- ink-waterfall
- fuzz - fuzz
- publish - publish
...@@ -345,6 +346,20 @@ examples-docs: ...@@ -345,6 +346,20 @@ examples-docs:
cargo doc --manifest-path examples/delegator/${contract}/Cargo.toml --document-private-items --verbose --no-deps; cargo doc --manifest-path examples/delegator/${contract}/Cargo.toml --document-private-items --verbose --no-deps;
done done
#### stage: ink-waterfall
ink-waterfall:
stage: ink-waterfall
variables:
UPSTREAM_PR_ID: $CI_COMMIT_REF_NAME
CI_IMAGE: "paritytech/ink-waterfall-ci:latest"
trigger:
project: parity/ink-waterfall
branch: master
strategy: depend
#### stage: publish #### stage: publish
publish-docs: publish-docs:
......
...@@ -77,7 +77,7 @@ pub trait Environment { ...@@ -77,7 +77,7 @@ pub trait Environment {
+ AsRef<[u8]> + AsRef<[u8]>
+ AsMut<[u8]>; + AsMut<[u8]>;
/// The type of timestamps. /// The type of a timestamp.
type Timestamp: 'static type Timestamp: 'static
+ scale::Codec + scale::Codec
+ Copy + Copy
......
...@@ -48,12 +48,12 @@ where ...@@ -48,12 +48,12 @@ where
{ {
format_err!( format_err!(
snd.span(), snd.span(),
"encountered duplicate ink! `{}` config argument", "encountered duplicate ink! `{}` configuration argument",
name, name,
) )
.into_combine(format_err!( .into_combine(format_err!(
fst.span(), fst.span(),
"first `{}` config argument here", "first `{}` configuration argument here",
name name
)) ))
} }
...@@ -170,7 +170,7 @@ impl Default for Environment { ...@@ -170,7 +170,7 @@ impl Default for Environment {
mod tests { mod tests {
use super::*; use super::*;
/// Asserts that the given input config attribute argument are converted /// Asserts that the given input configuration attribute argument are converted
/// into the expected ink! configuration or yields the expected error message. /// into the expected ink! configuration or yields the expected error message.
fn assert_try_from( fn assert_try_from(
input: ast::AttributeArgs, input: ast::AttributeArgs,
...@@ -273,7 +273,7 @@ mod tests { ...@@ -273,7 +273,7 @@ mod tests {
env = ::my::env::Types, env = ::my::env::Types,
env = ::my::other::env::Types, env = ::my::other::env::Types,
}, },
Err("encountered duplicate ink! `env` config argument"), Err("encountered duplicate ink! `env` configuration argument"),
); );
} }
} }
Supports Markdown
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