Skip to content

Commit

Permalink
.github/*.yml: add runtime test for librats
Browse files Browse the repository at this point in the history
add runtime test in workflow file, use sgx machine runner to run the action

Signed-off-by: Pengyu Chen <chenpengyu_1024@163.com>
  • Loading branch information
cheatguy committed Sep 26, 2023
1 parent 4192866 commit 7fbcd9b
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/pr_basic_compilation_check.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Basic Compilation Check

on: [push, pull_request]
on: [push, pull_request, workflow_dispatch]

jobs:
basic_complication_check:
Expand Down Expand Up @@ -40,3 +40,20 @@ jobs:
fi
env:
HOME: /root

- name: Run "librats" ${{ matrix.build_mode }} mode
if: ${{ matrix.build_mode == 'host'}}
run: |
/usr/share/librats/samples/cert-app
env:
HOME: /root



- name: Clean for ${{ matrix.build_mode }} mode
run: |
rm -rf build
env:
HOME: /root


0 comments on commit 7fbcd9b

Please sign in to comment.