... #18
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
name: NodeJS with Gulp | |
on: | |
push: | |
branches: [ "package-*" ] | |
pull_request: | |
branches: [ "package-*" ] | |
jobs: | |
# linux: | |
# runs-on: ubuntu-latest | |
# | |
# strategy: | |
# matrix: | |
# node-version: [20.x] | |
# | |
# steps: | |
# - uses: actions/checkout@v4 | |
# | |
# - name: Use Node.js ${{ matrix.node-version }} | |
# uses: actions/setup-node@v4 | |
# with: | |
# node-version: ${{ matrix.node-version }} | |
# | |
# - name: Install dependencies | |
# run: | | |
# sudo apt-get update | |
# sudo apt-get install -y libkrb5-dev | |
# | |
# - name: Build | |
# run: | | |
# npm install | |
# npm run gulp vscode-linux-x64 | |
# cp -r ../VSCode-linux-x64 . | |
# mv VSCode-linux-x64 code-x17-linux-x64 | |
# zip -r code-x17-linux-x64.zip code-x17-linux-x64 | |
# | |
# - name: Upload artifact | |
# uses: actions/upload-artifact@v3 | |
# with: | |
# name: code-x17-linux-x64 | |
# path: code-x17-linux-x64.zip | |
windows: | |
runs-on: windows-2022 | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- name: Download and install Microsoft Visual C++ 2010 Redistributable (x64) | |
run: | | |
try { | |
Get-Command -Name msvcp100.dll | |
} catch { | |
Write-Error msvcp100.dll not found | |
} | |
try { | |
Get-Command -Name msvcr100.dll | |
} catch { | |
Write-Error msvcr100.dll not found | |
} | |
curl -L -o vcredist_x64.exe https://download.microsoft.com/download/1/1/0/110d9ed4-0761-4390-936e-0d66b0d192c3/vcredist_x64.exe | |
.\vcredist_x64.exe /quiet /norestart | |
try { | |
Get-Command -Name msvcp100.dll | |
} catch { | |
Write-Error msvcp100.dll not found | |
} | |
try { | |
Get-Command -Name msvcr100.dll | |
} catch { | |
Write-Error msvcr100.dll not found | |
} | |
shell: pwsh |