From 544d5c78144f9963ec60f0ec2a43ab1d0817f04a Mon Sep 17 00:00:00 2001 From: Amaury Chamayou Date: Tue, 4 May 2021 20:14:31 +0100 Subject: [PATCH] Basic CI --- .github/workflows/cmake.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/cmake.yml diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml new file mode 100644 index 0000000..ca0016d --- /dev/null +++ b/.github/workflows/cmake.yml @@ -0,0 +1,29 @@ +name: CMake + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Install ninja + run: sudo apt install ninja-build + + - name: Install OpenEnclave + run: | + wget https://github.com/openenclave/openenclave/releases/download/v0.15.0/Ubuntu_1804_open-enclave_0.15.0_amd64.deb + sudo apt install ./Ubuntu_1804_open-enclave_0.15.0_amd64.deb + + - name: Configure CMake + run: cmake -GNinja .. + + - name: Build + run: ninja