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

Speed up pipeline #340

Merged
merged 70 commits into from
May 17, 2024
Merged

Conversation

deemp
Copy link
Member

@deemp deemp commented May 14, 2024

Additionally:

  • fix scripts to work on Windows and non-Windows

TODO

  • write about cygwin and cygpath on the pipeline page on the site
  • fix artifact name
  • in Setup.hs, run the command in bash
  • Cache generated Syntax files so that it's not necessary to rebuild the project only because of them
    • Restore them before stack-action using the hash of Syntax.cf and stack.yaml.lock as a key
    • Create an output flag that is true if all files that must be generated are present
    • If this output if false, run full rebuild in stack-action

PR-Codex overview

This PR focuses on updating the pipeline scripts, adding Normalizer installation, and enhancing pipeline lock management.

Detailed summary

  • Added Normalizer installation and path setup
  • Enhanced pipeline lock management
  • Updated pipeline scripts and directory structure

The following files were skipped due to too many changes: scripts/pipeline.sh, .github/workflows/ghc.yml

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@deemp deemp linked an issue May 14, 2024 that may be closed by this pull request
@deemp deemp force-pushed the 87-cache-results-of-tests-without-normalization branch from fe3c911 to 4045c68 Compare May 14, 2024 22:58
@deemp deemp force-pushed the 87-cache-results-of-tests-without-normalization branch from c7b1dbf to 1d1cf5d Compare May 14, 2024 23:50
@deemp deemp force-pushed the 87-cache-results-of-tests-without-normalization branch from a25caf2 to fc6c0f6 Compare May 15, 2024 00:06
@deemp deemp requested a review from fizruk May 15, 2024 00:29
@deemp deemp force-pushed the 87-cache-results-of-tests-without-normalization branch 3 times, most recently from abfd86c to 46e06ea Compare May 16, 2024 13:48
so that pipeline.lock can be compared with pipeline_new.lock even if core.autocrlf is true
@deemp deemp force-pushed the 87-cache-results-of-tests-without-normalization branch from 46e06ea to 1c3d707 Compare May 16, 2024 13:53
@deemp deemp force-pushed the 87-cache-results-of-tests-without-normalization branch from 0377fac to 0cb793c Compare May 16, 2024 14:21
@deemp deemp force-pushed the 87-cache-results-of-tests-without-normalization branch from 0cb793c to c33d373 Compare May 16, 2024 14:22
@deemp deemp changed the title 87 cache results of pipeline tests without normalization Speed up pipeline May 16, 2024
@deemp deemp force-pushed the 87-cache-results-of-tests-without-normalization branch from 54eabc4 to 0daeaa8 Compare May 17, 2024 00:28
@deemp deemp force-pushed the 87-cache-results-of-tests-without-normalization branch from 0daeaa8 to c1888c9 Compare May 17, 2024 00:30
@deemp deemp force-pushed the 87-cache-results-of-tests-without-normalization branch from cfbb6d7 to f7e575d Compare May 17, 2024 01:14
@fizruk fizruk merged commit ef486c6 into master May 17, 2024
7 of 8 checks passed
@fizruk fizruk deleted the 87-cache-results-of-tests-without-normalization branch May 17, 2024 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants