ci: Remove appveyor
we now have github action windows workflows...
This commit is contained in:
@@ -1,73 +0,0 @@
|
||||
version: '{build}'
|
||||
shallow_clone: true
|
||||
|
||||
platform: x64
|
||||
|
||||
environment:
|
||||
MSBUILD_FLAGS: /verbosity:minimal /maxcpucount
|
||||
APPVEYOR_SAVE_CACHE_ON_ERROR: true
|
||||
matrix:
|
||||
# Makefile
|
||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||
VS_VERSION: 2019
|
||||
BUILDER: make
|
||||
LANGUAGE: cc
|
||||
|
||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||
VS_VERSION: 2019
|
||||
BUILDER: make
|
||||
LANGUAGE: python
|
||||
|
||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||
VS_VERSION: 2019
|
||||
BUILDER: make
|
||||
LANGUAGE: java
|
||||
|
||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||
VS_VERSION: 2019
|
||||
BUILDER: make
|
||||
LANGUAGE: dotnet
|
||||
# CMake
|
||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||
VS_VERSION: 2019
|
||||
BUILDER: cmake
|
||||
CMAKE_GENERATOR: "Visual Studio 16 2019"
|
||||
|
||||
matrix:
|
||||
fast_finish: false
|
||||
|
||||
cache:
|
||||
- dependencies\install -> makefiles\Makefile.third_party.win.mk
|
||||
- build\dependencies\install -> cmake\dependencies
|
||||
|
||||
before_build:
|
||||
- git config --global user.email "ci@appveyor.com"
|
||||
- git config --global user.name "CI"
|
||||
- if "%VS_VERSION%"=="2017" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
|
||||
- if "%VS_VERSION%"=="2019" call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
|
||||
- set PATH=C:\Python38-x64;%PATH%
|
||||
- tools\win\which.exe python.exe
|
||||
- python -V
|
||||
- python -m pip install virtualenv wheel absl-py mypy-protobuf
|
||||
- set PATH=C:\Python38-x64\Scripts;%PATH%
|
||||
- tools\win\which.exe protoc-gen-mypy
|
||||
- tools\win\which.exe dotnet.exe
|
||||
- dotnet --info
|
||||
- set "JAVA_HOME=C:\Program Files\Java\jdk11"
|
||||
- set "PATH=C:\Program Files\Java\jdk11\bin;%PATH%"
|
||||
- java -version
|
||||
- set CMAKE_BUILD_PARALLEL_LEVEL=4
|
||||
- if "%BUILDER%"=="cmake" cmake --version
|
||||
- if "%BUILDER%"=="cmake" cmake -S. -Bbuild -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_DEPS:BOOL=ON -G "%CMAKE_GENERATOR%" || VER>NUL
|
||||
- if "%BUILDER%"=="make" del "C:\Program Files\Git\usr\bin\sh.exe"
|
||||
- if "%BUILDER%"=="make" tools\make.exe detect
|
||||
|
||||
build_script:
|
||||
- if "%BUILDER%"=="cmake" cmake --build build --config Release --target ALL_BUILD -- %MSBUILD_FLAGS%
|
||||
- if "%BUILDER%"=="make" tools\make.exe help_%LANGUAGE%
|
||||
- if "%BUILDER%"=="make" ( tools\make.exe %LANGUAGE% || ( tools\make.exe third_party && tools\make.exe %LANGUAGE% ) )
|
||||
- if "%BUILDER%"=="make" tools\make.exe test_%LANGUAGE%
|
||||
- if "%LANGUAGE%"=="cc" tools\make.exe test_fz
|
||||
|
||||
test_script:
|
||||
- if "%BUILDER%"=="cmake" cmake --build build --config Release --target RUN_TESTS
|
||||
@@ -1,13 +1,5 @@
|
||||
# OR-Tools - Google Optimization Tools
|
||||
|
||||
[![Build Status][github_status]][github_link]
|
||||
[![Build Status][appveyor_status]][appveyor_link]
|
||||
|
||||
[github_status]: https://github.com/google/or-tools/actions/workflows/cmake_linux_cpp.yml/badge.svg?branch=master
|
||||
[github_link]: https://github.com/google/or-tools/actions/workflows/cmake_linux_cpp.yml
|
||||
[appveyor_status]: https://ci.appveyor.com/api/projects/status/9hyykkcm8sh3ua6x/branch/master?svg=true
|
||||
[appveyor_link]: https://ci.appveyor.com/project/lperron/or-tools-98u1n
|
||||
|
||||
[](https://pypi.org/project/ortools/)
|
||||
[](https://pypi.org/project/ortools/#files)
|
||||
[](https://mybinder.org/v2/gh/google/or-tools/master)
|
||||
|
||||
Reference in New Issue
Block a user