Ver código fonte

Use gcc-9 in CI

default_compile_flags
vector-of-bool 5 anos atrás
pai
commit
b05153d5cf
3 arquivos alterados com 5 adições e 8 exclusões
  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 arquivo

@@ -24,10 +24,10 @@ jobs:
- script: |
set -eu
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
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
- publish: _build/dds
artifact: DDS Executable - Linux
@@ -36,12 +36,12 @@ jobs:
pool:
vmImage: macOS-10.14
steps:
- script: brew install gcc@8 ccache
- script: brew install gcc@9 ccache
displayName: Prepare System
- script: |
set -eu
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
- publish: _build/dds
artifact: DDS Executable - macOS

+ 1
- 1
tests/dds.py Ver arquivo

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

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

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

Carregando…
Cancelar
Salvar