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

Add material-ui docs scenario #6

Merged
merged 2 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions cases/scenarios/mui-docs/scenario.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "mui-docs",
"kind": "tsc",
"args": [
"-p",
"${suiteDirectory}/mui-docs/docs",
"--outdir",
"${outDirectory}"
],
"platforms": [
"linux"
]
}
17 changes: 17 additions & 0 deletions cases/scenarios/mui-docs/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env bash

set -exo pipefail

cd "${0%/*}"
SCENARIO_NAME=$(basename $PWD)
SOLUTION_DIR=../../solutions/$SCENARIO_NAME

if ! test -d $SOLUTION_DIR; then
git clone --filter blob:none https://github.com/mui/material-ui.git $SOLUTION_DIR
fi

cd $SOLUTION_DIR
git clean -fdx
git reset --hard HEAD
git switch --detach 48a29227cb737c6f008a62f9c8c4c47aedd99c43
pnpm install --ignore-scripts
1 change: 1 addition & 0 deletions cases/solutions/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/vscode/
/self-compiler/
/self-build-src/
/mui-docs/
1 change: 1 addition & 0 deletions scripts/src/generateMatrix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const scenarioConfig = {
{ name: "vscode", agent: "ts-perf1", location: "public" },
{ name: "self-compiler", agent: "ts-perf2", location: "public" },
{ name: "self-build-src", agent: "ts-perf3", location: "public" },
{ name: "mui-docs", agent: "ts-perf1", location: "public" },
],
tsserver: [
{ name: "Compiler-UnionsTSServer", agent: "ts-perf1", location: "internal" },
Expand Down