Skip to content

Commit

Permalink
ci: fix appveyor build
Browse files Browse the repository at this point in the history
  • Loading branch information
NateScarlet committed Dec 18, 2019
1 parent 82e601e commit 75a0a57
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ release:

.venv: export POETRY_VIRTUALENVS_IN_PROJECT=true
.venv: pyproject.toml
poetry env use $(PYTHON27)
poetry env use "$(PYTHON27)"
poetry run python -m pip install -U pip
poetry run python -m pip install -U more-itertools==5.0.0 poetry
poetry install
Expand Down
13 changes: 6 additions & 7 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
environment:
matrix:
- PYTHON: "C:\\Python27"
install:
- cinst make sed
- "%PYTHON%\\python.exe -m pip install -U pip poetry"
- set "PATH=%PATH%;C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin"
- ls C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin
- set "PYTHON27=C:\\Python27\\python.exe"
- "%PYTHON27% -m pip install -U pip poetry"
build_script:
- "make build"
- make build
after_build:
- 7z a -tzip -xr!.* -xr0!build build\\WuLiFang-Nuke-%APPVEYOR_REPO_TAG_NAME%-win.zip
artifacts:
- path: build\WuLiFang-Nuke-*.zip
name: Built package
before_deploy:
- ps: >-
& $env:PYTHON\\python.exe docs/get_changelog.py ($env:APPVEYOR_REPO_TAG_NAME -replace '^v', '') build/release_note.md;
& $env:PYTHON27 docs/get_changelog.py ($env:APPVEYOR_REPO_TAG_NAME -replace '^v', '') build/release_note.md;
${env:APPVEYOR_RELEASE_DESCRIPTION} = (Get-Content -Encoding utf8 build/release_note.md) -join "`n";
deploy:
tag: $(APPVEYOR_REPO_TAG_NAME)
Expand Down

0 comments on commit 75a0a57

Please sign in to comment.