| name: Apache Teaclave Java Tee SDK CI |
| run-name: ${{ github.actor }} is testing out GitHub Actions ?? |
| on: [push, pull_request, workflow_dispatch] |
| defaults: |
| run: |
| shell: bash |
| |
| jobs: |
| Explore-GitHub-Actions: |
| runs-on: [self-hosted, linux] |
| steps: |
| - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." |
| - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" |
| - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." |
| - name: Check out repository code |
| uses: actions/checkout@v3 |
| - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." |
| - run: echo "🖥️ The workflow is now ready to test your code on the runner in ubuntu18.04 container." |
| - name: List files in the repository |
| run: ls ${{ github.workspace }} |
| - name: Build JavaEnclave |
| run: ${{ github.workspace }}/tools/cicd/ubuntu-18.04/make.sh build |
| - name: Release JavaEnclave |
| run: ${{ github.workspace }}/tools/cicd/ubuntu-18.04/make.sh release |
| - name: Test JavaEnclave |
| run: ${{ github.workspace }}/tools/cicd/ubuntu-18.04/make.sh test |
| - name: Run JavaEnclave Samples |
| run: ${{ github.workspace }}/tools/cicd/ubuntu-18.04/make.sh samples |
| - name: Run JavaEnclave Benchmark |
| run: ${{ github.workspace }}/tools/cicd/ubuntu-18.04/make.sh benchmark |
| - run: echo "🍏 This job's status is ${{ job.status }}." |
| - run: echo "🖥️ The workflow is now ready to test your code on the runner in anolis8.6 container." |
| - name: List files in the repository |
| run: ls ${{ github.workspace }} |
| - name: Build JavaEnclave |
| run: ${{ github.workspace }}/tools/cicd/anolis-8.6/make.sh build |
| - name: Release JavaEnclave |
| run: ${{ github.workspace }}/tools/cicd/anolis-8.6/make.sh release |
| - name: Test JavaEnclave |
| run: ${{ github.workspace }}/tools/cicd/anolis-8.6/make.sh test |
| - name: Run JavaEnclave Samples |
| run: ${{ github.workspace }}/tools/cicd/anolis-8.6/make.sh samples |
| - name: Run JavaEnclave Benchmark |
| run: ${{ github.workspace }}/tools/cicd/anolis-8.6/make.sh benchmark |
| - run: echo "🍏 This job's status is ${{ job.status }}." |