Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

Cache dependencies for CI. #277

Merged
merged 45 commits into from
Mar 31, 2020
Merged

Cache dependencies for CI. #277

merged 45 commits into from
Mar 31, 2020

Conversation

Kesanov
Copy link
Contributor

@Kesanov Kesanov commented Mar 18, 2020

Pull Request Description

This PR introduces cache for github actions.

The job Check is now mac-only, to deal with the limited size of cache (5GB).

Wasm-pack is now download from github (faster by 3.5 minutes compared to cargo install).

Clippy was replaced with clippy-review due to rust-lang/rust-clippy#4612.

There is also some issue with cache mechanism: actions/cache#227. But so far it wasn't very frequent (it happened once in 15 runs).

Checklist

Please include the following checklist in your PR:

  • The documentation has been updated if necessary.
  • All code conforms to the Rust, Scala, Java or Haskell style guides as appropriate.
  • All code has been tested where possible.

@Kesanov Kesanov requested a review from wdanilo as a code owner March 18, 2020 13:31
@Kesanov Kesanov added Category: Performance Difficulty: Core Contributor Should only be attempted by a core contributor Priority: High Should be scheduled as soon as possible labels Mar 18, 2020
@Kesanov Kesanov self-assigned this Mar 18, 2020
@Kesanov Kesanov requested a review from farmaazon as a code owner March 20, 2020 10:29
Copy link
Collaborator

@farmaazon farmaazon left a comment

Choose a reason for hiding this comment

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

I would like to some more refactoring here: The workflow is called like "Build (Windows Linux, MacOs)" but on branches it does not build packages (and not on each system), but only do the checking and tests. I'd like to have it in a separate workflows, like "Check" and "Package (Windows,Linux,MacOs)"

.github/workflows/build.yml Outdated Show resolved Hide resolved
build/run.js Show resolved Hide resolved
.github/workflows/build.yml Outdated Show resolved Hide resolved
.github/workflows/check.yml Show resolved Hide resolved
.github/workflows/check.yml Show resolved Hide resolved
@Kesanov Kesanov closed this Mar 25, 2020
@Kesanov Kesanov reopened this Mar 25, 2020
@Kesanov Kesanov closed this Mar 25, 2020
@Kesanov Kesanov reopened this Mar 27, 2020
@Kesanov Kesanov closed this Mar 27, 2020
@Kesanov Kesanov reopened this Mar 27, 2020
@wdanilo wdanilo merged commit 4e55dc5 into master Mar 31, 2020
@wdanilo wdanilo deleted the wip/jv/ci-cache branch April 15, 2020 21:59
mwu-tow pushed a commit to enso-org/enso that referenced this pull request Oct 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Difficulty: Core Contributor Should only be attempted by a core contributor Priority: High Should be scheduled as soon as possible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants