Skip to content

Commit 150de56

Browse files
committed
Detect CI running on GitHub
1 parent db3da1c commit 150de56

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tools/make/common.mk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ endif
7575
TRAVIS ?=
7676
APPVEYOR ?=
7777
CIRCLECI ?=
78+
GITHUB ?=
7879
ifeq ($(TRAVIS), true)
7980
CI_SERVICE ?= travis
8081
else
@@ -83,11 +84,15 @@ ifeq ($(APPVEYOR), true)
8384
else
8485
ifeq ($(CIRCLECI), true)
8586
CI_SERVICE ?= circle
87+
else
88+
ifeq ($(GITHUB), true)
89+
CI_SERVICE ?= github
8690
else
8791
CI_SERVICE ?= none
8892
endif
8993
endif
9094
endif
95+
endif
9196

9297

9398
# OPTIONS #

0 commit comments

Comments
 (0)