Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Commit

Permalink
Merge #29: ci: travis -> cirrus
Browse files Browse the repository at this point in the history
808d487 ci: travis -> cirrus (MarcoFalke)

Pull request description:

ACKs for top commit:
  fanquake:
    ACK 808d487 - Rebased #28 on top for a CI run.

Tree-SHA512: a15151aeefa5d42232486c9c9c0c19598d3d69b34e4f15c210592908e8f54beaab4ef3e8d4be9794366ea892383e273a0495eb05ef8325dac7a3dc15488f2ca1
  • Loading branch information
MarcoFalke committed Oct 11, 2021
2 parents c390ac3 + 808d487 commit 66d3713
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 51 deletions.
44 changes: 44 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
env:
MAKEJOBS: "-j4"
RUN_TESTS: "true"
BASE_OUTDIR: "$CIRRUS_WORKING_DIR/out_dir_base"
DEBIAN_FRONTEND: "noninteractive"

task:
container:
image: ubuntu:focal
cpu: 1
memory: 1G
greedy: true # https://medium.com/cirruslabs/introducing-greedy-container-instances-29aad06dc2b4

matrix:
- name: "gcc"
env:
CC: "gcc"
CXX: "g++"
APT_PKGS: "gcc"
- name: "clang"
env:
CC: "clang"
CXX: "clang++"
APT_PKGS: "clang"
- name: "mingw"
env:
CC: ""
CXX: ""
UNIVALUE_CONFIG: "--host=x86_64-w64-mingw32"
APT_PKGS: "g++-mingw-w64-x86-64 gcc-mingw-w64-x86-64 binutils-mingw-w64-x86-64"
RUN_TESTS: "false"

install_script:
- apt update
- apt install -y pkg-config build-essential libtool autotools-dev automake bsdmainutils
- apt install -y $APT_PKGS
autogen_script:
- ./autogen.sh
configure_script:
- ./configure --cache-file=config.cache --bindir=$BASE_OUTDIR/bin --libdir=$BASE_OUTDIR/lib $UNIVALUE_CONFIG
make_script:
- make $MAKEJOBS V=1
test_script:
- if [ "$RUN_TESTS" = "true" ]; then make $MAKEJOBS distcheck; fi
51 changes: 0 additions & 51 deletions .travis.yml

This file was deleted.

0 comments on commit 66d3713

Please sign in to comment.