瀏覽代碼

Use Alpine Linux on CI

default_compile_flags
vector-of-bool 4 年之前
父節點
當前提交
ff3b1d8100
共有 2 個文件被更改,包括 2 次插入10 次删除
  1. +1
    -1
      Makefile
  2. +1
    -9
      azure-pipelines.yml

+ 1
- 1
Makefile 查看文件

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

+ 1
- 9
azure-pipelines.yml 查看文件

@@ -38,15 +38,7 @@ stages:
pool:
vmImage: ubuntu-18.04
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
- publish: _build/dds-linux-x64
displayName: Publish

Loading…
取消
儲存