Skip to content
Permalink
Browse files

ci: switch to cirrus

  • Loading branch information
Snaipe committed Dec 29, 2019
1 parent 7ee235f commit ee4ce61e9a85c89fcfe02d84c0a8274c212d6481
Showing with 64 additions and 185 deletions.
  1. +64 −0 .cirrus.yml
  2. +0 −185 .travis.yml
@@ -0,0 +1,64 @@
_pipeline: &pipeline
info_script: |
meson --version
ninja --version
submodule-update_script: git submodule update --init --recursive
configure_script: meson -Db_lundef=false build
compile_script: ninja -C build
test_script: ninja -C build test

Debian (gcc)_task:
container:
image: snaipe/ci-meson:debian-10
setup_script: |-
apt-get update
apt-get install -y pkg-config cmake libgit2-dev libffi-dev libnanomsg-dev
pip3 install cram==0.7
<<: *pipeline

Alpine (gcc,x86_64)_task:
container:
image: snaipe/ci-meson:alpine
setup_script: &alpine-deps |-
apk add --no-cache cmake libgit2-dev libffi-dev
pip3 install cram==0.7
<<: *pipeline

Alpine (gcc,i386)_task:
container:
image: snaipe/ci-meson:alpine-x86
setup_script: *alpine-deps
<<: *pipeline

MacOS_task:
osx_instance:
image: mojave-xcode-10.2
env:
PKG_CONFIG_PATH: ${PKG_CONFIG_PATH}:/usr/local/opt/libffi/lib/pkgconfig
setup_script: |-
brew install meson cmake pkg-config libffi libgit2 nanomsg
pip3 install cram==0.7
<<: *pipeline

FreeBSD_task:
freebsd_instance:
image_family: freebsd-12-0
setup_script: |-
pkg install -y gettext-tools pkgconf cmake meson git libffi libgit2 nanomsg
python3 -m ensurepip
python3 -m pip install --upgrade pip
python3 -m pip install cram==0.7
<<: *pipeline

Windows (mingw-gcc)_task:
windows_container:
image: cirrusci/windowsservercore:cmake
os_version: 2019
env:
PATH: C:\\Python;C:\\Python\\Scripts;C:\\ProgramData\\chocolatey\\lib\\ninja\\tools;%PATH%
setup_script: |-
choco install -y --no-progress python3 --params "/InstallDir:C:\Python"
choco install -y --no-progress ninja cmake
pip install meson cram==0.7
<<: *pipeline

This file was deleted.

0 comments on commit ee4ce61

Please sign in to comment.
You can’t perform that action at this time.