Explorar el Código

Use gcc-9 in CI

default_compile_flags
vector-of-bool hace 5 años
padre
commit
b05153d5cf
Se han modificado 3 ficheros con 5 adiciones y 8 borrados
  1. +4
    -4
      azure-pipelines.yml
  2. +1
    -1
      tests/dds.py
  3. +0
    -3
      tools/gcc-9.dds

+ 4
- 4
azure-pipelines.yml Ver fichero

- script: | - script: |
set -eu set -eu
sudo apt update -y sudo apt update -y
sudo apt install -y python3-minimal g++-8 ccache
sudo apt install -y python3-minimal g++-9 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++-9 -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
pool: pool:
vmImage: macOS-10.14 vmImage: macOS-10.14
steps: steps:
- script: brew install gcc@8 ccache
- script: brew install gcc@9 ccache
displayName: Prepare System displayName: Prepare System
- 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++-9 -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 Ver fichero

@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:

+ 0
- 3
tools/gcc-9.dds Ver fichero

C-Compiler: gcc-9 C-Compiler: gcc-9
C++-Compiler: g++-9 C++-Compiler: g++-9
Flags: -D SPDLOG_COMPILED_LIB -fconcepts -Werror=return-type Flags: -D SPDLOG_COMPILED_LIB -fconcepts -Werror=return-type
# Optimize: True
Debug: True Debug: True
# Link-Flags: -fsanitize=address
Link-Flags: -fuse-ld=lld
Compiler-Launcher: ccache Compiler-Launcher: ccache

Cargando…
Cancelar
Guardar