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: run Linux release builds in sysroot with Ubuntu 18.04 and LLVM #10920

Merged
merged 3 commits into from
Jun 23, 2021

Conversation

piscisaureus
Copy link
Member

@piscisaureus piscisaureus commented Jun 10, 2021

Depends on: denoland/rusty_v8#708

@piscisaureus
Copy link
Member Author

piscisaureus commented Jun 10, 2021

Before1 After1
image image
image image

1: Github Actions caches are empty.

.github/workflows/ci.yml Outdated Show resolved Hide resolved
tools/wpt/utils.ts Outdated Show resolved Hide resolved
.github/workflows/ci.yml Outdated Show resolved Hide resolved
git clone --depth 1 --no-checkout \
https://github.com/rust-lang/crates.io-index \
~/.cargo/registry/index/github.com-1ecc6299db9ec823
fi
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand this. Is this related to the sysroot?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Separated out the commit

Copy link
Member

@ry ry Jun 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this do tho? What is "1ecc6299db9ec823" ? Will it ever need to be updated? I think this could have a comment as to the purpose

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this do tho?

As reflected in the name, it makes a shallow clone of the crates.io index.

What is "1ecc6299db9ec823"

I don't know.

Will it ever need to be updated?

I don't know. But in my Rust-using career it has never changed.

I think this could have a comment as to the purpose

The purpose is to make CI faster. Want me add # This makes CI faster?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# Manually clone the cargo crate index shallowly so that cargo doesn't
# clone it deeply. This saves about 1 minute of CI time. We don't believe the
# identifier '1ecc6299db9ec823' will ever change, but if it does then this command
# must be updated.

piscisaureus added a commit to piscisaureus/deno that referenced this pull request Jun 23, 2021
piscisaureus added a commit to piscisaureus/deno that referenced this pull request Jun 23, 2021
piscisaureus added a commit to piscisaureus/deno that referenced this pull request Jun 23, 2021
piscisaureus added a commit to piscisaureus/deno that referenced this pull request Jun 23, 2021
piscisaureus added a commit to piscisaureus/deno that referenced this pull request Jun 23, 2021
...by avoiding a full clone of crates.io index history.
Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@piscisaureus piscisaureus merged commit e02403b into denoland:main Jun 23, 2021
@piscisaureus piscisaureus deleted the ci branch June 23, 2021 20:36
ry pushed a commit that referenced this pull request Jun 29, 2021
ry pushed a commit that referenced this pull request Jun 29, 2021
...by avoiding a full clone of crates.io index history.
ry pushed a commit to ry/deno that referenced this pull request Jun 29, 2021
ry pushed a commit to ry/deno that referenced this pull request Jun 29, 2021
...by avoiding a full clone of crates.io index history.
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.

None yet

3 participants