From c7523f3d650c99c0e1262798cc3215339a5d1b9b Mon Sep 17 00:00:00 2001 From: Min M Xu Date: Sat, 6 Apr 2024 21:52:50 -0400 Subject: [PATCH] Add release build in CI Signed-off-by: Min Xu --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 755f90c..77f51cb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,6 +13,9 @@ jobs: build: name: Build binary runs-on: ubuntu-latest + strategy: + matrix: + build_version: [Debug, Release] timeout-minutes: 30 steps: @@ -28,6 +31,6 @@ jobs: - name: Build run: | cd teeio-validator/build/ - cmake -DARCH=x64 -DTOOLCHAIN=GCC -DTARGET=Debug -DCRYPTO=mbedtls .. + cmake -DARCH=x64 -DTOOLCHAIN=GCC -DTARGET=${{matrix.build_version}} -DCRYPTO=mbedtls .. make -j \ No newline at end of file