This repository was archived by the owner on Jul 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
50 lines (43 loc) · 1.93 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
image: Visual Studio 2019
clone_depth: 1
environment:
MINICONDA: C:\Miniconda37-x64
MSYS2: C:\msys64
MY_CONDA_CHANNEL: JRCSTU
ANACONDA_TOKEN: # token: all@appveyor
secure: sdRK/r0uDw/cOg5/gLaVWn+FZwUIyAZYD1xhdzrvNOcZlmetwsoAtgdALiPFurVK
init:
- "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%MINICONDA%\\Library\\bin;%PATH%;%MSYS2%"
install:
- conda --version
- |
conda config --set always_yes yes
conda config --set anaconda_upload yes
conda config --prepend channels defaults
conda config --prepend channels anaconda
conda config --prepend channels conda-forge
conda config --prepend channels bioconda
conda config --prepend channels %MY_CONDA_CHANNEL%
- conda update -n base conda -y
- conda install conda-build conda-verify anaconda-client constructor
- conda info -a
## DEBUG
#- conda config --set verbosity 3
build_script:
## Build RECIPES
#
- conda build --skip-existing --user %MY_CONDA_CHANNEL% --token %ANACONDA_TOKEN% conda\recipes\pandalone\
- conda build --skip-existing --user %MY_CONDA_CHANNEL% --token %ANACONDA_TOKEN% conda\recipes\wltp\
- conda build --skip-existing --user %MY_CONDA_CHANNEL% --token %ANACONDA_TOKEN% conda\recipes\syncing\ --no-test
- conda build --skip-existing --user %MY_CONDA_CHANNEL% --token %ANACONDA_TOKEN% conda\recipes\co2mpas\
- conda build --skip-existing --user %MY_CONDA_CHANNEL% --token %ANACONDA_TOKEN% conda\recipes\co2mpas_dice\
- conda build --skip-existing --user %MY_CONDA_CHANNEL% --token %ANACONDA_TOKEN% conda\recipes\flask_session\
- conda build --skip-existing --user %MY_CONDA_CHANNEL% --token %ANACONDA_TOKEN% conda\recipes\co2wui\
- conda build --skip-existing --user %MY_CONDA_CHANNEL% --token %ANACONDA_TOKEN% conda\recipes\co2exe\
## Build EXE
#
- sed -i s/@VER@/%APPVEYOR_BUILD_ID%/ conda/constructs/CO2MPAS/construct.yaml
- constructor.exe conda/constructs/CO2MPAS/
artifacts:
- path: "*.exe"
name: Co2mpasExe