workflows/pr_basic_compilation_check: formmated with yamllint
@@ -8,15 +8,20 @@ jobs:
strategy:
matrix:
tag: [ubuntu18.04, centos8.2, alinux2]
+
container: runetest/compilation-testing:${{ matrix.tag }}
+
# Use GitHub-hosted runner Ubuntu 18.04
runs-on: ubuntu-18.04
+
defaults:
run:
shell: bash
working-directory: ${{ github.workspace }}
+
steps:
- - uses: actions/checkout@v1
+ - name: Checkout Code
+ uses: actions/checkout@v2
- name: Preparations
# Touch all .pb.go to prevent from calling protobuf compiler
@@ -27,11 +32,13 @@ jobs:
- name: Compile "enclave-tls"
run:
cd enclave-tls;
- source /root/.bashrc && make && make clean && make SGX=1 && make clean && make OCCLUM=1
+ source /root/.bashrc && make && make clean && make SGX=1 &&
+ make clean && make OCCLUM=1
- name: Compile "rune shim-rune sgx-tools epm pal"
run:
make -j${CPU_NUM} && make install -j${CPU_NUM};
- cd rune/libenclave/internal/runtime/pal/skeleton && make -j${CPU_NUM} && ls liberpal-skeleton-v*.so;
+ cd rune/libenclave/internal/runtime/pal/skeleton &&
+ make -j${CPU_NUM} && ls liberpal-skeleton-v*.so;
cd ../nitro_enclaves && make -j${CPU_NUM} && ls libpal_ne.so;
which rune epm containerd-shim-rune-v2 sgx-tools
