-
Notifications
You must be signed in to change notification settings - Fork 33
48 lines (38 loc) · 1.51 KB
/
pr_basic_compilation_check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Basic Compilation Check
on: [push, pull_request]
jobs:
basic_complication_check:
# Run all steps in the compilation testing containers
strategy:
matrix:
tag: [anolis8.6, ubuntu20.04]
container: runetest/compilation-testing:${{ matrix.tag }}
# Use GitHub-hosted runner Ubuntu 20.04
runs-on: ubuntu-20.04
defaults:
run:
shell: bash
working-directory: ${{ github.workspace }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Compile "rats-tls" host mode
run:
source /root/.bashrc && cmake -DBUILD_SAMPLES=on -H. -Bbuild && make -C build install && make -C build clean && rm -rf build
env:
HOME: /root
- name: Compile "rats-tls" occlum mode
run:
source /root/.bashrc && cmake -DRATS_TLS_BUILD_MODE="occlum" -DBUILD_SAMPLES=on -H. -Bbuild && make -C build install && make -C build clean && rm -rf build
env:
HOME: /root
- name: Compile "rats-tls" sgx mode
run:
source /root/.bashrc && cmake -DRATS_TLS_BUILD_MODE="sgx" -DBUILD_SAMPLES=on -H. -Bbuild && make -C build install && make -C build clean && rm -rf build
env:
HOME: /root
- name: Compile "rats-tls" tdx mode
run:
source /root/.bashrc && cmake -DRATS_TLS_BUILD_MODE="tdx" -DBUILD_SAMPLES=on -H. -Bbuild && make -C build install && make -C build clean && rm -rf build
env:
HOME: /root