Update to CCF 4.0.14 #63
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "CCF App Template CI" | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build-cpp-app-sgx: | |
runs-on: ubuntu-20.04 | |
container: mcr.microsoft.com/ccf/app/dev:3.0.1-sgx | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Build app (SGX) | |
run: mkdir -p build && cd build && CC="/opt/oe_lvi/clang-10" CXX="/opt/oe_lvi/clang++-10" cmake -GNinja -DCOMPILE_TARGET=sgx .. && ninja | |
working-directory: cpp | |
build-cpp-app-virtual: | |
runs-on: ubuntu-20.04 | |
container: mcr.microsoft.com/ccf/app/dev:3.0.1-virtual | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Build app (virtual) | |
run: mkdir -p build && cd build && CC="$(which clang-10)" CXX="$(which clang++-10)" cmake -GNinja -DCOMPILE_TARGET=virtual .. && ninja | |
working-directory: cpp | |
build-containers: | |
runs-on: ubuntu-20.04 | |
container: mcr.microsoft.com/ccf/app/dev:3.0.1-sgx | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Build C++ enclave container | |
run: docker build -t ccf-app-template:cpp-enclave -f docker/ccf_app_cpp.enclave . | |
- name: Build C++ virtual container | |
run: docker build -t ccf-app-template:cpp-virtual -f docker/ccf_app_cpp.virtual . | |
- name: Build JS enclave container | |
run: docker build -t ccf-app-template:js-enclave -f docker/ccf_app_js.enclave . | |
- name: Build JS virtual container | |
run: docker build -t ccf-app-template:js-virtual -f docker/ccf_app_js.virtual . |