This commit is contained in:
erabii
2022-05-25 21:08:05 +03:00
committed by GitHub
parent 19a4e98d6f
commit 84cb46a576

View File

@@ -29,20 +29,11 @@ jobs:
test:
parallelism: 5 # parallel containers to split the tests among
machine:
image: ubuntu-2004:202201-02
image: ubuntu-2204:2022.04.1
environment:
_JAVA_OPTIONS: "-Xms1024m -Xmx2048m"
_SERVICE_OCCURENCE: 5
steps:
- run:
name: Install OpenJDK 17
command: |
wget -qO - https://adoptium.jfrog.io/adoptium/api/gpg/key/public | sudo apt-key add -
sudo add-apt-repository --yes https://adoptium.jfrog.io/adoptium/deb/
sudo apt-get update && sudo apt-get install temurin-17-jdk
sudo update-alternatives --set java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java
sudo update-alternatives --set javac /usr/lib/jvm/temurin-17-jdk-amd64/bin/javac
java -version
- checkout
- run:
name: Run regular tests
@@ -89,20 +80,11 @@ jobs:
destination: testartifacts
build:
machine:
image: ubuntu-2004:202201-02
image: ubuntu-2204:2022.04.1
environment:
_JAVA_OPTIONS: "-Xms2g -Xmx2g"
_SERVICE_OCCURENCE: 5
steps:
- run:
name: Install OpenJDK 17
command: |
wget -qO - https://adoptium.jfrog.io/adoptium/api/gpg/key/public | sudo apt-key add -
sudo add-apt-repository --yes https://adoptium.jfrog.io/adoptium/deb/
sudo apt-get update && sudo apt-get install temurin-17-jdk
sudo update-alternatives --set java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java
sudo update-alternatives --set javac /usr/lib/jvm/temurin-17-jdk-amd64/bin/javac
java -version
- checkout
- restore_cache:
keys: