From: Michael Wallner Date: Wed, 7 Oct 2020 11:51:43 +0000 (+0200) Subject: travis: add arm64 build X-Git-Tag: 1.1.0-beta1~236^2~14 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=cf5fafcbbfd88990693baaa8b10838fd36598f5f;p=m6w6%2Flibmemcached travis: add arm64 build --- diff --git a/.github/workflows/cmake-build-ci.gen b/.github/workflows/cmake-build-ci.gen index 6f7c48a1..0d1e1be0 100755 --- a/.github/workflows/cmake-build-ci.gen +++ b/.github/workflows/cmake-build-ci.gen @@ -190,6 +190,7 @@ on: push: paths-ignore: - "docs/**" + - ".travis.yml" branches-ignore: - gh-pages - catch diff --git a/.github/workflows/cmake-build-ci.yml b/.github/workflows/cmake-build-ci.yml index e2de43d1..492c4d53 100644 --- a/.github/workflows/cmake-build-ci.yml +++ b/.github/workflows/cmake-build-ci.yml @@ -4,6 +4,7 @@ on: push: paths-ignore: - "docs/**" + - ".travis.yml" branches-ignore: - gh-pages - catch diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..ff23b34d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,43 @@ +os: linux +dist: focal +arch: arm64 +language: cpp + +addons: + apt: + packages: + - libevent-dev + - libsasl2-dev + +env: + - CMAKE_BUILD_TYPE=Debug BUILD_TESTING=true ENABLE_SASL=true + +install: + - | + git clone --depth 1 -b 1.6.7 https://github.com/memcached/memcached + cd memcached + ./autogen.sh + CFLAGS="-O2 -pipe" ./configure \ + --prefix=/opt \ + --disable-coverage \ + --disable-docs \ + --disable-dependency-tracking \ + --enable-sasl \ + --enable-sasl-pwdb \ + ; + make -j2 + make install + cd .. + +before_script: + - mkdir build + +script: + - cd build + - cmake -DMEMCACHED_BINARY=/opt/bin/memcached .. + - make -j2 VERBOSE=1 + - make test VERBOSE=1 + - make install DESTDIR=. + +after_failure: + - cat Testing/Temporary/LastTest.log || true