[A] Added tests to freebsd
This commit is contained in:
15
.cirrus.yml
15
.cirrus.yml
@@ -3,7 +3,7 @@ freebsd_instance:
|
||||
|
||||
main_task:
|
||||
script:
|
||||
- echo "Hello cirrus"
|
||||
- uname -a
|
||||
- ls
|
||||
- yes | pkg install cmake
|
||||
- cc --version
|
||||
@@ -21,4 +21,15 @@ main_task:
|
||||
- c++ -Wall -Wextra -Werror -DFT_CONGIG_HAVE_WCHAR fort.cpp -c -o fort.o
|
||||
- rm fort.o
|
||||
- rm fort.cpp
|
||||
- cd ..
|
||||
- cd ..
|
||||
|
||||
# Perform out-of-source build(CMake backend generation, build, and test)
|
||||
# Test build without optimizations and with asan
|
||||
- mkdir -p build
|
||||
- cd build
|
||||
- cmake .. -DFORT_BUILD_TYPE=asan
|
||||
- cmake --build . --target all
|
||||
- ls
|
||||
- ./libfort_example
|
||||
- ./libfort_test_dev
|
||||
- ./libfort_test
|
||||
Reference in New Issue
Block a user