mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 16:24:27 +01:00
Merge pull request #695 from bensuperpc/update_ci_tests
Update CI tests
This commit is contained in:
commit
eda038eacf
28
.github/workflows/main.yml
vendored
28
.github/workflows/main.yml
vendored
@ -844,28 +844,28 @@ jobs:
|
|||||||
run: make ${{ matrix.arch_name.image }}
|
run: make ${{ matrix.arch_name.image }}
|
||||||
- name: basic test
|
- name: basic test
|
||||||
run: make ${{ matrix.arch_name.image }}.test
|
run: make ${{ matrix.arch_name.image }}.test
|
||||||
# Updated on 28/08/2021
|
# Updated on 19/05/2022
|
||||||
- name: stockfish build test
|
- name: stockfish build test
|
||||||
if: ${{ matrix.arch_name.stockfish == 'yes' }}
|
if: ${{ matrix.arch_name.stockfish == 'yes' }}
|
||||||
run: |
|
run: |
|
||||||
git clone --depth 1 --branch sf_14 https://github.com/official-stockfish/Stockfish.git
|
git clone --depth 1 --branch sf_15 https://github.com/official-stockfish/Stockfish.git
|
||||||
cd Stockfish/src
|
cd Stockfish/src
|
||||||
./../../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} net
|
./../../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
|
./../../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} build ${{ matrix.arch_name.stockfish_arg }} -j2
|
||||||
cd ../..
|
cd ../..
|
||||||
rm -rf Stockfish
|
rm -rf Stockfish
|
||||||
# Updated on 28/08/2021
|
# Updated on 19/05/2022
|
||||||
- name: ninja build test
|
- name: ninja build test
|
||||||
if: ${{ matrix.arch_name.ninja == 'yes' }}
|
if: ${{ matrix.arch_name.ninja == 'yes' }}
|
||||||
run: |
|
run: |
|
||||||
git clone --depth 1 --branch v1.10.2 https://github.com/ninja-build/ninja.git
|
git clone --depth 1 --branch v1.11.0 https://github.com/ninja-build/ninja.git
|
||||||
cd ninja
|
cd ninja
|
||||||
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.ninja_arg }}
|
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.ninja_arg }}
|
||||||
# Updated on 28/08/2021
|
# Updated on 19/05/2022
|
||||||
- name: openssl build test
|
- name: openssl build test
|
||||||
if: ${{ matrix.arch_name.openssl == 'yes' }}
|
if: ${{ matrix.arch_name.openssl == 'yes' }}
|
||||||
run: |
|
run: |
|
||||||
git clone --depth 1 --branch OpenSSL_1_1_1k https://github.com/openssl/openssl.git
|
git clone --depth 1 --branch OpenSSL_1_1_1o https://github.com/openssl/openssl.git
|
||||||
cd openssl
|
cd openssl
|
||||||
wget https://raw.githubusercontent.com/mavlink/MAVSDK/main/third_party/openssl/dockcross-android.patch
|
wget https://raw.githubusercontent.com/mavlink/MAVSDK/main/third_party/openssl/dockcross-android.patch
|
||||||
patch -p 0 < dockcross-android.patch
|
patch -p 0 < dockcross-android.patch
|
||||||
@ -873,40 +873,40 @@ jobs:
|
|||||||
./../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} -j2
|
./../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} -j2
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf openssl
|
rm -rf openssl
|
||||||
# Updated on 28/08/2021
|
# Updated on 19/05/2022
|
||||||
- name: C build test
|
- name: C build test
|
||||||
if: ${{ matrix.arch_name.C == 'yes' }}
|
if: ${{ matrix.arch_name.C == 'yes' }}
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/TheAlgorithms/C.git
|
git clone https://github.com/TheAlgorithms/C.git
|
||||||
cd C
|
cd C
|
||||||
git checkout cc241f58c253c533ac94e07151ef91a5ef7e5719
|
git checkout 2314a195862243e09c485a66194866517a6f8c31
|
||||||
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.C_arg }}
|
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.C_arg }}
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf C
|
rm -rf C
|
||||||
# Updated on 28/08/2021
|
# Updated on 19/05/2022
|
||||||
- name: C-Plus-Plus build test
|
- name: C-Plus-Plus build test
|
||||||
if: ${{ matrix.arch_name.C-Plus-Plus == 'yes' }}
|
if: ${{ matrix.arch_name.C-Plus-Plus == 'yes' }}
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/TheAlgorithms/C-Plus-Plus.git
|
git clone https://github.com/TheAlgorithms/C-Plus-Plus.git
|
||||||
cd C-Plus-Plus
|
cd C-Plus-Plus
|
||||||
git checkout c3b07aed2240e5364e1a49d091a00b61f520e653
|
git checkout 37a29008e6b77921a97a89ca8b7fd9e700aeccd0
|
||||||
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.C-Plus-Plus_arg }}
|
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.C-Plus-Plus_arg }}
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf C-Plus-Plus
|
rm -rf C-Plus-Plus
|
||||||
# Updated on 28/08/2021
|
# Updated on 19/05/2022
|
||||||
- name: fmt build test
|
- name: fmt build test
|
||||||
if: ${{ matrix.arch_name.fmt == 'yes' }}
|
if: ${{ matrix.arch_name.fmt == 'yes' }}
|
||||||
run: |
|
run: |
|
||||||
git clone --depth 1 --branch 8.0.1 https://github.com/fmtlib/fmt.git
|
git clone --depth 1 --branch 8.1.1 https://github.com/fmtlib/fmt.git
|
||||||
cd fmt
|
cd fmt
|
||||||
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.fmt_arg }} -DFMT_DOC=OFF
|
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.fmt_arg }} -DFMT_DOC=OFF
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf fmt
|
rm -rf fmt
|
||||||
# Updated on 05/10/2021
|
# Updated on 19/05/2022
|
||||||
- name: cpython build test
|
- name: cpython build test
|
||||||
if: ${{ matrix.arch_name.cpython == 'yes' }}
|
if: ${{ matrix.arch_name.cpython == 'yes' }}
|
||||||
run: |
|
run: |
|
||||||
git clone --depth 1 --branch v3.9.2 https://github.com/python/cpython.git
|
git clone --depth 1 --branch v3.9.13 https://github.com/python/cpython.git
|
||||||
cd cpython
|
cd cpython
|
||||||
./../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 }} --build=x86_64-linux-gnu --enable-shared
|
./../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 }} --build=x86_64-linux-gnu --enable-shared
|
||||||
./../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} -j2
|
./../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} -j2
|
||||||
|
Loading…
Reference in New Issue
Block a user