This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 683
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: remove python configuration from CI setup (#4238)
- Loading branch information
1 parent
57f0423
commit 9e011e9
Showing
1 changed file
with
0 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,29 +55,6 @@ jobs: | |
if: startsWith(matrix.os, 'windows-') | ||
uses: microsoft/[email protected] | ||
|
||
- name: install node tools | ||
# we don't need to install the windows-build-tools package, as we | ||
# already have almost everything we need. We only need to install | ||
# python 2.7. Also windows-build-tools@4 fails to install because some | ||
# resources it downloads no longer exist, and windows-build-tools@5 | ||
# fails to install Python (it will wait on the python installer forever) | ||
if: startsWith(matrix.os, 'windows-') | ||
uses: actions/setup-python@5ccb29d8773c3f3f653e1705f474dfaa8a06a912 #v4.4.0 | ||
with: | ||
python-version: "2.7" | ||
|
||
- name: install node-gyp | ||
if: startsWith(matrix.os, 'windows-') | ||
run: npm install --global [email protected] | ||
|
||
- name: Set node config to use python2.7 | ||
if: startsWith(matrix.os, 'windows-') | ||
run: npm config set python python2.7 | ||
|
||
- name: Set node config to set msvs_version to 2019 | ||
if: startsWith(matrix.os, 'windows-') | ||
run: npm config set msvs_version 2019 --global | ||
|
||
- run: npm ci | ||
- run: npm run tsc | ||
- run: npm test | ||
|