-
-
Notifications
You must be signed in to change notification settings - Fork 936
Labels
A-editorArea - Editor and Language ServerArea - Editor and Language Server
Description
Currently the CI use the release build for testing, which takes almost 3min.
We can use the debug build and cut the time in half.
Somehow need to tell the test setup to use another path then the default one.
Relvanted Code snippets:
CI:
oxc/.github/workflows/ci_vscode.yml
Lines 44 to 52 in da6336c
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1 | |
| - uses: ./.github/actions/pnpm | |
| - name: Build Language Server | |
| working-directory: editors/vscode | |
| run: pnpm run server:build:release |
Debug Build:
oxc/editors/vscode/package.json
Line 146 in da6336c
| "server:build:debug": "cargo build -p oxc_language_server", |
Default Path:
oxc/editors/vscode/client/extension.ts
Lines 165 to 170 in da6336c
| // NOTE: The `./target/release` path is aligned with the path defined in .github/workflows/release_vscode.yml | |
| return ( | |
| process.env.SERVER_PATH_DEV ?? | |
| join(context.extensionPath, `./target/release/oxc_language_server${ext}`) | |
| ); | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-editorArea - Editor and Language ServerArea - Editor and Language Server
Type
Fields
Give feedbackPriority
None yet
Effort
None yet
Start date
None yet
Target date
None yet