* MDF [workflow] optimize workflow;
@@ -33,13 +33,13 @@ jobs:
- "-msquic"
- "-full"
exclude:
- - arch: [ips, mips-linux-gnu-gcc, mips-linux-gnu-g++]
+ - arch: [mips, mips-linux-gnu-gcc, mips-linux-gnu-g++]
build_type: "-msquic"
- arch: [riscv64, riscv64-linux-gnu-gcc, riscv64-linux-gnu-g++]
build_type: "-msquic"
- arch: [armel, arm-linux-gnueabi-gcc, arm-linux-gnueabi-g++]
build_type: "-msquic"
- - arch: [ips, mips-linux-gnu-gcc, mips-linux-gnu-g++]
+ - arch: [mips, mips-linux-gnu-gcc, mips-linux-gnu-g++]
build_type: "-full"
- arch: [riscv64, riscv64-linux-gnu-gcc, riscv64-linux-gnu-g++]
build_type: "-full"
@@ -48,7 +48,7 @@ jobs:
fail-fast: false
steps:
- - name: install libs
+ - name: install toolchains
run: |
sudo apt update
sudo chmod 755 /usr/local/bin
@@ -63,7 +63,7 @@ jobs:
sudo apt install -y pip
pip install Jinja2
- - name: install libs by source
+ - name: install mbed-tls
run: |
set -eu
git clone https://github.com/Mbed-TLS/mbedtls.git && cd mbedtls
@@ -74,8 +74,10 @@ jobs:
cd ../ && rm -rf ./build
cd ../
- if [ "${{ matrix.arch[0] }}" != "riscv64" ]; then
- if [ "${{ matrix.arch[0] }}" != "x86_64" ] && [ "${{ matrix.arch[0] }}" != "amd64" ]; then
+ - name: install uuid
+ if: matrix.arch[0] != 'riscv64' && matrix.arch[0] != 'x86_64' && matrix.arch[0] != 'amd64'
+ run: |
+ set -eu
wget https://sourceforge.net/projects/libuuid/files/libuuid-1.0.3.tar.gz/download -O libuuid-1.0.3.tar.gz
tar zxf libuuid-1.0.3.tar.gz
cd libuuid-1.0.3
@@ -85,8 +87,10 @@ jobs:
sudo make install
cd ../ && sudo rm -rf ./build
cd ../
- fi
+ - name: install zeromq
+ if: matrix.arch[0] != 'riscv64'
+ run: |
wget https://github.com/zeromq/libzmq/releases/download/v4.3.4/zeromq-4.3.4.tar.gz
tar zxf zeromq-4.3.4.tar.gz
cd zeromq-4.3.4
@@ -108,7 +112,6 @@ jobs:
cd ../
rm -rf ./build
cd ../
- fi
- uses: actions/checkout@v3
with:
