Skip to content

Commit bcece9a

Browse files
committed
Update pull-request.yml
1 parent 32c780a commit bcece9a

1 file changed

Lines changed: 3 additions & 11 deletions

File tree

‎.github/workflows/pull-request.yml‎

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ jobs:
1111

1212
env:
1313
BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory
14-
GYP_MSVS_VERSION: 2022
15-
WINDOWS_SDK_VERSION: 10.0.26100.0
1614

1715
steps:
1816
- name: Checkout code
@@ -25,27 +23,21 @@ jobs:
2523
with:
2624
node-version: 20
2725

28-
- run: dir "C:\Program Files (x86)\Windows Kits\10\Lib"
29-
3026
- uses: ChristopheLav/windows-sdk-install@v1
3127
with:
3228
version-sdk: 22621
3329
features: "OptionId.DesktopCPPx86,OptionId.DesktopCPPx64"
3430

35-
# - uses: GuillaumeFalourd/setup-windows10-sdk-action@v2.4
36-
# with:
37-
# sdk-version: 22621
38-
3931
- run: dir "C:\Program Files (x86)\Windows Kits\10\Lib"
4032

4133
- name: Install node-gyp
4234
run: npm install -g node-gyp
4335

44-
# - name: Install build wrapper
45-
# uses: SonarSource/sonarqube-scan-action/install-build-wrapper@v5
36+
- name: Install build wrapper
37+
uses: SonarSource/sonarqube-scan-action/install-build-wrapper@v5
4638

4739
- name: Run build wrapper
48-
run: node-gyp configure build
40+
run: build-wrapper-win-x86-64.exe --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} node-gyp configure build
4941

5042
# - run: ls ${{ env.BUILD_WRAPPER_OUT_DIR }}
5143
# - run: cat ${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json

0 commit comments

Comments
 (0)