Skip to content
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

Merged
merged 6 commits into from
Jan 16, 2024
Merged

ci: move nightly job to the CI. #770

merged 6 commits into from
Jan 16, 2024

Conversation

niklasad1
Copy link
Member

@niklasad1 niklasad1 commented Jan 12, 2024

After the binaries polkadot and staking-miner-playground are built in a cronjob, running all tests should take ~5-10 minutes which is fast enough for the CI.

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.
@niklasad1 niklasad1 force-pushed the ci-remove-nightly-job branch from 1068d97 to ad40089 Compare January 12, 2024 15:36
@niklasad1 niklasad1 force-pushed the ci-remove-nightly-job branch from ad40089 to 63977c6 Compare January 12, 2024 15:45
.github/workflows/ci.yml Outdated Show resolved Hide resolved
mkdir -p ~/.local/bin
mv ./tmp/polkadot* ~/.local/bin
mv ./tmp/staking-miner-playground ~/.local/bin
mkdir -p /usr/local/bin
Copy link
Member Author

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
Copy link
Member Author

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
Copy link
Member Author

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.

.github/workflows/ci.yml Outdated Show resolved Hide resolved
@niklasad1 niklasad1 merged commit 6fce866 into main Jan 16, 2024
11 checks passed
@niklasad1 niklasad1 deleted the ci-remove-nightly-job branch January 16, 2024 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants