From 3149f96644984dbb6c75e7a67986bef3f03a6ecf Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Thu, 26 Aug 2021 17:42:06 +0200 Subject: [PATCH] Improve test Improve test Signed-off-by: Bensuperpc --- .github/workflows/main.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9a70c88..e10d806 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -311,20 +311,17 @@ jobs: - name: stockfish build test if: ${{ matrix.arch_name.stockfish == 'yes' }} run: | - git clone https://github.com/official-stockfish/Stockfish.git - cd Stockfish - git checkout sf_14 - cd src + git clone --depth 1 --branch sf_14 https://github.com/official-stockfish/Stockfish.git + cd Stockfish/src ./../../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 ../.. - name: openssl build test if: ${{ matrix.arch_name.openssl == 'yes' }} run: | - git clone https://github.com/openssl/openssl.git + git clone --depth 1 --branch OpenSSL_1_1_1k https://github.com/openssl/openssl.git cd openssl - git checkout OpenSSL_1_1_1k - ./../tools/dockcross-command.sh ${{ matrix.arch_name.image }} ./Configure ${{ matrix.arch_name.openssl_arg }} + ./../tools/dockcross-command.sh ${{ matrix.arch_name.image }} ./config ${{ matrix.arch_name.openssl_arg }} ./../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} -j2 - name: deploy if: github.ref == 'refs/heads/master'