加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 2.73 KB
一键复制 编辑 原始数据 按行查看 历史
Kito Cheng 提交于 2019-10-03 10:13 . Add macos to travis-ci
sudo: false
matrix:
include:
- os: osx
before_install:
- brew update
- brew install zlib expat gawk gnu-sed
- export MAKEFLAGS="-j3"
- travis_wait 60 git submodule update --init --recursive
env:
- CARGS="--disable-linux --disable-multilib --with-arch=rv32imafdc --with-abi=ilp32d"
script:
# MacOS don't support linux user mode for qemu, so there is only build
# testing.
- ./configure --prefix=/tmp/build-default $CARGS
# MacOS using clang by default, it will generate lots of warning message,
# pipe stderr to stdout to prevent exceeded the maximum log length.
- travis_wait 90 scripts/wrapper/make_stderr_tail
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- autoconf
- automake
- autotools-dev
- bc
- bison
- build-essential
- curl
- dejagnu
- expect
- flex
- gawk
- gperf
- libgmp-dev
- libmpc-dev
- libmpfr-dev
- libtool
- patchutils
- texinfo
- gcc-6
- g++-6
before_install:
- export MAKEFLAGS="-j3"
- export CXX=g++-6
- export CC=gcc-6
- travis_wait 60 git submodule update --init --recursive
env:
# - CARGS="--enable-linux --disable-multilib --with-arch=rv32imac --with-abi=ilp32"
# - CARGS="--enable-linux --disable-multilib --with-arch=rv32imafdc --with-abi=ilp32"
# - CARGS="--enable-linux --disable-multilib --with-arch=rv32imafdc --with-abi=ilp32d"
# - CARGS="--enable-linux --disable-multilib --with-arch=rv64imac --with-abi=lp64"
# - CARGS="--enable-linux --disable-multilib --with-arch=rv64imafdc --with-abi=lp64"
# - CARGS="--enable-linux --disable-multilib --with-arch=rv64imafdc --with-abi=lp64d"
- CARGS="--disable-linux --disable-multilib --with-arch=rv32i --with-abi=ilp32"
- CARGS="--disable-linux --disable-multilib --with-arch=rv32im --with-abi=ilp32"
- CARGS="--disable-linux --disable-multilib --with-arch=rv32iac --with-abi=ilp32"
- CARGS="--disable-linux --disable-multilib --with-arch=rv32imac --with-abi=ilp32"
- CARGS="--disable-linux --disable-multilib --with-arch=rv32imafc --with-abi=ilp32f"
- CARGS="--disable-linux --disable-multilib --with-arch=rv64imac --with-abi=lp64"
- CARGS="--disable-linux --disable-multilib --with-arch=rv64imafdc --with-abi=lp64d"
script:
- ./configure --prefix=/tmp/build-default $CARGS
- travis_wait 90 scripts/wrapper/make_tail
- travis_wait 180 scripts/wrapper/make_tail check
- make report
install: true
git:
submodules: false
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化