Commit 2c327ec6 authored by Carsten Heinz's avatar Carsten Heinz Committed by Jaco A. Hofmann
Browse files

Add different java versions to CI

parent 652bbd4d
......@@ -10,8 +10,11 @@ stages:
- build_kernel
- build_runtime
test_tapasco:
.test_tapasco:
stage: software_tests
variables:
JAVA_VERSION: "8.0.212-zulu"
SBT_VERSION: "1.2.8"
image: ubuntu:latest
tags:
- CAD
......@@ -20,19 +23,58 @@ test_tapasco:
- apt-get -y update && apt-get -y install unzip git zip findutils curl
- curl -s "https://get.sdkman.io" | bash
- source "/root/.sdkman/bin/sdkman-init.sh"
- sdk install java
- sdk install sbt
- sdk install java $JAVA_VERSION
- sdk install sbt $SBT_VERSION
- source setup.sh
- sbt test
build_sbt_tapasco_ubuntu_16_04:
test_tapasco_java_8:
variables:
JAVA_VERSION: "8.0.212-zulu"
extends: .test_tapasco
test_tapasco_java_9:
variables:
JAVA_VERSION: "9.0.4-open"
extends: .test_tapasco
test_tapasco_java_10:
variables:
JAVA_VERSION: "10.0.2-zulu"
extends: .test_tapasco
test_tapasco_java_11:
variables:
JAVA_VERSION: "11.0.2-open"
extends: .test_tapasco
test_tapasco_sbt_0_13_9:
variables:
SBT_VERSION: "0.13.9"
extends: .test_tapasco
test_tapasco_sbt_1_0_0:
variables:
SBT_VERSION: "1.0.0"
extends: .test_tapasco
test_tapasco_sbt_1_1_5:
variables:
SBT_VERSION: "1.1.5"
extends: .test_tapasco
test_tapasco_sbt_1_2_8:
variables:
SBT_VERSION: "1.2.8"
extends: .test_tapasco
.build_sbt_tapasco:
stage: build_sbt
image: ubuntu:xenial
tags:
- CAD
- High
script:
- apt-get -y update && apt-get -y install unzip git zip findutils curl
- curl -s "https://get.sdkman.io" | bash
- source "/root/.sdkman/bin/sdkman-init.sh"
- sdk install java
......@@ -41,53 +83,63 @@ build_sbt_tapasco_ubuntu_16_04:
- source setup.sh
- sbt assembly
build_sbt_tapasco_ubuntu_18_04:
stage: build_sbt
image: ubuntu:cosmic
tags:
- CAD
- High
script:
- apt-get -y update && apt-get -y install unzip git zip findutils curl
- curl -s "https://get.sdkman.io" | bash
- source "/root/.sdkman/bin/sdkman-init.sh"
- sdk install java
- sdk install sbt
- sbt version
- source setup.sh
- sbt assembly
.build_sbt_tapasco_fedora:
before_script:
- dnf -y install which unzip git zip findutils
extends: .build_sbt_tapasco
build_sbt_tapasco_fedora_24:
image: fedora:24
extends: .build_sbt_tapasco_fedora
build_sbt_tapasco_fedora_25:
image: fedora:25
extends: .build_sbt_tapasco_fedora
build_sbt_tapasco_fedora_26:
image: fedora:26
extends: .build_sbt_tapasco_fedora
build_sbt_tapasco_fedora_27:
stage: build_sbt
image: fedora:27
tags:
- CAD
- High
script:
- dnf -y install which unzip git zip findutils
- curl -s "https://get.sdkman.io" | bash
- source "/root/.sdkman/bin/sdkman-init.sh"
- sdk install java
- sdk install sbt
- sbt version
- source setup.sh
- sbt assembly
extends: .build_sbt_tapasco_fedora
build_sbt_tapasco_fedora_28:
stage: build_sbt
image: fedora:28
tags:
- CAD
- High
script:
- dnf -y install which unzip git zip findutils
- curl -s "https://get.sdkman.io" | bash
- source "/root/.sdkman/bin/sdkman-init.sh"
- sdk install java
- sdk install sbt
- sbt version
- source setup.sh
- sbt assembly
extends: .build_sbt_tapasco_fedora
build_sbt_tapasco_fedora_29:
image: fedora:29
extends: .build_sbt_tapasco_fedora
build_sbt_tapasco_fedora_30:
image: fedora:30
extends: .build_sbt_tapasco_fedora
build_sbt_tapasco_fedora_31:
image: fedora:31
extends: .build_sbt_tapasco_fedora
.build_sbt_tapasco_ubuntu:
before_script:
- apt-get -y update && apt-get -y install unzip git zip findutils curl
extends: .build_sbt_tapasco
build_sbt_tapasco_ubuntu_16_04:
image: ubuntu:xenial
extends: .build_sbt_tapasco_ubuntu
build_sbt_tapasco_ubuntu_18_04:
image: ubuntu:bionic
extends: .build_sbt_tapasco_ubuntu
build_sbt_tapasco_ubuntu_18_10:
image: ubuntu:cosmic
extends: .build_sbt_tapasco_ubuntu
build_sbt_tapasco_ubuntu_19_04:
image: ubuntu:disco
extends: .build_sbt_tapasco_ubuntu
build_kernel_ubuntu_16_04:
stage: build_kernel
......
......@@ -22,7 +22,7 @@ Prerequisites
To use TaPaSCo, you'll need working installations of
* Vivado Design Suite 2017.4 or newer
* Java SDK 8+
* Java SDK 8 - 11
* sbt 0.13.x or newer
* git
* GCC newer than 5.x.x for C++11 support
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment