feat/update_config #10

Merged
tqcq merged 26 commits from feat/update_config into master 2024-10-14 10:15:01 +08:00
7 changed files with 40 additions and 40 deletions
Showing only changes of commit dc2bb3567b - Show all commits

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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

View File

@ -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