From d24c0a9b27bfae3795e3ed0a4ba2c91f2c9418a9 Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Sat, 28 Aug 2021 08:40:13 +0200 Subject: [PATCH] Add new test C Add new test C Signed-off-by: Bensuperpc --- .github/workflows/main.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 19494c2..4f97d09 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -206,6 +206,8 @@ jobs: ninja_arg: "", openssl: "yes", openssl_arg: "linux-x86_64", + C: "yes", + C_arg: "", C-Plus-Plus: "yes", C-Plus-Plus_arg: "", fmt: "yes", @@ -235,6 +237,10 @@ jobs: stockfish_arg: "ARCH=x86-64-modern", ninja: "yes", ninja_arg: "", + C: "yes", + C_arg: "", + C-Plus-Plus: "yes", + C-Plus-Plus_arg: "", openssl: "yes", openssl_arg: "linux-x86_64", } @@ -458,6 +464,15 @@ jobs: ./../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} -j2 cd .. rm -rf openssl + - name: C build test + if: ${{ matrix.arch_name.C == 'yes' }} + run: | + git clone https://github.com/TheAlgorithms/C.git + cd C + git checkout cc241f58c253c533ac94e07151ef91a5ef7e5719 + ./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.C_arg }} + cd .. + rm -rf C - name: C-Plus-Plus build test if: ${{ matrix.arch_name.C-Plus-Plus == 'yes' }} run: |