Browse Source

32 bit on 32 bit

Samuel Attard 6 months ago
parent
commit
55c150c39b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .github/workflows/pipeline-segment-electron-test.yml

+ 3 - 0
.github/workflows/pipeline-segment-electron-test.yml

@@ -173,6 +173,9 @@ jobs:
         # Run tests
         if [ "${{ inputs.target-platform }}" != "linux" ]; then
           echo "About to start tests"
+          if [ "${{ inputs.target-platform }}" = "windows" ] && [ "${{ inputs.target-arch }}" = "x86" ]; then
+            export npm_config_arch="ia32"
+          fi
           node script/yarn test --runners=main --trace-uncaught --enable-logging --files $tests_files
         else
           chown :builduser .. && chmod g+w ..