Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jfaltermeier committed Jun 4, 2024
1 parent 07b988b commit c7f67f8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
- name: Build and package
shell: bash
run: |
npm config get msvs_version
yarn --skip-integrity-check --network-timeout 100000
yarn build:dev
yarn download:plugins
Expand Down
8 changes: 7 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ pipeline {
// We will still stop short of publishing anything.
THEIA_IDE_JENKINS_RELEASE_DRYRUN = 'false'
// THEIA_IDE_JENKINS_RELEASE_DRYRUN = 'true'
msvs_version = '2017'
GYP_MSVS_VERSION = '2017'
}
stages {
stage('Build') {
Expand Down Expand Up @@ -145,6 +147,8 @@ spec:
bat "wmic ComputerSystem get TotalPhysicalMemory"
bat "wmic OS get FreePhysicalMemory"
bat "tasklist"
bat 'DIR "C:/Program Files (x86)/Microsoft Visual Studio"'
bat 'DIR "C:/Program Files (x86)"'

buildInstaller(60)
}
Expand Down Expand Up @@ -272,7 +276,7 @@ spec:
}

def buildInstaller(int sleepBetweenRetries) {
int maxRetry = 3
int maxRetry = 1
String buildPackageCmd

checkout scm
Expand All @@ -286,8 +290,10 @@ def buildInstaller(int sleepBetweenRetries) {
buildPackageCmd += ":prod"
}

sh 'npm config get msvs_version'
sh 'node --version'
sh 'export NODE_OPTIONS=--max_old_space_size=4096'
sh 'export DEBUG=electron-rebuild'
sh 'printenv && yarn cache dir'
try {
sh(script: buildPackageCmd)
Expand Down

0 comments on commit c7f67f8

Please sign in to comment.