代码拉取完成,页面将自动刷新
language: cpp
# Default scripts, which may be overridden by some jobs
before_script:
- mkdir -p build
- cd build
- cmake -DCMAKE_BUILD_TYPE:STRING=Debug ..
script:
- cmake --build . --config Debug
- ctest -V
- cmake --build . --config Debug --target cesium-native-docs
jobs:
include:
- name: Check Source Formatting
os: linux
dist: focal
git:
submodules: false
before_script:
script:
- npm install
- npm run format -- --dry-run -Werror
- name: Windows + VS2017
os: windows
install:
- choco install doxygen.install --version=1.9.2
before_script:
- mkdir -p build
- cd build
- cmake .. -A x64
- name: Windows + VS2019
os: windows
install:
- choco install visualstudio2019buildtools --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64"
- choco install doxygen.install --version=1.9.2
- name: Linux + GCC
os: linux
dist: focal
install:
- # As of 2021-08-23, the server listed in the rabbitmq PPA has an expired certificate
- # and breaks our ability to update. We don't need it, so remove it.
- sudo rm /etc/apt/sources.list.d/rabbitmq.list
- sudo apt-get update
- sudo apt-get install cmake doxygen
- name: Linux + Clang
os: linux
dist: focal
# We're using Clang 10 instead of the default (Clang 7) because of std::variant related failures
# on Clang 7, possibly related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90397
install:
- # As of 2021-08-23, the server listed in the rabbitmq PPA has an expired certificate
- # and breaks our ability to update. We don't need it, so remove it.
- sudo rm /etc/apt/sources.list.d/rabbitmq.list
- sudo apt-get update
- sudo apt-get install clang-10 cmake doxygen
env:
- CC=clang-10
- CXX=clang++-10
- name: macOS
os: osx
osx_image: xcode12
script:
- cmake --build . --config Debug
- ctest -V
- # Doc build doesn't work on Mac (missing Doxygen). Let's just skip it.
- #cmake --build . --config Debug --target cesium-native-docs
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。