From dc2bb3567ba9bd0e0c23086fa6aa62b947515507 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Fri, 23 Aug 2024 21:28:14 +0800 Subject: [PATCH] feat reinstall tools --- .gitea/workflows/linux-aarch64-gcc.yml | 12 ++++++------ .gitea/workflows/linux-arm-gcc.yml | 16 ++++++++-------- .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-clang.yml | 8 ++++---- .gitea/workflows/linux-x64-gcc.yml | 8 ++++---- 7 files changed, 40 insertions(+), 40 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..3b5cc01 100644 --- a/.gitea/workflows/linux-arm-gcc.yml +++ b/.gitea/workflows/linux-arm-gcc.yml @@ -36,10 +36,10 @@ jobs: build_type: ["Debug", "Release"] steps: - uses: actions/checkout@v4 - # - name: install-tools - # run: | - # sudo apt-get update -y - # sudo apt-get install -y g++-arm-linux-gnueabi qemu-user-binfmt + - name: install-tools + run: | + sudo apt-get update -y + sudo apt-get install -y g++-arm-linux-gnueabi qemu-user-binfmt - name: configure run: | mkdir build && cd build @@ -51,8 +51,8 @@ jobs: - name: test run: | cd build - #sudo ln -sf /usr/arm-linux-gnueabi/lib/ld-linux.so.3 /lib/ld-linux.so.3 - #export LD_LIBRARY_PATH=/usr/arm-linux-gnueabi/lib + sudo ln -sf /usr/arm-linux-gnueabi/lib/ld-linux.so.3 /lib/ld-linux.so.3 + export LD_LIBRARY_PATH=/usr/arm-linux-gnueabi/lib ctest --output-on-failure -j $(nproc) linux-gcc-armhf: @@ -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-clang.yml b/.gitea/workflows/linux-x64-clang.yml index 68373d5..0f282d0 100644 --- a/.gitea/workflows/linux-x64-clang.yml +++ b/.gitea/workflows/linux-x64-clang.yml @@ -29,10 +29,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 env: CC: clang 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