libkernaux/.cirrus.yml

45 lines
1.0 KiB
YAML
Raw Normal View History

2022-01-31 07:42:28 +00:00
# We use Cirrus CI to test on FreeBSD.
# For GNU/Linix CI see GitHub Actions.
2022-01-31 07:38:24 +00:00
freebsd_instance:
image_family: freebsd-13-0
2022-01-31 14:30:28 +00:00
main_freebsd_task:
2022-01-31 14:12:53 +00:00
name: Main (FreeBSD)
2022-02-01 01:20:19 +00:00
dependencies_script:
2022-01-31 07:52:52 +00:00
- pkg install --yes autoconf automake
2022-02-01 01:20:19 +00:00
script:
2022-01-31 07:42:28 +00:00
- ./autogen.sh
2022-01-31 07:56:20 +00:00
- ./configure --enable-tests CFLAGS='-O3 -fPIC'
2022-01-31 07:42:28 +00:00
- make
- make check
- sudo make install
2022-01-31 08:08:06 +00:00
2022-01-31 14:30:28 +00:00
ruby_freebsd_task:
2022-01-31 14:12:53 +00:00
name: Ruby (FreeBSD)
2022-01-31 09:02:08 +00:00
dependencies_script:
2022-01-31 09:04:03 +00:00
- pkg install --yes autoconf automake git wget
2022-01-31 09:02:08 +00:00
ruby_cache:
2022-02-01 01:10:30 +00:00
fingerprint_key: ruby-3.0.3-fix
2022-01-31 09:02:08 +00:00
folder: ruby-3.0.3
populate_script:
- wget https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.3.tar.gz
- tar -xzf ruby-3.0.3.tar.gz
- cd ruby-3.0.3
- ./configure
- make
- cd ..
2022-02-01 01:06:27 +00:00
upload_caches: [ruby]
2022-01-31 08:08:06 +00:00
script:
2022-01-31 09:04:03 +00:00
- cd ruby-3.0.3
- sudo make install
- cd ..
2022-01-31 08:08:06 +00:00
- ./autogen.sh
- ./configure CFLAGS='-O3 -fPIC'
- make
- sudo make install
- cd pkgs/ruby
- bundle install
2022-01-31 09:02:08 +00:00
- bundle exec rake compile
- bundle exec rake