42 lines
1002 B
YAML
42 lines
1002 B
YAML
version: 2.1
|
|
orbs:
|
|
win: circleci/windows@5.1.0
|
|
jobs:
|
|
partner-win-build:
|
|
executor:
|
|
name: win/default
|
|
steps:
|
|
- checkout
|
|
- run:
|
|
name: Set up Node.js
|
|
command: |
|
|
nvm install 22
|
|
nvm use 22
|
|
- run:
|
|
name: Install Build Dependencies
|
|
command: |
|
|
choco install python visualstudio2022-workload-vctools -y
|
|
python -m pip install --upgrade pip setuptools wheel
|
|
- run:
|
|
name: Install NPM Packages
|
|
command: npm install
|
|
|
|
- run:
|
|
name: Build Electron App for Windows
|
|
# environment:
|
|
# AZURE_TENANT_ID: <<>>
|
|
# AZURE_CLIENT_ID: <<>>
|
|
# AZURE_CLIENT_SECRET: <<>>
|
|
command: npm run build:win
|
|
- store_artifacts:
|
|
path: .\dist
|
|
|
|
workflows:
|
|
deploy_and_build:
|
|
jobs:
|
|
- partner-win-build
|
|
# - partner-mac-build:
|
|
# filters:
|
|
# branches:
|
|
# only: main
|