1 Star 0 Fork 0

同济大学计算机开放实验室/nanobench

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.cirrus.yml 917 Bytes
一键复制 编辑 原始数据 按行查看 历史
Martin Leitner-Ankerl 提交于 2022-11-09 09:31 . fix builds,m, hopefully
# examples from:
# * https://github.com/bitcoin/bitcoin/blob/master/.cirrus.yml
# * https://github.com/chux0519/pegasocks/blob/master/.cirrus.yml
# global defaults
env:
PACKAGE_MANAGER_INSTALL: "apt-get update && apt-get install -y"
CCACHE_SIZE: "50M"
CCACHE_DIR: "/tmp/ccache_dir"
CCACHE_NOHASHDIR: "1" # Debug info might contain a stale path if the build dir changes, but this is fine
linux_task:
container:
matrix:
- image: ubuntu:bionic
- image: ubuntu:focal
- image: debian:buster
- image: gcc:latest
ccache_cache:
folder: "/tmp/ccache_dir"
env_script:
- uname -a
install_script:
- apt update && apt upgrade -y
- DEBIAN_FRONTEND=noninteractive apt install -y cmake ninja-build build-essential ccache
build_script:
- cd build
- cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release
- cmake --build . -- -j2
test_script:
- cd build
- ./nb
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/tjopenlab/nanobench.git
git@gitee.com:tjopenlab/nanobench.git
tjopenlab
nanobench
nanobench
master

搜索帮助