Skip to content

Commit

Permalink
Add platform info
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou committed Jun 25, 2024
1 parent 894aac2 commit 6e5c1e2
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,21 @@ jobs:
ninja
shell: bash

- name: "Platform SGX"
run: |
sudo groupadd -fg $(/usr/bin/stat -Lc '%g' /dev/sgx/provision) sgx_prv
sudo usermod -a -G sgx_prv $(whoami)
samples/scripts/sgxinfo.sh
cat /proc/cpuinfo | grep flags | uniq
shell: bash
if: "${{ matrix.platform.name == 'sgx' }}"

- name: "Platform SNP"
run: |
samples/scripts/snpinfo.sh
shell: bash
if: "${{ matrix.platform.name == 'snp' }}"

- name: "Test ${{ matrix.platform.name }}"
run: |
cd build
Expand All @@ -67,4 +82,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: logs-${{ matrix.platform.name }}
path: build/workspace/
path: build/workspace/

0 comments on commit 6e5c1e2

Please sign in to comment.