Browse Source

Use new CI in Azure

default_compile_flags
vector-of-bool 5 years ago
parent
commit
a2c4e4a5b3
1 changed files with 6 additions and 15 deletions
  1. +6
    -15
      azure-pipelines.yml

+ 6
- 15
azure-pipelines.yml View File

- script: | - script: |
echo Loading VS environment echo Loading VS environment
call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\Common7\\Tools\\vsdevcmd" -arch=x64 || exit 1 call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\Common7\\Tools\\vsdevcmd" -arch=x64 || exit 1
echo Executing build/test script
python -u tools/build.py --cxx cl.exe --test --static || exit 1
displayName: Build and Run Unit Tests
echo Executing Build and Tests
python -u tools/ci.py --cxx cl.exe -T tools\\msvc.dds || exit 1
displayName: Full CI
- publish: _build/dds.exe - publish: _build/dds.exe
artifact: DDS Executable - Windows VS2019 artifact: DDS Executable - Windows VS2019
- script: |
echo Loading VS environment
call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\Common7\\Tools\\vsdevcmd" -arch=x64 || exit 1
python -u tools/test.py --exe _build/dds.exe -T tools/msvc.dds || exit 1
displayName: Smoke Tests


- job: Linux_GCC8 - job: Linux_GCC8
pool: pool:
steps: steps:
- script: sudo apt update -y && sudo apt install -y python3-minimal g++-8 - script: sudo apt update -y && sudo apt install -y python3-minimal g++-8
displayName: Prepare System displayName: Prepare System
- script: python3 -u tools/build.py --cxx g++-8 --test --static
displayName: Build and Run Unit Tests
- script: python3 -u tools/ci.py --cxx g++-8 -T tools/gcc-8.dds
displayName: Full CI
- publish: _build/dds - publish: _build/dds
artifact: DDS Executable - Linux artifact: DDS Executable - Linux
- script: python3 -u tools/test.py --exe _build/dds -T:gcc-8
displayName: Smoke Tests


- job: macOS_GCC8 - job: macOS_GCC8
pool: pool:
steps: steps:
- script: brew install gcc@8 - script: brew install gcc@8
displayName: Prepare System displayName: Prepare System
- script: python3 -u tools/build.py --cxx g++-8 --test
- script: python3 -u tools/ci.py --cxx g++-8 -T tools/gcc-8.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
- script: python3 -u tools/test.py --exe _build/dds -T:gcc-8
displayName: Smoke Tests

Loading…
Cancel
Save