Skip to content

Commit

Permalink
Upgrade Orbs and force installation of python 3.9 for Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
zigarn committed Dec 20, 2021
1 parent d5adc5c commit c10045b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: 2.1

orbs:
docker: circleci/docker@1.6.0
win: circleci/windows@2.2.0
docker: circleci/docker@2.0.1
win: circleci/windows@2.4.1

jobs:
build-wheel:
Expand All @@ -21,6 +21,11 @@ jobs:
name: win/default
steps:
- checkout
- run:
name: Install python 3.9
command: |
$LatestPython39=(choco search python --exact --all-versions | Select-String -Pattern '(3\.9\.[\d]+)')[0].Matches.Value
choco install --force python --version=$LatestPython39
- run:
name: Build exe
command: .\build_win.ps1
Expand Down
1 change: 0 additions & 1 deletion build_win.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ $appVersion = python -c "from ztraining2strigo import VERSION; print(VERSION, en
python -m nuitka `
--onefile --windows-onefile-tempdir `
--assume-yes-for-downloads `
--windows-dependency-tool=pefile `
--windows-company-name=zenika --windows-product-name=ztraining2strigo `
--windows-file-version=$appVersion --windows-product-version=$appVersion `
--output-dir=../build `
Expand Down

0 comments on commit c10045b

Please sign in to comment.