ci: Switch from Travis to AppVeyor
Since June 15th, 2021, the building on travis-ci.org is ceased. Hence switch to AppVeyor.
This commit is contained in:
15
.appveyor.yml
Normal file
15
.appveyor.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
image:
|
||||
- Ubuntu
|
||||
- Ubuntu1604
|
||||
- Ubuntu2004
|
||||
- macos
|
||||
- macos-mojave
|
||||
# - Visual Studio 2019
|
||||
|
||||
clone_depth: 5
|
||||
|
||||
install:
|
||||
- sh: 'ci/install.sh'
|
||||
|
||||
build_script:
|
||||
- sh: 'ci/build.sh'
|
||||
26
.travis.yml
26
.travis.yml
@@ -1,26 +0,0 @@
|
||||
language: c
|
||||
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
|
||||
dist: focal # 20.04
|
||||
|
||||
arch:
|
||||
- amd64
|
||||
- ppc64le
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- dpkg
|
||||
- gcc
|
||||
- libcunit1-dev
|
||||
- libibverbs-dev
|
||||
- librdmacm-dev
|
||||
- make
|
||||
- pkg-config
|
||||
- xsltproc
|
||||
|
||||
script:
|
||||
ci/build.sh
|
||||
17
ci/install.sh
Executable file
17
ci/install.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
case "$(uname)" in
|
||||
Linux)
|
||||
packages=(
|
||||
libcunit1-dev
|
||||
libgcrypt20-dev
|
||||
librdmacm-dev
|
||||
xsltproc
|
||||
)
|
||||
for p in "${packages[@]}"; do
|
||||
sudo sh -c "apt-get install -y $p"
|
||||
done
|
||||
;;
|
||||
Darwin)
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user