-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: move nightly job
to the CI.
#770
Conversation
After the binaries `polkadot` and `staking-miner-playground` are built in a cronjob, running all tests should take ~5 minutes which is fast enough for the CI.
1068d97
to
ad40089
Compare
ad40089
to
63977c6
Compare
mkdir -p ~/.local/bin | ||
mv ./tmp/polkadot* ~/.local/bin | ||
mv ./tmp/staking-miner-playground ~/.local/bin | ||
mkdir -p /usr/local/bin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed this path because it was not found in the default path, not sure how it worked before 🤔
@@ -29,6 +29,9 @@ jobs: | |||
run: | | |||
cargo build -p polkadot --release --features fast-runtime | |||
./target/release/polkadot --version | |||
strip -s ./target/release/polkadot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
strip binaries to make the download faster
@@ -34,6 +34,7 @@ jobs: | |||
cd staking-miner-playground | |||
cargo build --release --features test-trimming | |||
./target/release/staking-miner-playground --version | |||
strip -s ./target/release/staking-miner-playground |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
strip binary to make the download faster, this is over 1GB unstripped.
After the binaries
polkadot
andstaking-miner-playground
are built in a cronjob, running all tests should take ~5-10 minutes which is fast enough for the CI.