From cb90ebee3d4e4983ca6d50f11cc2edb6c9c37d82 Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Mon, 12 Sep 2022 22:23:09 +0200 Subject: [PATCH] Update CI Update CI Signed-off-by: Bensuperpc --- .github/workflows/main.yml | 126 ++++++++++++++++++++++++++++++++++--- 1 file changed, 116 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1ea5cb1..6931988 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -71,6 +71,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "no", cpython_arg: "--host=arm-linux-androideabi --target=arm-linux-androideabi", } @@ -88,6 +90,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "no", cpython_arg: "--host=aarch64-linux-android --target=aarch64-linux-android", } @@ -105,6 +109,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "no", cpython_arg: "--host=i686-linux-android --target=i686-linux-android", } @@ -122,6 +128,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "no", cpython_arg: "--host=x86_64-linux-android --target=x86_64-linux-android", } @@ -140,6 +148,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "--host=aarch64-unknown-linux-gnu --target=aarch64-unknown-linux-gnu", } @@ -157,6 +167,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "--host=aarch64-unknown-linux-gnu --target=aarch64-unknown-linux-gnu", } @@ -174,6 +186,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "--host=aarch64-linux-musl --target=aarch64-linux-musl", } @@ -191,6 +205,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "--host=aarch64-buildroot-linux-gnu --target=aarch64-buildroot-linux-gnu", } @@ -209,6 +225,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "no", cpython_arg: "", } @@ -227,6 +245,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "--host=armv5-unknown-linux-gnueabi --target=armv5-unknown-linux-gnueabi", } @@ -244,6 +264,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "--host=armv5-unknown-linux-musleabi --target=armv5-unknown-linux-musleabi", } @@ -261,6 +283,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "--host=arm-unknown-linux-uclibcgnueabi --target=arm-unknown-linux-uclibcgnueabi", } @@ -279,6 +303,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "--host=armv6-unknown-linux-gnueabihf --target=armv6-unknown-linux-gnueabihf", } @@ -296,6 +322,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "--host=armv6-unknown-linux-gnueabihf --target=armv6-unknown-linux-gnueabihf", } @@ -313,6 +341,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "--host=armv6-linux-musleabihf --target=armv6-linux-musleabihf", } @@ -331,6 +361,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "--host=armv7-unknown-linux-gnueabi --target=armv7-unknown-linux-gnueabi", } @@ -348,6 +380,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "--host=arm-cortexa8_neon-linux-gnueabihf --target=arm-cortexa8_neon-linux-gnueabihf", } @@ -365,6 +399,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "--host=arm-cortexa8_neon-linux-gnueabihf --target=arm-cortexa8_neon-linux-gnueabihf", } @@ -382,6 +418,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "--host=armv7-unknown-linux-gnueabi --target=armv7-unknown-linux-gnueabi", } @@ -399,6 +437,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "--host=armv7l-linux-musleabihf --target=armv7l-linux-musleabihf", } @@ -417,6 +457,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "", } @@ -435,6 +477,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "", } @@ -452,6 +496,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "no", cpython_arg: "", } @@ -469,6 +515,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "", } @@ -486,6 +534,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "--host=x86_64-buildroot-linux-gnu --target=x86_64-buildroot-linux-gnu", } @@ -504,6 +554,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "--host=riscv32-unknown-linux-gnu --target=riscv32-unknown-linux-gnu", } @@ -521,6 +573,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "--host=riscv64-unknown-linux-gnu --target=riscv64-unknown-linux-gnu", } @@ -539,6 +593,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "--host=s390x-ibm-linux-gnu --target=s390x-ibm-linux-gnu", } @@ -557,6 +613,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "--host=mips-unknown-linux-gnu --target=mips-unknown-linux-gnu", } @@ -575,6 +633,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "--host=mips-unknown-linux-gnu --target=mips-unknown-linux-gnu", } @@ -593,6 +653,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "--host=powerpc64le-unknown-linux-gnu --target=powerpc64le-unknown-linux-gnu", } @@ -611,6 +673,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "no", cpython_arg: "--host=m68k-unknown-uclinux-uclibc --target=m68k-unknown-uclinux-uclibc", } @@ -629,6 +693,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "--host=xtensa-fsf-linux-uclibc --target=xtensa-fsf-linux-uclibc", } @@ -647,6 +713,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "no", cpython_arg: "", } @@ -664,6 +732,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "no", cpython_arg: "", } @@ -681,6 +751,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "no", cpython_arg: "", } @@ -698,6 +770,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "no", cpython_arg: "", } @@ -716,6 +790,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "no", cpython_arg: "", } @@ -733,6 +809,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "no", cpython_arg: "", } @@ -751,6 +829,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "no", cpython_arg: "", } @@ -768,6 +848,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "no", cpython_arg: "", } @@ -786,6 +868,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "", } @@ -804,6 +888,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "", } @@ -821,6 +907,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "yes", cpython_arg: "", } @@ -838,6 +926,8 @@ jobs: # C-Plus-Plus_arg: "", # fmt: "no", # fmt_arg: "", + # raylib: "no", + # raylib_arg: "", # cpython: "yes", # cpython_arg: "", # } @@ -856,6 +946,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", + raylib: "yes", + raylib_arg: "-DPLATFORM=Web", cpython: "no", cpython_arg: "", } @@ -873,6 +965,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "no", cpython_arg: "", } @@ -891,6 +985,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", + raylib: "no", + raylib_arg: "", cpython: "no", cpython_arg: "", mbedtls: "yes", @@ -929,20 +1025,20 @@ jobs: ./../../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} build ${{ matrix.arch_name.stockfish_arg }} -j2 cd ../.. rm -rf Stockfish - # Updated on 19/05/2022 + # Updated on 12/09/2022 - name: ninja build test if: ${{ matrix.arch_name.ninja == 'yes' }} run: | - git clone --depth 1 --branch v1.11.0 https://github.com/ninja-build/ninja.git + git clone --depth 1 --branch v1.11.1 https://github.com/ninja-build/ninja.git cd ninja ./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.ninja_arg }} - # Updated on 19/05/2022 + # Updated on 12/09/2022 - name: openssl build test if: ${{ matrix.arch_name.openssl == 'yes' }} run: | - git clone --depth 1 --branch OpenSSL_1_1_1o https://github.com/openssl/openssl.git + git clone --depth 1 --branch OpenSSL_1_1_1q https://github.com/openssl/openssl.git cd openssl wget https://raw.githubusercontent.com/mavlink/MAVSDK/main/third_party/openssl/dockcross-android.patch patch -p 0 < dockcross-android.patch @@ -951,33 +1047,33 @@ jobs: cd .. rm -rf openssl - # Updated on 19/05/2022 + # Updated on 12/09/2022 - name: C build test if: ${{ matrix.arch_name.C == 'yes' }} run: | git clone https://github.com/TheAlgorithms/C.git cd C - git checkout 2314a195862243e09c485a66194866517a6f8c31 + git checkout b0a41bb38c67ddebb31d3fe06d11e171410c3379 ./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.C_arg }} cd .. rm -rf C - # Updated on 19/05/2022 + # Updated on 12/09/2022 - name: C-Plus-Plus build test if: ${{ matrix.arch_name.C-Plus-Plus == 'yes' }} run: | git clone https://github.com/TheAlgorithms/C-Plus-Plus.git cd C-Plus-Plus - git checkout 37a29008e6b77921a97a89ca8b7fd9e700aeccd0 + git checkout 0594923efa8e6b006a5d754c5e7976850290577c ./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.C-Plus-Plus_arg }} cd .. rm -rf C-Plus-Plus - # Updated on 19/05/2022 + # Updated on 12/09/2022 - name: fmt build test if: ${{ matrix.arch_name.fmt == 'yes' }} run: | - git clone --depth 1 --branch 8.1.1 https://github.com/fmtlib/fmt.git + git clone --depth 1 --branch 9.1.0 https://github.com/fmtlib/fmt.git cd fmt ./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.fmt_arg }} -DFMT_DOC=OFF cd .. @@ -994,6 +1090,16 @@ jobs: cd .. rm -rf cpython + # Updated on 12/09/2022 + - name: raylib build test + if: ${{ matrix.arch_name.raylib == 'yes' }} + run: | + git clone --depth 1 --branch 4.2.0 https://github.com/raysan5/raylib.git + cd raylib + ./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.raylib_arg }} + cd .. + rm -rf raylib + # Updated on 31/3/2022 - name: mbedtls build test if: ${{ matrix.arch_name.mbedtls == 'yes' }}