From fad083bccbafd2843ceee9c5462931f845a89362 Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Thu, 26 Aug 2021 19:44:42 +0200 Subject: [PATCH] Add ninja build test Add ninja build test Signed-off-by: Bensuperpc --- .github/workflows/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e064acf..39d90c1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -322,6 +322,13 @@ jobs: ./../../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} net ./../../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} build ${{ matrix.arch_name.stockfish_arg }} -j2 cd ../.. + rm -rf Stockfish + - name: ninja build test + if: ${{ matrix.arch_name.ninja == 'yes' }} + run: | + git clone --depth 1 --branch v1.10.2 https://github.com/ninja-build/ninja.git + cd ninja + ./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} - name: openssl build test if: ${{ matrix.arch_name.openssl == 'yes' }} run: | @@ -329,6 +336,8 @@ jobs: cd openssl ./../tools/dockcross-command.sh ${{ matrix.arch_name.image }} ./Configure ${{ matrix.arch_name.openssl_arg }} ./../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} -j2 + cd .. + rm -rf openssl - name: deploy if: github.ref == 'refs/heads/master' run: |