diff options
-rw-r--r-- | .gitlab-ci.yml | 32 |
1 files changed, 27 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a352648..dd2312f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ # Copied in from Moubootaur Legends's Hercules .gitlab-ci.yml stages: - build - - test +# - test variables: &base_vars DEBIAN_COMMON_PACKAGES: make python3 git gcc g++ @@ -12,12 +12,14 @@ variables: &base_vars - uname -a - apt-get update - apt-get install -y -qq $INSTALL_PACKAGES $DEBIAN_COMMON_PACKAGES + - apt-cache search python + - apt-cache search python3 # Compilers variables: <<: *base_vars -re:debian-stable:build: +.re:debian-stable:build: <<: *prerequisites stage: build image: debian:stable @@ -35,7 +37,27 @@ re:debian-stable:build: untracked: true expire_in: 30 mins -re:ubuntu1804:build: +re:ubuntu1804REPL:build: + <<: *prerequisites + stage: build + image: ubuntu:18.04 + variables: + <<: *base_vars + script: + - echo "Building TMW Athena $CI_BUILD_NAME" + - git submodule update --init + - git fetch -t + - printf "Building TMW Athena version %s\n" "$(git describe --tags HEAD)" + - ./configure --user +# - make +# - make install +# artifacts: # required for test stage +# untracked: true +# expire_in: 30 mins + + + +.re:ubuntu1804:build: <<: *prerequisites stage: build image: ubuntu:18.04 @@ -54,7 +76,7 @@ re:ubuntu1804:build: expire_in: 30 mins -re:debian-stable:test: +.re:debian-stable:test: <<: *prerequisites stage: test image: debian:stable @@ -66,7 +88,7 @@ re:debian-stable:test: - make test -re:ubuntu1804:test: +.re:ubuntu1804:test: <<: *prerequisites stage: test image: ubuntu:18.04 |