Skip to content

Commit

Permalink
add build with features in gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
SkymanOne committed Mar 14, 2023
1 parent d7e1708 commit 2f54585
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,11 @@ examples-contract-build:
- cargo contract -V
- for example in integration-tests/*/; do
if [ "$example" = "integration-tests/lang-err-integration-tests/" ]; then continue; fi;
if [ "$example" = "integration-tests/conditional-compilation/" ];
then pushd $example &&
cargo +stable contract build --features foo &&
popd;
fi;
pushd $example &&
cargo +stable contract build &&
popd;
Expand All @@ -420,7 +425,7 @@ examples-no-std-check:
- rustup component add rust-src --toolchain stable
- cargo contract -V
# We skip some examples for those reasons:
# There are no manifests in those two directories and hence it would fall back to the workspace.
# There are no manifests in those two directories and hence it would fall back to the workspace.
# - lang-err-integration-tests
# - upgradeable-contracts
# This uses dlmalloc which is only supported on select targets.
Expand Down

0 comments on commit 2f54585

Please sign in to comment.