1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2025-04-14 17:32:55 -04:00

Common: only run Cirrus CI for commits in master and PRs to master

This commit is contained in:
Alex Kotov 2022-06-03 22:49:53 +03:00
parent 8ab8106db8
commit 2e97270720
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -6,6 +6,7 @@ freebsd_instance:
main_freebsd_task:
name: Main (FreeBSD)
only_if: $CIRRUS_BASE_BRANCH == 'master'
dependencies_script:
- pkg install --yes autoconf automake
main_build_script:
@ -18,6 +19,7 @@ main_freebsd_task:
mruby_freebsd_task:
name: mruby (FreeBSD)
only_if: $CIRRUS_BASE_BRANCH == 'master'
env:
# FIXME: temporary hack to fix FreeBSD build
CPATH: '/usr/local/include'
@ -39,6 +41,7 @@ mruby_freebsd_task:
ruby_freebsd_task:
name: Ruby (FreeBSD)
only_if: $CIRRUS_BASE_BRANCH == 'master'
env:
# FIXME: temporary hack to fix FreeBSD build
CPATH: '/usr/local/include'
@ -67,6 +70,7 @@ ruby_freebsd_task:
rust_freebsd_task:
name: Rust (FreeBSD)
only_if: $CIRRUS_BASE_BRANCH == 'master'
env:
# FIXME: temporary hack to fix FreeBSD build
RUSTFLAGS: '-L /usr/local/lib'