-
Notifications
You must be signed in to change notification settings - Fork 445
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable docker for github actions, remove a bunch of travis jobs (#1298)
* Enable docker for github actions, remove a bunch of travis jobs * Fix indentation * Remove all travis checks
- Loading branch information
Showing
4 changed files
with
21 additions
and
104 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -180,27 +180,26 @@ jobs: | |
- name: Validate | ||
run: sbt "^validateJdkPackagerTravis" | ||
|
||
# FIXME github actions uses docker 3.0.8, which is too old for native-packager | ||
# scripted-docker: | ||
# runs-on: ubuntu-latest | ||
# strategy: | ||
# fail-fast: false | ||
# needs: [ validate ] | ||
# steps: | ||
# - uses: actions/checkout@v1 | ||
# - name: Loading ivy cache | ||
# uses: actions/cache@v1 | ||
# with: | ||
# path: ~/.ivy2/cache | ||
# key: ${{ runner.os }}-ivy-${{ hashFiles('**/*.sbt') }} | ||
# restore-keys: | | ||
# ${{ runner.os }}-ivy- | ||
# - name: Set up Azul JDK 1.8 and SBT | ||
# uses: olafurpg/setup-scala@v7 | ||
# with: | ||
# java-version: [email protected] | ||
# - name: Validate | ||
# run: sbt "^validateDockerUnit" "^validateDocker" | ||
scripted-docker: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
needs: [ validate ] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Loading ivy cache | ||
uses: actions/cache@v1 | ||
with: | ||
path: ~/.ivy2/cache | ||
key: ${{ runner.os }}-ivy-${{ hashFiles('**/*.sbt') }} | ||
restore-keys: | | ||
${{ runner.os }}-ivy- | ||
- name: Set up Azul JDK 1.8 and SBT | ||
uses: olafurpg/setup-scala@v7 | ||
with: | ||
java-version: [email protected] | ||
- name: Validate | ||
run: sbt "^validateDocker" | ||
|
||
scripted-jlink: | ||
runs-on: ubuntu-latest | ||
|
@@ -291,4 +290,4 @@ jobs: | |
with: | ||
java-version: [email protected] | ||
- name: Validate | ||
run: sbt validateWindows | ||
run: sbt validateWindows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,71 +52,6 @@ jobs: | |
script: sbt "^validate" | ||
if: type = pull_request OR (type = push AND branch = master) | ||
|
||
- stage: scripted | ||
script: sbt "^validateUniversal" | ||
if: type = pull_request OR (type = push AND branch = master) | ||
name: "scripted universal tests" | ||
- script: | | ||
$JABBA_HOME/bin/jabba install [email protected] | ||
export JAVA_HOME="$JABBA_HOME/jdk/[email protected]" && export PATH="$JAVA_HOME/bin:$PATH" && java -version | ||
gu install native-image | ||
sbt "^validateGraalVMNativeImage" | ||
if: type = pull_request OR (type = push AND branch = master) | ||
services: docker | ||
name: "scripted GraalVM native-image tests" | ||
- script: sbt "^validateJar" | ||
name: "scripted jar tests" | ||
if: type = pull_request OR (type = push AND branch = master) | ||
- script: sbt "^validateBash" | ||
name: "scripted bash tests" | ||
if: type = pull_request OR (type = push AND branch = master) | ||
- script: sbt "^validateAsh" | ||
name: "scripted ash tests" | ||
if: type = pull_request OR (type = push AND branch = master) | ||
- script: sbt "^validateRpm" | ||
name: "scripted rpm tests" | ||
if: type = pull_request OR (type = push AND branch = master) | ||
- script: sbt "^validateDebian" | ||
name: "scripted debian tests" | ||
if: type = pull_request OR (type = push AND branch = master) | ||
- script: sbt "^validateDockerUnit" | ||
name: "scripted docker unit-tests" | ||
if: type = pull_request OR (type = push AND branch = master) | ||
# below will install ZuluFX OpenJFX | ||
- script: | | ||
wget https://cdn.azul.com/zulu/bin/zulu8.38.0.13-ca-fx-jdk8.0.212-linux_x64.tar.gz | ||
tar -xvf zulu8.38.0.13-ca-fx-jdk8.0.212-linux_x64.tar.gz -C $JAVA_HOME --strip 1 | ||
rm zulu8.38.0.13-ca-fx-jdk8.0.212-linux_x64.tar.gz | ||
sbt "^validateJdkPackagerTravis" | ||
name: "scripted jdk-packager tests" | ||
if: type = pull_request OR (type = push AND branch = master) | ||
# docker configuration as described in | ||
# https://docs.travis-ci.com/user/docker/ | ||
- script: | | ||
export [email protected] | ||
$JABBA_HOME/bin/jabba install $TRAVIS_JDK | ||
export JAVA_HOME="$JABBA_HOME/jdk/$TRAVIS_JDK" && export PATH="$JAVA_HOME/bin:$PATH" && java -version | ||
sbt "^validateJlink" | ||
name: "scripted jlink tests" | ||
if: type = pull_request OR (type = push AND branch = master) | ||
- script: | | ||
export [email protected] | ||
$JABBA_HOME/bin/jabba install $TRAVIS_JDK | ||
export JAVA_HOME="$JABBA_HOME/jdk/$TRAVIS_JDK" && export PATH="$JAVA_HOME/bin:$PATH" && java -version | ||
sbt "^validateJlink" | ||
name: "scripted jlink tests" | ||
if: type = pull_request OR (type = push AND branch = master) | ||
- script: sbt "^validateDocker" | ||
name: "scripted docker integration-tests" | ||
if: type = pull_request OR (type = push AND branch = master) | ||
services: docker | ||
sudo: required | ||
- script: sbt "^validateOSX" | ||
name: "scripted osx tests" | ||
if: type = pull_request OR (type = push AND branch = master) | ||
os: osx | ||
osx_image: xcode8 | ||
|
||
- stage: release | ||
python: 3.6 | ||
script: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters