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

Skip to content

Sync with microsoft #14

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

Merged
merged 37 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
f745371
update schedule and add policheck
gcampbell-msft May 1, 2024
d5720e0
update policheck
gcampbell-msft May 6, 2024
e9117cc
fix pipeline tsa and policheck
gcampbell-msft May 6, 2024
6973df5
update
gcampbell-msft May 6, 2024
a1e0d05
does it work without?
gcampbell-msft May 6, 2024
2ba8a1e
update
gcampbell-msft May 6, 2024
830b394
try macos-12
gcampbell-msft May 6, 2024
c497d2f
try modify python
gcampbell-msft May 6, 2024
6f24815
Merge pull request #1741 from microsoft/dev/gcampbell/policheck
gcampbell-msft May 6, 2024
b77146c
preparing for deprecation
gcampbell-msft Aug 14, 2024
92b9f6c
show deprecation popup every time command is run
gcampbell-msft Aug 15, 2024
e955944
use aka.ms
gcampbell-msft Aug 15, 2024
044e86f
fix tslint
gcampbell-msft Aug 15, 2024
a19df4f
update node version
gcampbell-msft Aug 15, 2024
f0eb1ce
remove pipeline updates
gcampbell-msft Aug 16, 2024
8e85984
update node version
gcampbell-msft Aug 16, 2024
551c60b
node version
gcampbell-msft Aug 16, 2024
cfe828f
source-map fix
gcampbell-msft Aug 16, 2024
be25539
try fix windows
gcampbell-msft Aug 16, 2024
9eb6ef3
try workaround
gcampbell-msft Aug 16, 2024
67d12ff
revert attempt
gcampbell-msft Aug 16, 2024
d67c28e
upgrade node-gyp
gcampbell-msft Aug 16, 2024
b807a0d
try fix source-map
gcampbell-msft Aug 16, 2024
a067673
try source-map overloads in both
gcampbell-msft Aug 16, 2024
8062b3b
revert
gcampbell-msft Aug 16, 2024
6f5a89c
try override undici
gcampbell-msft Aug 16, 2024
e62bf59
try fix
gcampbell-msft Aug 16, 2024
84cc311
try workaround
gcampbell-msft Aug 16, 2024
a5e0103
more workarounds
gcampbell-msft Aug 16, 2024
e6734b4
use python 3.8
gcampbell-msft Aug 16, 2024
181e438
remove spaces
gcampbell-msft Aug 16, 2024
d457cad
fix cmd syntax
gcampbell-msft Aug 16, 2024
57b77ed
try different args in ado
gcampbell-msft Aug 16, 2024
614c366
fix
gcampbell-msft Aug 16, 2024
04e04a7
try powershell
gcampbell-msft Aug 16, 2024
c88508d
Merge pull request #1756 from microsoft/dev/gcampbell/Messaging
gcampbell-msft Aug 16, 2024
cbe55a0
Merge branch 'main' of microsoft into sync_with_microsoft
lersi Sep 2, 2024
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
21 changes: 18 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,17 @@ jobs:
# written, but it should be updated when VS Code updates its Node version.
# Node needs to be installed before OS-specific setup so that we can run
# the hash verification script.
- name: Use Node 16.x
- name: Use Node 18.x
uses: actions/setup-node@v2
with:
node-version: 16.x
node-version: 18.x

# On new macos-latest machines, Python 3.9+ is used, and it's causing issues with binding.gyp
- name: Use Python 3.8
if: ${{ matrix.os == 'macos-latest' }}
uses: actions/setup-python@v5
with:
python-version: 3.8

# On new macos-latest machines, Python 3.9+ is used, and it's causing issues with binding.gyp
- name: Use Python 3.8
Expand Down Expand Up @@ -79,7 +86,15 @@ jobs:
- name: Check for linting errors
run: gulp tslint
- name: Build and pack extension
run: node build/package.js
if: ${{ matrix.os != 'windows-latest' }}
run: |
export NODE_OPTIONS="--openssl-legacy-provider --no-experimental-fetch"
node build/package.js
- name: Build and pack extension
if: ${{ matrix.os == 'windows-latest' }}
run: |
$env:NODE_OPTIONS="--openssl-legacy-provider --no-experimental-fetch"
node build/package.js
- name: Publish extension VSIX as artifact
uses: actions/upload-artifact@v2
with:
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Visual Studio Code extension for Arduino
# Visual Studio Code extension for Arduino (deprecated)

> ⚠️ **Warning** ⚠️
>
> # This extension is deprecated and no longer maintained. We recommend existing customers to use the [Arduino IDE software](https://www.arduino.cc/en/software).

> NOTE:
> This is a community maintained fork of [Microsoft's vscode arduino extension](https://github.com/microsoft/vscode-arduino)
Expand Down
16 changes: 12 additions & 4 deletions build/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,13 @@ jobs:
zipSources: false
condition: ne(variables['Build.Reason'], 'PullRequest')
- task: NodeTool@0
displayName: Use Node 16.x
displayName: Use Node 18.x
inputs:
versionSpec: 16.x
versionSpec: 18.x
- task: UsePythonVersion@0
displayName: Use Python 3.8
inputs:
versionSpec: 3.8
- ${{ if parameters.prerelease }}:
- pwsh: node -e "p=require('./package.json');p.version=p.version.replace(/\.\d+$/,'.'+$(Build.BuildNumber));require('fs').writeFileSync('./package.json',JSON.stringify(p,undefined,2))"
- script: npm install --global gulp node-gyp @vscode/vsce
Expand All @@ -49,10 +53,14 @@ jobs:
displayName: Use production AI key
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags'))
- ${{ if parameters.prerelease }}:
- script: node build/package.js --pre-release
- pwsh: |
$env:NODE_OPTIONS="--no-experimental-fetch --openssl-legacy-provider"
node build/package.js --pre-release
displayName: Build and pack extension
- ${{ else }}:
- script: node build/package.js
- pwsh: |
$env:NODE_OPTIONS="--no-experimental-fetch --openssl-legacy-provider"
node build/package.js
displayName: Build and pack extension
- pwsh: |
$path = Join-Path $Env:TEMP "7z-installer.exe"
Expand Down
4 changes: 2 additions & 2 deletions build/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ extends:
- download: current
artifact: extension-vsixes
- task: NodeTool@0
displayName: Use Node 16.x
displayName: Use Node 18.x
inputs:
versionSpec: 16.x
versionSpec: 18.x
- script: npm install --global @vscode/vsce
displayName: Install vsce
- script: for f in $(Pipeline.Workspace)/extension-vsixes/*.vsix; do vsce publish --packagePath $f; done
Expand Down
Loading
Loading