-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
69 lines (57 loc) · 1.03 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
version: 1.0.{build}
skip_non_tags: true
skip_branch_with_pr: true
image:
- macOS-Sonoma
- Visual Studio 2022
- Ubuntu2204
clone_depth: 1
build:
verbosity: minimal
test: off
stack: python 3.11
install:
- pip install -r requirements.txt
- pip install PyInstaller
build_script:
- flet pack main.py --name aiprompt --product-name aiprompt
# Publish artifacts to GitHub Releases on "tag" builds
deploy:
provider: GitHub
auth_token: $(GITHUB_TOKEN)
on:
APPVEYOR_REPO_TAG: true
#
# Windows package
#
for:
-
matrix:
only:
- image: Visual Studio 2022
after_build:
- 7z a aiprompt-windows.zip %CD%\dist\*.exe
artifacts:
- path: aiprompt-windows.zip
#
# macOS package
#
-
matrix:
only:
- image: macOS-Sonoma
after_build:
- tar -czvf aiprompt-macos.tar.gz -C dist aiprompt.app
artifacts:
- path: aiprompt-macos.tar.gz
#
# Linux package
#
-
matrix:
only:
- image: Ubuntu2204
after_build:
- tar -czvf aiprompt-linux.tar.gz -C dist aiprompt
artifacts:
- path: aiprompt-linux.tar.gz