|
@@ -285,52 +285,73 @@ RUN_CI:
|
|
RUN mkdir /haxelib && haxelib setup /haxelib
|
|
RUN mkdir /haxelib && haxelib setup /haxelib
|
|
WORKDIR tests
|
|
WORKDIR tests
|
|
ARG --required TEST
|
|
ARG --required TEST
|
|
- ENV GITHUB_WORKSPACE=true # emulate github environment, TODO: properly define a "Earthly" environment
|
|
|
|
ENV TEST="$TEST"
|
|
ENV TEST="$TEST"
|
|
RUN haxe RunCi.hxml
|
|
RUN haxe RunCi.hxml
|
|
|
|
|
|
test-macro:
|
|
test-macro:
|
|
FROM +test-environment
|
|
FROM +test-environment
|
|
|
|
+ ARG GITHUB_ACTIONS
|
|
|
|
+ ENV GITHUB_ACTIONS=$GITHUB_ACTIONS
|
|
DO +RUN_CI --TEST=macro
|
|
DO +RUN_CI --TEST=macro
|
|
|
|
|
|
test-neko:
|
|
test-neko:
|
|
FROM +test-environment
|
|
FROM +test-environment
|
|
|
|
+ ARG GITHUB_ACTIONS
|
|
|
|
+ ENV GITHUB_ACTIONS=$GITHUB_ACTIONS
|
|
DO +RUN_CI --TEST=neko
|
|
DO +RUN_CI --TEST=neko
|
|
|
|
|
|
test-js:
|
|
test-js:
|
|
FROM +test-environment-js
|
|
FROM +test-environment-js
|
|
|
|
+ ARG GITHUB_ACTIONS
|
|
|
|
+ ENV GITHUB_ACTIONS=$GITHUB_ACTIONS
|
|
DO +RUN_CI --TEST=js
|
|
DO +RUN_CI --TEST=js
|
|
|
|
|
|
test-hl:
|
|
test-hl:
|
|
FROM +test-environment-hl
|
|
FROM +test-environment-hl
|
|
|
|
+ ARG GITHUB_ACTIONS
|
|
|
|
+ ENV GITHUB_ACTIONS=$GITHUB_ACTIONS
|
|
DO +RUN_CI --TEST=hl
|
|
DO +RUN_CI --TEST=hl
|
|
|
|
|
|
test-cpp:
|
|
test-cpp:
|
|
FROM +test-environment-cpp
|
|
FROM +test-environment-cpp
|
|
|
|
+ ARG GITHUB_ACTIONS
|
|
|
|
+ ENV GITHUB_ACTIONS=$GITHUB_ACTIONS
|
|
DO +RUN_CI --TEST=cpp
|
|
DO +RUN_CI --TEST=cpp
|
|
|
|
|
|
test-java:
|
|
test-java:
|
|
FROM +test-environment-java
|
|
FROM +test-environment-java
|
|
|
|
+ ARG GITHUB_ACTIONS
|
|
|
|
+ ENV GITHUB_ACTIONS=$GITHUB_ACTIONS
|
|
DO +RUN_CI --TEST=java
|
|
DO +RUN_CI --TEST=java
|
|
|
|
|
|
test-jvm:
|
|
test-jvm:
|
|
FROM +test-environment-java
|
|
FROM +test-environment-java
|
|
|
|
+ ARG GITHUB_ACTIONS
|
|
|
|
+ ENV GITHUB_ACTIONS=$GITHUB_ACTIONS
|
|
DO +RUN_CI --TEST=jvm
|
|
DO +RUN_CI --TEST=jvm
|
|
|
|
|
|
test-cs:
|
|
test-cs:
|
|
FROM +test-environment-cs
|
|
FROM +test-environment-cs
|
|
|
|
+ ARG GITHUB_ACTIONS
|
|
|
|
+ ENV GITHUB_ACTIONS=$GITHUB_ACTIONS
|
|
DO +RUN_CI --TEST=cs
|
|
DO +RUN_CI --TEST=cs
|
|
|
|
|
|
test-php:
|
|
test-php:
|
|
FROM +test-environment-php
|
|
FROM +test-environment-php
|
|
|
|
+ ARG GITHUB_ACTIONS
|
|
|
|
+ ENV GITHUB_ACTIONS=$GITHUB_ACTIONS
|
|
DO +RUN_CI --TEST=php
|
|
DO +RUN_CI --TEST=php
|
|
|
|
|
|
test-python:
|
|
test-python:
|
|
FROM +test-environment-python
|
|
FROM +test-environment-python
|
|
|
|
+ ARG GITHUB_ACTIONS
|
|
|
|
+ ENV GITHUB_ACTIONS=$GITHUB_ACTIONS
|
|
DO +RUN_CI --TEST=python
|
|
DO +RUN_CI --TEST=python
|
|
|
|
|
|
test-lua:
|
|
test-lua:
|
|
FROM +test-environment-lua
|
|
FROM +test-environment-lua
|
|
|
|
+ ARG GITHUB_ACTIONS
|
|
|
|
+ ENV GITHUB_ACTIONS=$GITHUB_ACTIONS
|
|
DO +RUN_CI --TEST=lua
|
|
DO +RUN_CI --TEST=lua
|
|
|
|
|
|
test-all:
|
|
test-all:
|