Browse Source

Use Alpine Linux on CI

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

+ 1
- 1
Makefile View File

alpine-static-ci: alpine-static-ci:
docker build -t dds-builder -f tools/Dockerfile.alpine tools/ docker build -t dds-builder -f tools/Dockerfile.alpine tools/
docker run \ docker run \
-ti --rm \
-t --rm \
-u $(shell id -u) \ -u $(shell id -u) \
-v $(PWD):/host -w /host \ -v $(PWD):/host -w /host \
--privileged \ --privileged \

+ 1
- 9
azure-pipelines.yml View File

pool: pool:
vmImage: ubuntu-18.04 vmImage: ubuntu-18.04
steps: steps:
- script: sudo apt-get -y update
displayName: APT Update
- script: sudo apt-get -y install g++-9 ccache
displayName: Get GCC 9
- script: sudo apt-get -y install python3-minimal python3-setuptools
displayName: Get Python 3
- script: python3 -m pip install pytest pytest-xdist
displayName: Get Python Dependencies
- script: make linux-ci
- script: make alpine-static-ci
displayName: Build and Test displayName: Build and Test
- publish: _build/dds-linux-x64 - publish: _build/dds-linux-x64
displayName: Publish displayName: Publish

Loading…
Cancel
Save