Skip to content

Commit

Permalink
Restore support for win7 and win-ia32
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengyangliu committed Jun 30, 2024
1 parent 78a5ab3 commit bf477d3
Show file tree
Hide file tree
Showing 5 changed files with 30,307 additions and 9,505 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,11 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'
node-version: '14.x'

- name: Npm Install
run: |
git config --global url."https://github.com".insteadOf ssh://git@github.com
npm ci
- name: Build and Publish
Expand All @@ -89,6 +90,12 @@ jobs:
with:
node-version: '16.x'

- name: Install python2.7
run: |
brew install pyenv
pyenv install 2.7.18
pyenv global 2.7.18
- name: Npm Install
run: |
pip install setuptools
Expand All @@ -101,7 +108,10 @@ jobs:
NODE_ENV: production
NODE_OPTIONS: --max_old_space_size=8192
CSC_IDENTITY_AUTO_DISCOVERY: false
run: npm run publish
PYTHON_PATH: python
run: |
export PYTHON_PATH=$(pyenv root)/shims/python
npm run publish
build-linux:
needs: create-release
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build Test App

on:
push:
branches: [ main ]
branches: [ main, develop ]
paths-ignore:
- 'README.md'
- 'CHANGE.md'
Expand All @@ -18,10 +18,11 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'
node-version: '14.x'

- name: Npm Install
run: |
git config --global url."https://github.com".insteadOf ssh://git@github.com
npm ci
- name: Build Dist
Expand All @@ -48,6 +49,12 @@ jobs:
with:
node-version: '16.x'

- name: Install python2.7
run: |
brew install pyenv
pyenv install 2.7.18
pyenv global 2.7.18
- name: Npm Install
run: |
pip install setuptools
Expand All @@ -59,7 +66,9 @@ jobs:
NODE_ENV: production
NODE_OPTIONS: --max_old_space_size=8192
CSC_IDENTITY_AUTO_DISCOVERY: false
run: npm run dist
run: |
export PYTHON_PATH=$(pyenv root)/shims/python
npm run dist
- name: Archive production artifacts
uses: actions/upload-artifact@v2
Expand Down
Loading

0 comments on commit bf477d3

Please sign in to comment.