From bc91c7d71a13947e512683f73aecadd5a5044af1 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Thu, 22 Aug 2024 09:15:50 +0800 Subject: [PATCH] fix recovery workflow --- .gitea/workflows/linux-aarch64-gcc.yml | 12 ++++++------ .gitea/workflows/linux-arm-gcc.yml | 4 ++-- .gitea/workflows/linux-mips-gcc.yml | 12 ++++++------ .gitea/workflows/linux-mips64-gcc.yml | 12 ++++++------ .gitea/workflows/linux-riscv64-gcc.yml | 12 ++++++------ .gitea/workflows/linux-x64-gcc.yml | 8 ++++---- 6 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.gitea/workflows/linux-aarch64-gcc.yml b/.gitea/workflows/linux-aarch64-gcc.yml index cb9514b..7102486 100644 --- a/.gitea/workflows/linux-aarch64-gcc.yml +++ b/.gitea/workflows/linux-aarch64-gcc.yml @@ -38,10 +38,10 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive - # - name: install-tools - # run: | - # sudo apt-get update -y - # sudo apt-get install -y g++-aarch64-linux-gnu qemu-user-binfmt + - name: install-tools + run: | + sudo apt-get update -y + sudo apt-get install -y g++-aarch64-linux-gnu qemu-user-binfmt - name: configure run: | mkdir build && cd build @@ -53,6 +53,6 @@ jobs: - name: test run: |- cd build - # sudo ln -sf /usr/aarch64-linux-gnu/lib/ld-linux-aarch64.so.1 /lib/ld-linux-aarch64.so.1 - # export LD_LIBRARY_PATH=/usr/aarch64-linux-gnu/lib + sudo ln -sf /usr/aarch64-linux-gnu/lib/ld-linux-aarch64.so.1 /lib/ld-linux-aarch64.so.1 + export LD_LIBRARY_PATH=/usr/aarch64-linux-gnu/lib ctest --output-on-failure -j $(nproc) diff --git a/.gitea/workflows/linux-arm-gcc.yml b/.gitea/workflows/linux-arm-gcc.yml index 24506b0..0e747bb 100644 --- a/.gitea/workflows/linux-arm-gcc.yml +++ b/.gitea/workflows/linux-arm-gcc.yml @@ -79,6 +79,6 @@ jobs: - name: test run: |- cd build - # sudo ln -sf /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ld-linux-armhf.so.3 - #export LD_LIBRARY_PATH=/usr/arm-linux-gnueabihf/lib/ + sudo ln -sf /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ld-linux-armhf.so.3 + export LD_LIBRARY_PATH=/usr/arm-linux-gnueabihf/lib/ ctest --output-on-failure -j $(nproc) diff --git a/.gitea/workflows/linux-mips-gcc.yml b/.gitea/workflows/linux-mips-gcc.yml index 3b191b3..c59edef 100644 --- a/.gitea/workflows/linux-mips-gcc.yml +++ b/.gitea/workflows/linux-mips-gcc.yml @@ -35,10 +35,10 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive - # - name: install-tools - # run: | - # sudo apt-get update -y - # sudo apt-get install -y g++-mipsel-linux-gnu qemu-user-binfmt + - name: install-tools + run: | + sudo apt-get update -y + sudo apt-get install -y g++-mipsel-linux-gnu qemu-user-binfmt - name: configure run: | mkdir build && cd build @@ -48,6 +48,6 @@ jobs: - name: test run: |- cd build - # sudo ln -sf /usr/mipsel-linux-gnu/lib/ld.so.1 /lib/ld.so.1 - # export LD_LIBRARY_PATH=/usr/mipsel-linux-gnu/lib/ + sudo ln -sf /usr/mipsel-linux-gnu/lib/ld.so.1 /lib/ld.so.1 + export LD_LIBRARY_PATH=/usr/mipsel-linux-gnu/lib/ ctest --output-on-failure -j $(nproc) diff --git a/.gitea/workflows/linux-mips64-gcc.yml b/.gitea/workflows/linux-mips64-gcc.yml index 96d82c5..a199aa9 100644 --- a/.gitea/workflows/linux-mips64-gcc.yml +++ b/.gitea/workflows/linux-mips64-gcc.yml @@ -36,10 +36,10 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive - # - name: install-tools - # run: | - # sudo apt-get update -y - # sudo apt-get install -y g++-mips64el-linux-gnuabi64 qemu-user-binfmt + - name: install-tools + run: | + sudo apt-get update -y + sudo apt-get install -y g++-mips64el-linux-gnuabi64 qemu-user-binfmt - name: configure run: | mkdir build && cd build @@ -49,6 +49,6 @@ jobs: - name: test run: |- cd build - # sudo ln -sf /usr/mips64el-linux-gnuabi64/lib64/ld.so.1 /lib64/ld.so.1 - # export LD_LIBRARY_PATH=/usr/mips64el-linux-gnuabi64/lib + sudo ln -sf /usr/mips64el-linux-gnuabi64/lib64/ld.so.1 /lib64/ld.so.1 + export LD_LIBRARY_PATH=/usr/mips64el-linux-gnuabi64/lib ctest --output-on-failure -j $(nproc) diff --git a/.gitea/workflows/linux-riscv64-gcc.yml b/.gitea/workflows/linux-riscv64-gcc.yml index 61a829b..9e8be76 100644 --- a/.gitea/workflows/linux-riscv64-gcc.yml +++ b/.gitea/workflows/linux-riscv64-gcc.yml @@ -37,10 +37,10 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive - # - name: install-tools - # run: | - # sudo apt-get update -y - # sudo apt-get install -y g++-riscv64-linux-gnu qemu-user-binfmt + - name: install-tools + run: | + sudo apt-get update -y + sudo apt-get install -y g++-riscv64-linux-gnu qemu-user-binfmt - name: configure run: | mkdir build && cd build @@ -50,6 +50,6 @@ jobs: - name: test run: |- cd build - # sudo ln -sf /usr/riscv64-linux-gnu/lib/ld-linux-riscv64-lp64d.so.1 /lib/ld-linux-riscv64-lp64d.so.1 - # export LD_LIBRARY_PATH=/usr/riscv64-linux-gnu/lib + sudo ln -sf /usr/riscv64-linux-gnu/lib/ld-linux-riscv64-lp64d.so.1 /lib/ld-linux-riscv64-lp64d.so.1 + export LD_LIBRARY_PATH=/usr/riscv64-linux-gnu/lib ctest --output-on-failure -j $(nproc) diff --git a/.gitea/workflows/linux-x64-gcc.yml b/.gitea/workflows/linux-x64-gcc.yml index 0751dc1..752dcbd 100644 --- a/.gitea/workflows/linux-x64-gcc.yml +++ b/.gitea/workflows/linux-x64-gcc.yml @@ -33,10 +33,10 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive - # - name: install-tools - # run: | - # sudo apt-get update -y - # sudo apt-get install -y cmake make + - name: install-tools + run: | + sudo apt-get update -y + sudo apt-get install -y cmake make - name: configure run: | mkdir build && cd build