Fixed windows build
This commit is contained in:
+14
-5
@@ -22,19 +22,28 @@ install:
|
|||||||
- choco install winpcap
|
- choco install winpcap
|
||||||
- rustc -V
|
- rustc -V
|
||||||
- cargo -V
|
- cargo -V
|
||||||
build: true
|
test: false
|
||||||
build_script:
|
build_script:
|
||||||
- cargo build --release --verbose
|
- cargo build --release --verbose
|
||||||
after_build:
|
after_build:
|
||||||
- ps: cd ${env:APPVEYOR_BUILD_FOLDER}/gui
|
- ps: cd ${env:APPVEYOR_BUILD_FOLDER}/gui
|
||||||
|
- python -m venv env
|
||||||
|
- ps: .\env\Scripts\activate.ps1
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- ps: cp ${env:APPVEYOR_BUILD_FOLDER}/target/release/meter.dll libmeter.pyd
|
- ps: cp ${env:APPVEYOR_BUILD_FOLDER}\target\release\meter.dll libmeter.pyd
|
||||||
- pyinstaller -F -w -i ../assets/albion-stats-icon.ico meter.py
|
- pyinstaller -F -w -i ..\assets\albion-stats-icon.ico -r libmeter.pyd meter.py
|
||||||
|
- ps: deactivate
|
||||||
|
- ps: mv dist\meter.exe ..\albion-online-stats.exe
|
||||||
|
- ps: ls
|
||||||
|
- ps: ls ..\
|
||||||
|
artifacts:
|
||||||
|
path: albion-online-stats.exe
|
||||||
|
name: binary
|
||||||
deploy:
|
deploy:
|
||||||
provider: GitHub
|
provider: GitHub
|
||||||
auth_token:
|
auth_token:
|
||||||
secure: ${env:GITHUB_TOKEN}
|
secure: cB8zvJaO/tS/Z3v4038LBCsRaO9LqrtRS0CV/eLfHnG5SefWKNSObALSvphoQxC4
|
||||||
artifact: ${env:APPVEYOR_BUILD_FOLDER}/gui/dist/albion-stats.exe
|
artifact: binary
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
on:
|
on:
|
||||||
|
|||||||
Reference in New Issue
Block a user