Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 70631d0

Browse files
authored
up to date with microsoft (#9)
1 parent 8210f96 commit 70631d0

File tree

3 files changed

+20
-6
lines changed

3 files changed

+20
-6
lines changed

.github/workflows/build.yml

+7
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ jobs:
3434
with:
3535
node-version: 16.x
3636

37+
# On new macos-latest machines, Python 3.9+ is used, and it's causing issues with binding.gyp
38+
- name: Use Python 3.8
39+
if: ${{ matrix.os == 'macos-latest' }}
40+
uses: actions/setup-python@v5
41+
with:
42+
python-version: 3.8
43+
3744
- name: Windows setup
3845
if: ${{ matrix.os == 'windows-latest' }}
3946
run: |

azure-pipelines.yml

+13
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ parameters:
1313
- test
1414
- real
1515

16+
schedules:
17+
- cron: 0 6 * * 0
18+
branches:
19+
include:
20+
- main
21+
always: "true"
22+
1623
pr:
1724
- main
1825

@@ -46,6 +53,12 @@ extends:
4653
name: VSEngSS-MicroBuild2022-1ES
4754
sdl:
4855
sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES
56+
tsa:
57+
enabled: true
58+
GdnPublishTsaOnboard: true
59+
GdnPublishTsaConfigFile: $(Build.SourcesDirectory)\build\tsa.gdntsa
60+
policheck:
61+
enabled: true
4962
spotBugs:
5063
enabled: false # Turn this off, this isn't java.
5164
customBuildTags:

build/build.yml

-6
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@ jobs:
1313
variables:
1414
TeamName: C++ Cross Platform and Cloud
1515
templateContext:
16-
sdl:
17-
${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
18-
tsa:
19-
enabled: true
20-
GdnPublishTsaOnboard: true
21-
GdnPublishTsaConfigFile: $(Build.SourcesDirectory)\build\tsa.gdntsa
2216
outputs:
2317
- output: pipelineArtifact
2418
displayName: 'Publish extension VSIXes as artifact'

0 commit comments

Comments
 (0)