Browse Source

Use Makefile CI targets in Azure CI

default_compile_flags
vector-of-bool 4 years ago
parent
commit
7899269926
2 changed files with 5 additions and 5 deletions
  1. +1
    -1
      Makefile
  2. +4
    -4
      azure-pipelines.yml

+ 1
- 1
Makefile View File



.PHONY: \ .PHONY: \
docs docs-server docs-watch docs-sync-server nix-ci linux-ci macos-ci \ docs docs-server docs-watch docs-sync-server nix-ci linux-ci macos-ci \
freebsd-ci
vagrant-freebsd-ci


_invalid: _invalid:
echo "Specify a target name to execute" echo "Specify a target name to execute"

+ 4
- 4
azure-pipelines.yml View File

- publish: _build/dds.exe - publish: _build/dds.exe
artifact: DDS Executable - Windows VS2019 artifact: DDS Executable - Windows VS2019


- job: Linux_GCC8
- job: Linux_GCC9
pool: pool:
vmImage: ubuntu-18.04 vmImage: ubuntu-18.04
steps: steps:
sudo apt install -y python3-minimal g++-9 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 -T tools/gcc-9.dds -T2 tools/gcc-9.jsonc
- script: make linux-ci
displayName: Full CI displayName: Full CI
- publish: _build/dds - publish: _build/dds
artifact: DDS Executable - Linux artifact: DDS Executable - Linux


- job: macOS_GCC8
- job: macOS_GCC9
pool: pool:
vmImage: macOS-10.14 vmImage: macOS-10.14
steps: steps:
- 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 -T tools/gcc-9.dds -T2 tools/gcc-9.jsonc
make macos-ci
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

Loading…
Cancel
Save