Skip to content

Commit

Permalink
Bumping Trieste and adding the cheriot tests
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew A Johnson <matjoh@microsoft.com>
  • Loading branch information
matajoh committed Jun 24, 2024
1 parent 6d38a85 commit a8cdc84
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/pr_gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -369,3 +369,35 @@ jobs:
- name: Python test
working-directory: ${{github.workspace}}/wrappers/python/
run: pytest -vv

linux-cheriot:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
repository: https://github.com/CHERIoT-Platform/cheriot-audit.git

- uses: mjp41/workaround8649@c8550b715ccdc17f89c8d5c28d7a48eeff9c94a8

- name: Get dependencies
run: |
sudo apt-get install ninja-build
- name: Git config for fetching pull requests
run: |
git config --global --add remote.origin.fetch +refs/pull/*/merge:refs/remotes/pull/*
- name: CMake config
run: cmake -B ${{github.workspace}}/build --preset release-clang
env:
REGOCPP_REPO: https://github.com/${{github.repository}}
REGOCPP_TAG: ${{github.sha}}

- name: CMake build
working-directory: ${{github.workspace}}/build
run: NINJA_STATUS="%p [%f:%s/%t] %o/s, %es" && ninja

- name: CMake test
working-directory: ${{github.workspace}}/build
run: ctest -j4 --output-on-failure
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ FetchContent_Declare(
FetchContent_Declare(
trieste
GIT_REPOSITORY https://github.com/microsoft/trieste
GIT_TAG 37b1b35fb19db799367d1ca1a82273d8d268695d
GIT_TAG 6bb2ccffc5b8c21c90348c07a2c8a46316faba19
)

FetchContent_MakeAvailable(cmake_utils)
Expand Down

0 comments on commit a8cdc84

Please sign in to comment.