forked from cdrx/docker-pyinstaller
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.gitlab-ci.yml
51 lines (49 loc) · 1.08 KB
/
.gitlab-ci.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
windows_bin:
stage: deploy
image:
name: batonogov/pyinstaller-windows:latest
entrypoint: ['']
script:
- echo "Creating Windows artifact"
- pip install -r ./test/requirements.txt
- cd ./test && pyinstaller --onefile main.py
- cp ./dist/*.exe ../
rules:
- when: always
artifacts:
paths:
- '*.exe'
when: always
expire_in: 2 week
linux_bin:
stage: deploy
image:
name: batonogov/pyinstaller-linux:latest
entrypoint: ['']
script:
- echo "Creating Linux artifact"
- pip install -r ./test/requirements.txt
- cd ./test && pyinstaller --onefile main.py
rules:
- when: always
artifacts:
paths:
- ./test/dist/*
when: always
expire_in: 2 week
linux_slim_bin:
stage: deploy
image:
name: batonogov/pyinstaller-linux:latest-slim
entrypoint: ['']
script:
- echo "Creating Linux artifact"
- pip install -r ./test/requirements.txt
- cd ./test && pyinstaller --onefile main.py
rules:
- when: always
artifacts:
paths:
- ./test/dist/*
when: always
expire_in: 2 week