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 80edfac
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
35 changes: 35 additions & 0 deletions .github/workflows/pr_gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,41 @@ jobs:
working-directory: ${{github.workspace}}/wrappers/python/
run: pytest -vv

linux-cheriot:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
with:
repository: CHERIoT-Platform/cheriot-audit
path: cheriot-audit

- 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
working-directory: ${{github.workspace}}/cheriot-audit
run: cmake -B ${{github.workspace}}/cheriot-audit/build -DCMAKE_BUILD_TYPE=Release -G Ninja
env:
REGOCPP_REPO: https://github.com/${{github.repository}}
REGOCPP_TAG: ${{github.sha}}

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

- name: CMake test
working-directory: ${{github.workspace}}cheriot-audit/build
run: ctest -j4 --output-on-failure

windows:
runs-on: windows-latest

Expand Down
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 80edfac

Please sign in to comment.