Group commands on GitHub Actions

This commit is contained in:
Nobuyoshi Nakada 2021-08-07 18:32:24 +09:00
parent ac7986f46a
commit 6e60fc2945
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
5 changed files with 43 additions and 1 deletions

View file

@ -6,6 +6,11 @@ override mflags := $(filter-out -j%,$(MFLAGS))
MSPECOPT += $(if $(filter -j%,$(MFLAGS)),-j)
nproc = $(subst -j,,$(filter -j%,$(MFLAGS)))
ifeq ($(GITHUB_ACTIONS),true)
override ACTIONS_GROUP = @echo "\#\#[group]$(@:yes-=)"
override ACTIONS_ENDGROUP = @echo "\#\#[endgroup]"
endif
ifneq ($(filter %darwin%,$(arch)),)
INSTRUBY_ENV += SDKROOT=/
endif