feat update workflows
Some checks failed
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (push) Failing after 1m41s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (push) Failing after 1m46s
linux-arm-gcc / linux-gcc-arm (Debug) (push) Failing after 1m6s
linux-arm-gcc / linux-gcc-arm (Release) (push) Failing after 1m21s
linux-arm-gcc / linux-gcc-armhf (Debug) (push) Failing after 1m14s
linux-arm-gcc / linux-gcc-armhf (Release) (push) Successful in 1m48s
linux-mips-gcc / linux-gcc-mipsel (Debug) (push) Successful in 1m55s
linux-mips-gcc / linux-gcc-mipsel (Release) (push) Successful in 1m39s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 1m23s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 2m11s
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (push) Successful in 3m12s
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (push) Successful in 1m47s
linux-x64-gcc / linux-gcc (Debug) (push) Failing after 1m6s
linux-x64-gcc / linux-gcc (Release) (push) Failing after 1m31s
linux-x86-gcc / linux-gcc (Debug) (push) Failing after 1m14s
linux-x86-gcc / linux-gcc (Release) (push) Failing after 1m41s

This commit is contained in:
tqcq 2024-06-20 21:27:54 +08:00
parent ed0dfc9c6f
commit c749e91aad
6 changed files with 15 additions and 13 deletions

View File

@ -53,6 +53,6 @@ jobs:
- name: test - name: test
run: |- run: |-
cd build cd build
sudo ln -sf /usr/aarch64-linux-gnu/lib/ld-linux-aarch64.so.1 /lib/ld-linux-aarch64.so.1 # 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 # export LD_LIBRARY_PATH=/usr/aarch64-linux-gnu/lib
ctest --output-on-failure -j $(nproc) ctest --output-on-failure -j $(nproc)

View File

@ -51,8 +51,8 @@ jobs:
- name: test - name: test
run: | run: |
cd build cd build
sudo ln -sf /usr/arm-linux-gnueabi/lib/ld-linux.so.3 /lib/ld-linux.so.3 #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 #export LD_LIBRARY_PATH=/usr/arm-linux-gnueabi/lib
ctest --output-on-failure -j $(nproc) ctest --output-on-failure -j $(nproc)
linux-gcc-armhf: linux-gcc-armhf:
@ -79,6 +79,6 @@ jobs:
- name: test - name: test
run: |- run: |-
cd build cd build
sudo ln -sf /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ld-linux-armhf.so.3 # 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/ #export LD_LIBRARY_PATH=/usr/arm-linux-gnueabihf/lib/
ctest --output-on-failure -j $(nproc) ctest --output-on-failure -j $(nproc)

View File

@ -48,6 +48,6 @@ jobs:
- name: test - name: test
run: |- run: |-
cd build cd build
sudo ln -sf /usr/mipsel-linux-gnu/lib/ld.so.1 /lib/ld.so.1 # sudo ln -sf /usr/mipsel-linux-gnu/lib/ld.so.1 /lib/ld.so.1
export LD_LIBRARY_PATH=/usr/mipsel-linux-gnu/lib/ # export LD_LIBRARY_PATH=/usr/mipsel-linux-gnu/lib/
ctest --output-on-failure -j $(nproc) ctest --output-on-failure -j $(nproc)

View File

@ -49,6 +49,6 @@ jobs:
- name: test - name: test
run: |- run: |-
cd build cd build
sudo ln -sf /usr/mips64el-linux-gnuabi64/lib64/ld.so.1 /lib64/ld.so.1 # sudo ln -sf /usr/mips64el-linux-gnuabi64/lib64/ld.so.1 /lib64/ld.so.1
export LD_LIBRARY_PATH=/usr/mips64el-linux-gnuabi64/lib # export LD_LIBRARY_PATH=/usr/mips64el-linux-gnuabi64/lib
ctest --output-on-failure -j $(nproc) ctest --output-on-failure -j $(nproc)

View File

@ -50,6 +50,6 @@ jobs:
- name: test - name: test
run: |- run: |-
cd build cd build
sudo ln -sf /usr/riscv64-linux-gnu/lib/ld-linux-riscv64-lp64d.so.1 /lib/ld-linux-riscv64-lp64d.so.1 # 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 # export LD_LIBRARY_PATH=/usr/riscv64-linux-gnu/lib
ctest --output-on-failure -j $(nproc) ctest --output-on-failure -j $(nproc)

View File

@ -53,6 +53,7 @@ int Start(int argc, char **argv, std::function<int(int, char **)> cb,
google::InstallFailureSignalHandler(); google::InstallFailureSignalHandler();
} }
gflags::SetVersionString("0.1.0");
gflags::ParseCommandLineFlags(&argc, &argv, true); gflags::ParseCommandLineFlags(&argc, &argv, true);
detail::ApplyFlagOverrider(); detail::ApplyFlagOverrider();
@ -88,8 +89,9 @@ int Start(int argc, char **argv, std::function<int(int, char **)> cb,
detail::RunAllFinalizers(); detail::RunAllFinalizers();
TerminateBasicRuntime(); TerminateBasicRuntime();
gflags::ShutDownCommandLineFlags();
TILE_LOG_INFO("Exited"); TILE_LOG_INFO("Exited");
return rc; return rc;
} }