Merge pull request #406 from ararslan/aa/ci

Add FreeBSD and AArch64 Linux to Travis CI
This commit is contained in:
Justin Ethier 2020-08-30 21:41:37 -04:00 committed by GitHub
commit 8a897ea75a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,44 +4,68 @@ matrix:
include: include:
- os: linux - os: linux
compiler: gcc compiler: gcc
arch: amd64
addons: addons:
apt: apt:
packages: packages:
- libtommath-dev - libtommath-dev
- os: linux - os: linux
compiler: clang compiler: clang
arch: amd64
addons: addons:
apt: apt:
packages: packages:
- libtommath-dev - libtommath-dev
- clang-3.9 - clang-3.9
- os: linux
compiler: gcc
arch: arm64
addons:
apt:
packages:
- libtommath-dev
- os: freebsd
addons:
pkg:
packages:
- sudo
- gmake
- libtommath
- concurrencykit
- os: osx - os: osx
image: xcode8 image: xcode8
addons:
homebrew:
packages:
- libtommath
- concurrencykit
- os: osx - os: osx
image: xcode11.2 image: xcode11.2
addons:
homebrew:
packages:
- libtommath
- concurrencykit
notifications: notifications:
email: false email: false
before_install: before_install:
- if [ "$(uname)" = "Darwin" ]; then - [ "$(uname)" = "FreeBSD" ] || alias gmake=make
brew update;
brew install -v libtommath concurrencykit;
fi
- | - |
git clone https://github.com/concurrencykit/ck.git ${HOME}/ck git clone https://github.com/concurrencykit/ck.git ${HOME}/ck
cd ${HOME}/ck cd ${HOME}/ck
git checkout 0.6.0 git checkout 0.6.0
./configure PREFIX=/usr ./configure PREFIX=/usr
make all gmake all
sudo make install sudo gmake install
if [ "$(uname)" = "Linux" ]; then if [ "$(uname)" = "Linux" ]; then
sudo ldconfig sudo ldconfig
fi fi
- | - |
git clone https://github.com/justinethier/cyclone-bootstrap.git ${HOME}/cyclone-bootstrap git clone https://github.com/justinethier/cyclone-bootstrap.git ${HOME}/cyclone-bootstrap
cd ${HOME}/cyclone-bootstrap cd ${HOME}/cyclone-bootstrap
make gmake
sudo make install sudo gmake install
script: script:
- make - gmake
- sudo make install - sudo gmake install
- make test - gmake test