Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
remove FIXME for when to run jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
s3krit committed May 12, 2020
1 parent 54af85f commit fbb1e1e
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,30 +166,23 @@ build-wasm-release:
<<: *collect-artifacts
<<: *docker-env
<<: *compiler_info
# Note: We likely only want to do this for tagged releases, hence the 'only:'
only:
#FIXME: Remove before merging
- /^[0-9]+$/
#- /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
- /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
script:
- time cargo build --locked --target=wasm32-unknown-unknown --manifest-path cli/Cargo.toml --no-default-features --features browser --release
- mkdir -p ./artifacts
- mv ./target/wasm32-unknown-unknown/release/polkadot_cli.wasm ./artifacts/.
- sha256sum ./artifacts/polkadot_cli.wasm |
tee ./artifacts/polkadot_cli.wasm.sha256
- echo "Polkadot version = ${VERSION} (EXTRATAG ${EXTRATAG})"
# Probably don't need these since build-linux-release will do it
# - echo -n ${VERSION} > ./artifacts/VERSION
# - echo -n ${EXTRATAG} > ./artifacts/EXTRATAG

build-linux-release: &build
stage: build
<<: *collect-artifacts
<<: *build-refs
<<: *docker-env
<<: *compiler_info
only:
#FIXME: Remove before merging
- /^[0-9]+$/
#- /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
script:
- time cargo build --release --verbose
- mkdir -p ./artifacts
Expand Down

0 comments on commit fbb1e1e

Please sign in to comment.