Skip to content

Move template to TypeScript #69

Move template to TypeScript

Move template to TypeScript #69

Workflow file for this run

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:4.0.14-sgx
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build app (SGX)
run: mkdir -p build && cd build && CC="clang-11" CXX="clang++-11" 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:4.0.14-virtual
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build app (virtual)
run: mkdir -p build && cd build && CC="$(which clang-15)" CXX="$(which clang++-15)" cmake -GNinja -DCOMPILE_TARGET=virtual .. && ninja
working-directory: cpp
build-containers:
runs-on: ubuntu-20.04
container: mcr.microsoft.com/ccf/app/dev:4.0.14-sgx
steps:
- name: Checkout repository
uses: actions/checkout@v4
- 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 .