Skip to content

attesters/sev-snp: fix build error on newer linux kernel #84

attesters/sev-snp: fix build error on newer linux kernel

attesters/sev-snp: fix build error on newer linux kernel #84

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 "librats" host mode
run:
source /root/.bashrc && cmake -DRATS_BUILD_MODE="host" -DBUILD_SAMPLES=on -H. -Bbuild && make -C build install && make -C build clean && rm -rf build
env:
HOME: /root
- name: Compile "librats" occlum mode
run:
source /root/.bashrc && cmake -DRATS_BUILD_MODE="occlum" -DBUILD_SAMPLES=on -H. -Bbuild && make -C build install && make -C build clean && rm -rf build
env:
HOME: /root
- name: Compile "librats" sgx mode
run:
source /root/.bashrc && cmake -DRATS_BUILD_MODE="sgx" -DBUILD_SAMPLES=on -H. -Bbuild && make -C build install && make -C build clean && rm -rf build
env:
HOME: /root
- name: Compile "librats" tdx mode
run:
source /root/.bashrc && cmake -DRATS_BUILD_MODE="tdx" -DBUILD_SAMPLES=on -H. -Bbuild && make -C build install && make -C build clean && rm -rf build
env:
HOME: /root