Skip to content

Commit

Permalink
adds more cmake flags to ci build and runs a formatting check as well
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarprudnikov committed Aug 28, 2023
1 parent 06a20de commit 6a4c13c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build-test-virtual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,22 @@ jobs:
container:
image: mcr.microsoft.com/ccf/app/dev:3.0.9-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:
- uses: actions/checkout@v3
# 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
- name: Install attested fetch dependency
run: apt-get update && apt-get install -y libcurl4-openssl-dev
- 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

0 comments on commit 6a4c13c

Please sign in to comment.