Browse Source

Use gcc-9 in CI

default_compile_flags
vector-of-bool 5 years ago
parent
commit
cbebbe1650
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      azure-pipelines.yml
  2. +1
    -1
      tests/dds.py

+ 2
- 2
azure-pipelines.yml View File

sudo apt install -y python3-minimal g++-8 ccache sudo apt install -y python3-minimal 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 --cxx g++-8 -T tools/gcc-8.dds
- script: python3 -u tools/ci.py -B download --cxx g++-8 -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 --cxx g++-8 -T tools/gcc-8.dds
python3 -u tools/ci.py -B download --cxx g++-8 -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

+ 1
- 1
tests/dds.py View File

@property @property
def default_builtin_toolchain(self) -> str: def default_builtin_toolchain(self) -> str:
if os.name == 'posix': if os.name == 'posix':
return ':gcc-8'
return ':gcc-9'
elif os.name == 'nt': elif os.name == 'nt':
return ':msvc' return ':msvc'
else: else:

Loading…
Cancel
Save