Skip to content

Commit

Permalink
Github actions (HaxeFoundation#9259)
Browse files Browse the repository at this point in the history
* Github actions

* Clean up

* Split neko installation to platform files

* Fix hl

best test is disabled test

* Windows hl fix

* Disable lua for windows
  • Loading branch information
RblSb authored Jun 2, 2020
1 parent 40a99fd commit 14213ad
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/runci/Config.hx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ enum Ci {
TravisCI;
AppVeyor;
AzurePipelines;
GithubActions;
}

class Config {
Expand All @@ -29,6 +30,8 @@ class Config {
AppVeyor;
else if (Sys.getEnv("TF_BUILD") == "True")
AzurePipelines;
else if (Sys.getEnv("GITHUB_WORKSPACE") != null)
GithubActions;
else
null;

Expand All @@ -38,9 +41,10 @@ class Config {

static public final colorSupported = switch [ci, systemName] {
case [AzurePipelines, _]: true; // not sure
case [GithubActions, _]: true;
case [TravisCI | AppVeyor, _]: true;
case [_, "Linux" | "Mac"]: true;
case [_, "Windows"]: false;
case _: false;
}
}
}

0 comments on commit 14213ad

Please sign in to comment.