From 3714419c91c91b2146ce931079b8f74b1b3c72ae Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Mon, 4 Oct 2021 17:52:16 +0200 Subject: [PATCH 1/6] Add darknet (Neural Networks) build in CI Signed-off-by: Bensuperpc --- .github/workflows/main.yml | 96 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d4e6a99..68caed5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -62,6 +62,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } - { image: "android-arm64", @@ -77,6 +79,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } - { image: "android-x86", @@ -92,6 +96,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } - { image: "android-x86_64", @@ -107,6 +113,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } # Linux arm64/armv8 images - { @@ -123,6 +131,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } - { image: "linux-arm64-lts", @@ -138,6 +148,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } - { image: "linux-arm64-musl", @@ -153,6 +165,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } - { image: "linux-arm64-full", @@ -168,6 +182,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } # Linux armv5 images - { @@ -184,6 +200,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } - { image: "linux-armv5-musl", @@ -199,6 +217,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } # Linux armv6 images - { @@ -215,6 +235,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } - { image: "linux-armv6-lts", @@ -230,6 +252,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } - { image: "linux-armv6-musl", @@ -245,6 +269,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } # Linux armv7 images - { @@ -261,6 +287,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } - { image: "linux-armv7a", @@ -276,6 +304,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } - { image: "linux-armv7l-musl", @@ -291,6 +321,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } # Linux x86 images - { @@ -307,6 +339,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } # Linux x86_64 images - { @@ -323,6 +357,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } - { image: "linux-x64-tinycc", @@ -338,6 +374,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } - { image: "linux-x64-clang", @@ -353,6 +391,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } - { image: "linux-x86_64-full", @@ -368,6 +408,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } # Linux riscv images - { @@ -384,6 +426,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } - { image: "linux-riscv64", @@ -399,6 +443,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } # Linux s390x images - { @@ -415,6 +461,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } # Linux mips images - { @@ -431,6 +479,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } # Linux ppc64le images - { @@ -447,6 +497,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } # Linux m68k images - { @@ -463,6 +515,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } # Linux xtensa images - { @@ -479,6 +533,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } # Windows x86_x64 images - { @@ -495,6 +551,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } - { image: "windows-static-x64-posix", @@ -510,6 +568,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } - { image: "windows-shared-x64", @@ -525,6 +585,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } - { image: "windows-shared-x64-posix", @@ -540,6 +602,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } # Windows x86 images - { @@ -556,6 +620,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } - { image: "windows-shared-x86", @@ -571,6 +637,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } # Windows arm images - { @@ -587,6 +655,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } - { image: "windows-arm64", @@ -602,6 +672,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } # manylinux2014 images - { @@ -618,6 +690,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } - { image: "manylinux2014-x64", @@ -633,6 +707,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } - { image: "manylinux2014-aarch64", @@ -648,6 +724,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } # web-wasm images - { @@ -664,6 +742,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", + darknet: "yes", + darknet_arg: "", } steps: - uses: actions/checkout@v2 @@ -677,6 +757,7 @@ jobs: run: make ${{ matrix.arch_name.image }} - name: basic test run: make ${{ matrix.arch_name.image }}.test + # Updated on 28/08/2021 - name: stockfish build test if: ${{ matrix.arch_name.stockfish == 'yes' }} run: | @@ -686,12 +767,14 @@ jobs: ./../../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} build ${{ matrix.arch_name.stockfish_arg }} -j2 cd ../.. rm -rf Stockfish + # Updated on 28/08/2021 - 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 }} ${{ matrix.arch_name.ninja_arg }} + # Updated on 28/08/2021 - name: openssl build test if: ${{ matrix.arch_name.openssl == 'yes' }} run: | @@ -703,6 +786,7 @@ jobs: ./../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} -j2 cd .. rm -rf openssl + # Updated on 28/08/2021 - name: C build test if: ${{ matrix.arch_name.C == 'yes' }} run: | @@ -712,6 +796,7 @@ jobs: ./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.C_arg }} cd .. rm -rf C + # Updated on 28/08/2021 - name: C-Plus-Plus build test if: ${{ matrix.arch_name.C-Plus-Plus == 'yes' }} run: | @@ -721,6 +806,7 @@ jobs: ./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.C-Plus-Plus_arg }} cd .. rm -rf C-Plus-Plus + # Updated on 28/08/2021 - name: fmt build test if: ${{ matrix.arch_name.fmt == 'yes' }} run: | @@ -729,6 +815,16 @@ jobs: ./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.fmt_arg }} -DFMT_DOC=OFF cd .. rm -rf fmt + # Updated on 04/10/2021 + - name: Darknet build test + if: ${{ matrix.arch_name.darknet == 'yes' }} + run: | + git clone https://github.com/AlexeyAB/darknet.git + cd darknet + git checkout 568d8c18ab7323b68b16e5844040cd8d779dc7df + ./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.darknet_arg }} + cd .. + rm -rf darknet - name: deploy if: github.ref == 'refs/heads/master' run: | From d7c3c499e900bb250db4892c9b32e07104627fa5 Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Tue, 5 Oct 2021 19:54:20 +0200 Subject: [PATCH 2/6] Add Replace darknet test by cpython Signed-off-by: Bensuperpc --- .github/workflows/main.yml | 176 ++++++++++++++++++------------------- 1 file changed, 88 insertions(+), 88 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 68caed5..10c7ea8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -62,8 +62,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } - { image: "android-arm64", @@ -79,8 +79,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } - { image: "android-x86", @@ -96,8 +96,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } - { image: "android-x86_64", @@ -113,8 +113,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } # Linux arm64/armv8 images - { @@ -131,8 +131,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } - { image: "linux-arm64-lts", @@ -148,8 +148,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } - { image: "linux-arm64-musl", @@ -165,8 +165,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } - { image: "linux-arm64-full", @@ -182,8 +182,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } # Linux armv5 images - { @@ -200,8 +200,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } - { image: "linux-armv5-musl", @@ -217,8 +217,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } # Linux armv6 images - { @@ -235,8 +235,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } - { image: "linux-armv6-lts", @@ -252,8 +252,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } - { image: "linux-armv6-musl", @@ -269,8 +269,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } # Linux armv7 images - { @@ -287,8 +287,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } - { image: "linux-armv7a", @@ -304,8 +304,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } - { image: "linux-armv7l-musl", @@ -321,8 +321,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } # Linux x86 images - { @@ -339,8 +339,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } # Linux x86_64 images - { @@ -357,8 +357,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } - { image: "linux-x64-tinycc", @@ -374,8 +374,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } - { image: "linux-x64-clang", @@ -391,8 +391,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } - { image: "linux-x86_64-full", @@ -408,8 +408,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } # Linux riscv images - { @@ -426,8 +426,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } - { image: "linux-riscv64", @@ -443,8 +443,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } # Linux s390x images - { @@ -461,8 +461,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } # Linux mips images - { @@ -479,8 +479,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } # Linux ppc64le images - { @@ -497,8 +497,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } # Linux m68k images - { @@ -515,8 +515,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } # Linux xtensa images - { @@ -533,8 +533,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } # Windows x86_x64 images - { @@ -551,8 +551,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } - { image: "windows-static-x64-posix", @@ -568,8 +568,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } - { image: "windows-shared-x64", @@ -585,8 +585,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } - { image: "windows-shared-x64-posix", @@ -602,8 +602,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } # Windows x86 images - { @@ -620,8 +620,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } - { image: "windows-shared-x86", @@ -637,8 +637,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } # Windows arm images - { @@ -655,8 +655,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } - { image: "windows-arm64", @@ -672,8 +672,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } # manylinux2014 images - { @@ -690,8 +690,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } - { image: "manylinux2014-x64", @@ -707,8 +707,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } - { image: "manylinux2014-aarch64", @@ -724,8 +724,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } # web-wasm images - { @@ -742,8 +742,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", - darknet: "yes", - darknet_arg: "", + cpython: "yes", + cpython_arg: "", } steps: - uses: actions/checkout@v2 @@ -815,16 +815,16 @@ jobs: ./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.fmt_arg }} -DFMT_DOC=OFF cd .. rm -rf fmt - # Updated on 04/10/2021 - - name: Darknet build test - if: ${{ matrix.arch_name.darknet == 'yes' }} + # Updated on 05/10/2021 + - name: cpython build test + if: ${{ matrix.arch_name.cpython == 'yes' }} run: | - git clone https://github.com/AlexeyAB/darknet.git - cd darknet - git checkout 568d8c18ab7323b68b16e5844040cd8d779dc7df - ./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.darknet_arg }} + git clone --depth 1 --branch v3.10.0 https://github.com/python/cpython.git + cd cpython + ./../tools/dockcross-command.sh ${{ matrix.arch_name.image }} ./configure ${{ matrix.arch_name.cpython_arg }} + ./../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} -j2 cd .. - rm -rf darknet + rm -rf cpython - name: deploy if: github.ref == 'refs/heads/master' run: | From d2931e8635c966b89f588367b3994c1849c95cfd Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Thu, 7 Oct 2021 02:09:30 +0200 Subject: [PATCH 3/6] =?UTF-8?q?Update=20N=C2=B01:=20config=20python?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bensuperpc --- .github/workflows/main.yml | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5afc245..59419e6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -63,7 +63,7 @@ jobs: fmt: "no", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=arm-linux-androideabi", } - { image: "android-arm64", @@ -80,7 +80,7 @@ jobs: fmt: "no", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=arch64-linux-android", } - { image: "android-x86", @@ -97,7 +97,7 @@ jobs: fmt: "no", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=i686-linux-android", } - { image: "android-x86_64", @@ -110,7 +110,7 @@ jobs: C: "no", C_arg: "", C-Plus-Plus: "yes", - C-Plus-Plus_arg: "", + C-Plus-Plus_arg: "--host=x86_64-linux-gnu --build=x86_64-linux-android", fmt: "no", fmt_arg: "", cpython: "yes", @@ -132,7 +132,7 @@ jobs: fmt: "yes", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=aarch64-unknown-linux-gnu", } - { image: "linux-arm64-lts", @@ -149,7 +149,7 @@ jobs: fmt: "yes", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=aarch64-unknown-linux-gnu", } - { image: "linux-arm64-musl", @@ -166,7 +166,7 @@ jobs: fmt: "yes", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=aarch64-linux-musl", } - { image: "linux-arm64-full", @@ -183,7 +183,7 @@ jobs: fmt: "yes", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=aarch64-unknown-linux-gnu", } # Linux armv5 images - { @@ -201,7 +201,7 @@ jobs: fmt: "yes", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=armv5-unknown-linux-musleabi", } - { image: "linux-armv5-musl", @@ -288,7 +288,7 @@ jobs: fmt: "yes", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=armv7-unknown-linux-gnueabi", } - { image: "linux-armv7a", @@ -305,7 +305,7 @@ jobs: fmt: "yes", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=arm-cortexa8_neon-linux-gnueabihf", } - { image: "linux-armv7l-musl", @@ -322,7 +322,7 @@ jobs: fmt: "yes", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=armv7l-linux-musleabihf", } # Linux x86 images - { @@ -427,7 +427,7 @@ jobs: fmt: "yes", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=riscv32-unknown-linux-gnu", } - { image: "linux-riscv64", @@ -444,7 +444,7 @@ jobs: fmt: "yes", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=riscv64-unknown-linux-gnu", } # Linux s390x images - { @@ -462,7 +462,7 @@ jobs: fmt: "yes", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=s390x-ibm-linux-gnu", } # Linux mips images - { @@ -480,7 +480,7 @@ jobs: fmt: "yes", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=mips-unknown-linux-gnu", } # Linux ppc64le images - { @@ -498,7 +498,7 @@ jobs: fmt: "yes", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=powerpc64le-unknown-linux-gnu", } # Linux m68k images - { @@ -819,9 +819,9 @@ jobs: - name: cpython build test if: ${{ matrix.arch_name.cpython == 'yes' }} run: | - git clone --depth 1 --branch v3.10.0 https://github.com/python/cpython.git + git clone --depth 1 --branch v3.9.2 https://github.com/python/cpython.git cd cpython - ./../tools/dockcross-command.sh ${{ matrix.arch_name.image }} ./configure ${{ matrix.arch_name.cpython_arg }} + ./../tools/dockcross-command.sh ${{ matrix.arch_name.image }} ./configure ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no --disable-ipv6 ${{ matrix.arch_name.cpython_arg }} ./../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} -j2 cd .. rm -rf cpython From cf8697648e3d29016c02e4186b54ebc9c65ea468 Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Thu, 7 Oct 2021 11:57:01 +0200 Subject: [PATCH 4/6] =?UTF-8?q?Update=20N=C2=B02:=20config=20python?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bensuperpc --- .github/workflows/main.yml | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 59419e6..3c7207e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -80,7 +80,7 @@ jobs: fmt: "no", fmt_arg: "", cpython: "yes", - cpython_arg: "--host=x86_64-linux-gnu --build=arch64-linux-android", + cpython_arg: "--host=x86_64-linux-gnu --build=aarch64-linux-android", } - { image: "android-x86", @@ -110,11 +110,11 @@ jobs: C: "no", C_arg: "", C-Plus-Plus: "yes", - C-Plus-Plus_arg: "--host=x86_64-linux-gnu --build=x86_64-linux-android", + C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=x86_64-linux-android", } # Linux arm64/armv8 images - { @@ -201,7 +201,7 @@ jobs: fmt: "yes", fmt_arg: "", cpython: "yes", - cpython_arg: "--host=x86_64-linux-gnu --build=armv5-unknown-linux-musleabi", + cpython_arg: "--host=x86_64-linux-gnu --build=armv5-unknown-linux-gnueabi", } - { image: "linux-armv5-musl", @@ -218,7 +218,7 @@ jobs: fmt: "yes", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=armv5-unknown-linux-musleabi", } # Linux armv6 images - { @@ -236,7 +236,7 @@ jobs: fmt: "yes", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=armv6-unknown-linux-gnueabihf", } - { image: "linux-armv6-lts", @@ -253,7 +253,7 @@ jobs: fmt: "yes", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=armv6-unknown-linux-gnueabihf", } - { image: "linux-armv6-musl", @@ -270,7 +270,7 @@ jobs: fmt: "yes", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=armv6-linux-musleabihf", } # Linux armv7 images - { @@ -516,7 +516,7 @@ jobs: fmt: "no", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=m68k-unknown-uclinux-uclibc", } # Linux xtensa images - { @@ -534,7 +534,7 @@ jobs: fmt: "no", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=xtensa-fsf-linux-uclibc", } # Windows x86_x64 images - { @@ -551,7 +551,7 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - cpython: "yes", + cpython: "no", cpython_arg: "", } - { @@ -568,7 +568,7 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - cpython: "yes", + cpython: "no", cpython_arg: "", } - { @@ -585,7 +585,7 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - cpython: "yes", + cpython: "no", cpython_arg: "", } - { @@ -602,7 +602,7 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - cpython: "yes", + cpython: "no", cpython_arg: "", } # Windows x86 images @@ -620,7 +620,7 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - cpython: "yes", + cpython: "no", cpython_arg: "", } - { @@ -637,7 +637,7 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", - cpython: "yes", + cpython: "no", cpython_arg: "", } # Windows arm images @@ -656,7 +656,7 @@ jobs: fmt: "yes", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=armv7-w64-mingw32", } - { image: "windows-arm64", @@ -673,7 +673,7 @@ jobs: fmt: "yes", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=aarch64-w64-mingw32", } # manylinux2014 images - { @@ -742,7 +742,7 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", - cpython: "yes", + cpython: "no", cpython_arg: "", } steps: From 3c1e95361fa9136a31bae1f6baea9c576ebc79ed Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Thu, 7 Oct 2021 15:07:32 +0200 Subject: [PATCH 5/6] =?UTF-8?q?Update=20N=C2=B03:=20config=20python?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update N°3: config python --- .github/workflows/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3c7207e..7070b90 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -374,7 +374,7 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - cpython: "yes", + cpython: "no", cpython_arg: "", } - { @@ -391,7 +391,7 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - cpython: "yes", + cpython: "no", cpython_arg: "", } - { @@ -515,7 +515,7 @@ jobs: C-Plus-Plus_arg: "", fmt: "no", fmt_arg: "", - cpython: "yes", + cpython: "no", cpython_arg: "--host=x86_64-linux-gnu --build=m68k-unknown-uclinux-uclibc", } # Linux xtensa images @@ -655,8 +655,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - cpython: "yes", - cpython_arg: "--host=x86_64-linux-gnu --build=armv7-w64-mingw32", + cpython: "no", + cpython_arg: "", } - { image: "windows-arm64", @@ -672,8 +672,8 @@ jobs: C-Plus-Plus_arg: "", fmt: "yes", fmt_arg: "", - cpython: "yes", - cpython_arg: "--host=x86_64-linux-gnu --build=aarch64-w64-mingw32", + cpython: "no", + cpython_arg: "", } # manylinux2014 images - { From f2e6df0bc9dc0eb7ac58c1c6be37c77da6a50a7a Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Thu, 7 Oct 2021 19:40:07 +0200 Subject: [PATCH 6/6] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7070b90..1578a94 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -409,7 +409,7 @@ jobs: fmt: "yes", fmt_arg: "", cpython: "yes", - cpython_arg: "", + cpython_arg: "--host=x86_64-linux-gnu --build=x86_64-buildroot-linux-gnu", } # Linux riscv images - {