Skip to content

updated pool to 1es-dc-pool #33

updated pool to 1es-dc-pool

updated pool to 1es-dc-pool #33

name: "Build/test (virtual)"
on: [push]
jobs:
build-test:
runs-on: ubuntu-20.04
defaults:
run:
shell: bash
container:
image: mcr.microsoft.com/ccf/app/dev:3.0.12-virtual
env:
# Helps to distinguish between CI and local builds.
SCITT_CI: 1
# Additional CMake flags.
PLATFORM: virtual
CMAKE_BUILD_TYPE: Debug
ENABLE_PREFIX_TREE: ON
ENABLE_CLANG_TIDY: ON
# These make CI print all the errors, rather than stopping early.
CXXFLAGS: -ferror-limit=0
NINJA_FLAGS: -k 0
steps:
- name: Checkout repository with tags
uses: actions/checkout@v3
with:
fetch-depth: 0
# Work-around for https://github.com/actions/runner/issues/2033
- name: Work around git safe.directory in container
run: chown -R $(id -u):$(id -g) $PWD
- run: apt-get update && apt-get install -y libcurl4-openssl-dev faketime clang-tidy-10
- run: ./scripts/ci-checks.sh
- run: ./build.sh
- run: ./run_unit_tests.sh
- run: ./run_functional_tests.sh --enable-prefix-tree --enable-faketime