Skip to content

Commit 721533b

Browse files
committed
Package to artifacts
1 parent c0077f0 commit 721533b

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

appveyor.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ skip_branch_with_pr: true
66

77
stack: python 3.10
88

9+
install:
10+
- pip install -r requirements.txt
11+
12+
build_script:
13+
- pyinstaller main.py --name counter --noconsole --noconfirm --onefile
14+
915
test: off
1016

1117
for:
@@ -14,19 +20,16 @@ for:
1420
only:
1521
- image: visual studio 2019
1622

17-
install:
18-
- python --version
19-
20-
build_script:
21-
- echo Windows
23+
artifacts:
24+
- path: dist/counter
2225

2326
-
2427
matrix:
2528
only:
2629
- image: ubuntu
2730

28-
install:
29-
- python --version
31+
after_build:
32+
- tar -czvf counter.tar.gz -C dist/counter counter
3033

31-
build_script:
32-
- echo Ubuntu
34+
artifacts:
35+
- path: counter.tar.gz

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
flet>=0.1.34
1+
flet>=0.1.34
2+
pyinstaller>=5.1

0 commit comments

Comments
 (0)