浏览代码

Do a full bootstrap build in CI for the release

default_compile_flags
vector-of-bool 5 年前
父节点
当前提交
430a34c11f
共有 2 个文件被更改,包括 4 次插入5 次删除
  1. +4
    -4
      azure-pipelines.yml
  2. +0
    -1
      tools/ci.py

+ 4
- 4
azure-pipelines.yml 查看文件

echo Executing Build and Tests echo Executing Build and Tests
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f || exit 1 reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f || exit 1
python -m pip install pytest pytest-xdist || exit 1 python -m pip install pytest pytest-xdist || exit 1
python -u tools/ci.py -B download --cxx cl.exe -T tools\msvc.dds || exit 1
python -u tools/ci.py -B build -T tools\msvc.dds || exit 1
displayName: Full CI displayName: Full CI
- publish: _build/dds.exe - publish: _build/dds.exe
artifact: DDS Executable - Windows VS2019 artifact: DDS Executable - Windows VS2019
- script: | - script: |
set -eu set -eu
sudo apt update -y sudo apt update -y
sudo apt install -y python3-minimal g++-9 ccache
sudo apt install -y python3-minimal g++-9 g++-8 ccache
python3 -m pip install pytest pytest-xdist python3 -m pip install pytest pytest-xdist
displayName: Prepare System displayName: Prepare System
- script: python3 -u tools/ci.py -B download -T tools/gcc-9.dds
- script: python3 -u tools/ci.py -B build -T tools/gcc-9.dds
displayName: Full CI displayName: Full CI
- publish: _build/dds - publish: _build/dds
artifact: DDS Executable - Linux artifact: DDS Executable - Linux
- script: | - script: |
set -eu set -eu
python3 -m pip install pytest pytest-xdist python3 -m pip install pytest pytest-xdist
python3 -u tools/ci.py -B download -T tools/gcc-9.dds
python3 -u tools/ci.py -B build -T tools/gcc-9.dds
displayName: Build and Run Unit Tests displayName: Build and Run Unit Tests
- publish: _build/dds - publish: _build/dds
artifact: DDS Executable - macOS artifact: DDS Executable - macOS

+ 0
- 1
tools/ci.py 查看文件



class CIOptions(NamedTuple): class CIOptions(NamedTuple):
toolchain: str toolchain: str
skip_deps: bool




def _do_bootstrap_build(opts: CIOptions) -> None: def _do_bootstrap_build(opts: CIOptions) -> None:

正在加载...
取消
保存