Преглед на файлове

Fix command syntax

default_compile_flags
vector-of-bool преди 5 години
родител
ревизия
ae63bb3afd
променени са 2 файла, в които са добавени 15 реда и са изтрити 4 реда
  1. +14
    -3
      azure-pipelines.yml
  2. +1
    -1
      build.py

+ 14
- 3
azure-pipelines.yml Целия файл

@@ -6,8 +6,10 @@ jobs:
vmImage: vs2017-win2016
steps:
- script: |
call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\Common7\\Tools\\vsdevcmd" -arch=x64 &&
python build.py --cxx cl.exe --test
echo Loading VS environment
call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\Common7\\Tools\\vsdevcmd" -arch=x64 || exit 1
echo Executing build/test script
python -u build.py --cxx cl.exe --test || exit 1
displayName: Build and Run Tests

- job: Linux_GCC
@@ -17,5 +19,14 @@ jobs:
- script: |
set -eu
sudo apt install -y python3-minimal g++-8
python3 build.py --cxx g++-8 --test
python3 -u build.py --cxx g++-8 --test
displayName: Build and Run Tests

- job: macOS
pool:
vmImage: macOS-10.14
steps:
- script: |
set -eu
brew install gcc@8
python3 -u build.py --cxx g++-8 --test

+ 1
- 1
build.py Целия файл

@@ -170,7 +170,7 @@ def link_exe(cxx: Path, obj: Path, lib: Path, *, out: Path = None) -> Path:

def run_test(exe: Path) -> None:
print(f'Running test: {exe}')
subprocess.check_call([exe])
subprocess.check_call([str(exe)])


def main(argv: Sequence[str]) -> int:

Loading…
Отказ
Запис