forked from acados/acados
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
35 lines (31 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
branches:
only:
- master
install:
- call C:\Miniconda36-x64\Scripts\activate.bat
- conda install --yes -c msys2 m2w64-gcc-libgfortran m2w64-openblas
build_script:
- git submodule update --init --recursive
- cmake -E make_directory build
- cmake -E make_directory appveyor-artifacts
- cmake -E chdir build cmake ..
- cmake --build build --config Debug
- cmake -E chdir build ctest --output-on-failure
- cmake --build build --config Release
- cmake -E chdir build ctest --output-on-failure
- rm -fr build
- cmake -E make_directory build
- cmake -E chdir build cmake -D MAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=%APPVEYOR_BUILD_FOLDER%\appveyor-artifacts ..
- 7z a acados-windows.zip %APPVEYOR_BUILD_FOLDER%\appveyor-artifacts
artifacts:
- path: acados-windows.zip
name: Acados Windows
deploy:
- provider: GitHub
artifact: Acados Windows
draft: false
prerelease: fasle
auth_token:
secure: lmT6hGzdCqtbutvVHrWLpK+iUOwD6YhYmqx1Vkmm7ttqucLZy6EzDRTMT7YKL3KC
on:
branch: master