-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
41 lines (38 loc) · 1.02 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
build-osx:
stage: build
tags:
- darwin
script:
- python3 -m venv venv
- . venv/bin/activate
- pip install --upgrade pip
- pip install -r requirements.txt
- fbs freeze --debug
- fbs installer
only:
- master
artifacts:
expose_as: 'build_darwin'
paths: ['target/Lambent4Qt.dmg']
build-win:
stage: build
tags:
- windows
script:
# for starters: choco install nsis vcbuildtools, vcredist2010,vcredist2012 -x86 add C:\Windows\SysWOW64\ to windows path and reboot
# and then choco install python3 --version=3.6.8
# and choco install git --params "/GitAndUnixToolsOnPath"
- C:\Python36\python.exe -m venv venv
- $env:Path += ";C:\Windows\System32\downlevel"
- $env:Path += ";C:\Program Files (x86)\NSIS"
- .\venv\Scripts\activate.bat
- pip install --upgrade pip wheel --user
- pip install -r requirements.txt --user
- fbs freeze
- fbs installer
- dir target
only:
- master
artifacts:
paths:
- target/Lambent4QtSetup.exe