Skip to content

Conversation

@eed3si9n
Copy link
Collaborator

@eed3si9n eed3si9n commented Jan 6, 2023

Problem

Currently code is generated only for Linux.
Also the parser check prevents us from omitting codegen in PR.

Solution

  1. Run test on macOS and Windows only if the PR contains C code changes. Ideally we would want to generate code for macOS and Windows as well, but macOS it too slow (takes 12 minutes) and Windows fails to generate the parser code.
  2. Run the parser check only if the PR contains C code changes.

@eed3si9n eed3si9n force-pushed the wip/generate_check branch 9 times, most recently from 699358b to 48ea8a5 Compare January 6, 2023 19:49
@eed3si9n eed3si9n changed the title Generate code on non-Linux Generate code on macOS Jan 6, 2023
@eed3si9n eed3si9n changed the title Generate code on macOS Generate code on macOS too Jan 6, 2023
@keynmol
Copy link
Collaborator

keynmol commented Jan 6, 2023

Ugh, MacOS is upwards of 11 minutes now :(

This makes none of the original idea feasible.

@eed3si9n eed3si9n force-pushed the wip/generate_check branch from 48ea8a5 to 936f685 Compare January 6, 2023 21:07
@eed3si9n eed3si9n changed the title Generate code on macOS too Test on macOS/Windows only on C changes Jan 6, 2023
@eed3si9n eed3si9n force-pushed the wip/generate_check branch 2 times, most recently from 642ef28 to 66e38f3 Compare January 6, 2023 21:25
Problem
-------
Currently code is generated only for Linux.
Also the parser check prevents us from omitting codegen in PR.

Solution
--------
1. Run test on macOS and Windows only if the PR contains C code changes.
2. Run the parser check only if the PR contains C code changes
@eed3si9n eed3si9n force-pushed the wip/generate_check branch from 66e38f3 to 95c1437 Compare January 6, 2023 21:29
@eed3si9n
Copy link
Collaborator Author

eed3si9n commented Jan 6, 2023

Going to self-merge to unblock open PRs.

@eed3si9n eed3si9n merged commit 883a60f into tree-sitter:master Jan 6, 2023
@eed3si9n eed3si9n deleted the wip/generate_check branch January 6, 2023 21:37
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.

2 participants