2019-01-12 13:11:18 +01:00
|
|
|
freebsd_instance:
|
2019-01-12 13:15:59 +01:00
|
|
|
image: freebsd-12-0-release-amd64
|
2019-01-12 13:08:10 +01:00
|
|
|
|
|
|
|
main_task:
|
2019-01-12 13:11:18 +01:00
|
|
|
script:
|
2019-01-12 13:15:59 +01:00
|
|
|
- echo "Hello cirrus"
|
|
|
|
- ls
|
2019-01-12 13:40:00 +01:00
|
|
|
- yes | pkg install cmake
|
2019-01-12 13:15:59 +01:00
|
|
|
- cc --version
|
2019-01-12 13:52:48 +01:00
|
|
|
- c++ --version
|
|
|
|
|
|
|
|
# Basic c build
|
|
|
|
- cd lib
|
|
|
|
- cc -Wall -Wextra -Werror --std=gnu89 -DFT_CONGIG_HAVE_WCHAR fort.c -c -o fort.o
|
|
|
|
- rm fort.o
|
|
|
|
- cd ..
|
|
|
|
|
|
|
|
# Basic c++ build
|
|
|
|
- cd lib
|
2019-01-12 14:09:22 +01:00
|
|
|
- cp fort.c fort.cpp
|
|
|
|
- c++ -Wall -Wextra -Werror -DFT_CONGIG_HAVE_WCHAR fort.cpp -c -o fort.o
|
2019-01-12 13:52:48 +01:00
|
|
|
- rm fort.o
|
2019-01-12 14:18:42 +01:00
|
|
|
- rm fort.cpp
|
2019-01-12 13:52:48 +01:00
|
|
|
- cd ..
|