1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2024-11-13 11:04:27 -05:00
libkernaux/.cirrus.yml

41 lines
988 B
YAML
Raw Normal View History

2022-01-31 02:42:28 -05:00
# We use Cirrus CI to test on FreeBSD.
# For GNU/Linix CI see GitHub Actions.
2022-01-31 02:38:24 -05:00
freebsd_instance:
image_family: freebsd-13-0
2022-01-31 09:30:28 -05:00
main_freebsd_task:
2022-01-31 09:12:53 -05:00
name: Main (FreeBSD)
2022-01-31 20:20:19 -05:00
dependencies_script:
2022-01-31 02:52:52 -05:00
- pkg install --yes autoconf automake
2022-01-31 20:43:42 -05:00
main_build_script:
2022-01-31 02:42:28 -05:00
- ./autogen.sh
2022-01-31 02:56:20 -05:00
- ./configure --enable-tests CFLAGS='-O3 -fPIC'
2022-01-31 02:42:28 -05:00
- make
- sudo make install
2022-01-31 20:43:42 -05:00
main_test_script:
- make check
2022-01-31 03:08:06 -05:00
2022-01-31 09:30:28 -05:00
ruby_freebsd_task:
2022-01-31 09:12:53 -05:00
name: Ruby (FreeBSD)
2022-01-31 04:02:08 -05:00
dependencies_script:
2022-01-31 04:04:03 -05:00
- pkg install --yes autoconf automake git wget
2022-01-31 20:43:42 -05:00
dependencies_ruby_script:
2022-01-31 20:28:05 -05:00
- wget https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.3.tar.gz
- tar -xzf ruby-3.0.3.tar.gz
2022-01-31 04:04:03 -05:00
- cd ruby-3.0.3
2022-01-31 20:51:08 -05:00
- ./configure --disable-install-doc
2022-01-31 20:28:05 -05:00
- make
2022-01-31 04:04:03 -05:00
- sudo make install
2022-01-31 20:43:42 -05:00
main_build_script:
2022-01-31 03:08:06 -05:00
- ./autogen.sh
- ./configure CFLAGS='-O3 -fPIC'
- make
- sudo make install
2022-01-31 20:43:42 -05:00
ruby_build_script:
2022-01-31 03:08:06 -05:00
- cd pkgs/ruby
- bundle install
2022-01-31 04:02:08 -05:00
- bundle exec rake compile
2022-01-31 20:43:42 -05:00
ruby_test_script:
2022-01-31 04:02:08 -05:00
- bundle exec rake