fix sip arm
Some checks failed
linux-arm-gcc / linux-gcc-armhf (pull_request) Successful in 1m26s
linux-arm-gcc / linux-gcc-armhf (push) Successful in 1m38s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (pull_request) Failing after 1m49s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (pull_request) Successful in 1m47s
linux-mips64-gcc / linux-gcc-mips64el (Release) (pull_request) Successful in 1m48s
linux-x64-gcc / linux-gcc (Release) (pull_request) Successful in 2m9s
linux-x64-gcc / linux-gcc (Debug) (pull_request) Successful in 2m30s

This commit is contained in:
tqcq 2024-04-02 12:03:17 +08:00
parent c7cbfd0814
commit fd5eadd9a2

View File

@ -27,25 +27,25 @@ concurrency:
group: linux-arm-gcc-${{ github.ref }} group: linux-arm-gcc-${{ github.ref }}
cancel-in-progress: true cancel-in-progress: true
jobs: jobs:
linux-gcc-arm: # linux-gcc-arm:
runs-on: ubuntu-20.04 # runs-on: ubuntu-20.04
steps: # steps:
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
- name: arm-gnu-toolchain # - name: arm-gnu-toolchain
run: | # run: |
sudo apt-get update -y # sudo apt-get update -y
sudo apt-get install -y cmake make g++-arm-linux-gnueabi qemu-user-binfmt # sudo apt-get install -y cmake make g++-arm-linux-gnueabi qemu-user-binfmt
- name: build # - name: build
run: | # run: |
mkdir build && cd build # mkdir build && cd build
cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/arm-linux-gnueabi.toolchain.cmake -DSLED_BUILD_TESTS=ON -DSLED_BUILD_TESTS=ON .. # cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/arm-linux-gnueabi.toolchain.cmake -DSLED_BUILD_TESTS=ON -DSLED_BUILD_TESTS=ON ..
cmake --build . -j $(nproc) # cmake --build . -j $(nproc)
- name: test # - name: test
run: | # run: |
cd build # cd build
ln -sf /usr/arm-linux-gnueabi/lib/ld-linux.so.3 # ln -sf /usr/arm-linux-gnueabi/lib/ld-linux.so.3
export LD_LIBRARY_PATH=/usr/arm-linux-gnueabi/lib # export LD_LIBRARY_PATH=/usr/arm-linux-gnueabi/lib
qemu-arm ctest --output-on-failure -j$(nproc) # qemu-arm ctest --output-on-failure -j$(nproc)
linux-gcc-armhf: linux-gcc-armhf:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps: