Skip to content

Commit

Permalink
remove useless jobs
Browse files Browse the repository at this point in the history
Signed-off-by: tvallin <thibault.vallin@oracle.com>
  • Loading branch information
tvallin committed Jul 10, 2023
1 parent 3b24764 commit 4fc4627
Showing 1 changed file with 137 additions and 137 deletions.
274 changes: 137 additions & 137 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,60 +13,60 @@ concurrency:
cancel-in-progress: true

jobs:
copyright:
timeout-minutes: 10
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK ${{ env.JAVA_VERSION }}
uses: actions/setup-java@v3.11.0
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_VERSION }}
cache: maven
- name: Copyright
run: etc/scripts/copyright.sh
checkstyle:
timeout-minutes: 10
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ env.JAVA_VERSION }}
uses: actions/setup-java@v3.11.0
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_VERSION }}
cache: maven
- name: Checkstyle
run: etc/scripts/checkstyle.sh
spotbugs:
timeout-minutes: 45
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ env.JAVA_VERSION }}
uses: actions/setup-java@v3.11.0
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_VERSION }}
cache: maven
- name: Spotbugs
run: etc/scripts/spotbugs.sh
docs:
timeout-minutes: 10
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ env.JAVA_VERSION }}
uses: actions/setup-java@v3.11.0
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_VERSION }}
cache: maven
- name: Docs
run: etc/scripts/site.sh
# copyright:
# timeout-minutes: 10
# runs-on: ubuntu-20.04
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 0
# - name: Set up JDK ${{ env.JAVA_VERSION }}
# uses: actions/setup-java@v3.11.0
# with:
# distribution: ${{ env.JAVA_DISTRO }}
# java-version: ${{ env.JAVA_VERSION }}
# cache: maven
# - name: Copyright
# run: etc/scripts/copyright.sh
# checkstyle:
# timeout-minutes: 10
# runs-on: ubuntu-20.04
# steps:
# - uses: actions/checkout@v3
# - name: Set up JDK ${{ env.JAVA_VERSION }}
# uses: actions/setup-java@v3.11.0
# with:
# distribution: ${{ env.JAVA_DISTRO }}
# java-version: ${{ env.JAVA_VERSION }}
# cache: maven
# - name: Checkstyle
# run: etc/scripts/checkstyle.sh
# spotbugs:
# timeout-minutes: 45
# runs-on: ubuntu-20.04
# steps:
# - uses: actions/checkout@v3
# - name: Set up JDK ${{ env.JAVA_VERSION }}
# uses: actions/setup-java@v3.11.0
# with:
# distribution: ${{ env.JAVA_DISTRO }}
# java-version: ${{ env.JAVA_VERSION }}
# cache: maven
# - name: Spotbugs
# run: etc/scripts/spotbugs.sh
# docs:
# timeout-minutes: 10
# runs-on: ubuntu-20.04
# steps:
# - uses: actions/checkout@v3
# - name: Set up JDK ${{ env.JAVA_VERSION }}
# uses: actions/setup-java@v3.11.0
# with:
# distribution: ${{ env.JAVA_DISTRO }}
# java-version: ${{ env.JAVA_VERSION }}
# cache: maven
# - name: Docs
# run: etc/scripts/site.sh
build:
timeout-minutes: 100
strategy:
Expand Down Expand Up @@ -97,86 +97,86 @@ jobs:
**/target/**/*.java
**/target/**/*.java.pico
**/target/pico/*.txt
examples:
timeout-minutes: 30
strategy:
matrix:
os: [ ubuntu-20.04, windows-2022 ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ env.JAVA_VERSION }}
uses: actions/setup-java@v3.11.0
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_VERSION }}
cache: maven
- name: Maven build
run: |
mvn -B -e "-Dmaven.test.skip=true" $MAVEN_HTTP_ARGS -DskipTests -Ppipeline install
cd examples
mvn -B verify
#Failing on windows intermittently because of slow machine, is it necessary to run it on windows ?
mp-tck:
timeout-minutes: 60
name: "MicroProfile TCKs"
strategy:
matrix:
os: [ ubuntu-20.04, windows-2022 ]
include:
- os: ubuntu-20.04
mp-tck: etc/scripts/mp-tck.sh
- os: windows-2022
mp-tck: etc/scripts/mp-tck.bat
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ env.JAVA_VERSION }}
uses: actions/setup-java@v3.11.0
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_VERSION }}
cache: maven
- name: Maven build
run: ${{ matrix.mp-tck }}
archetypes:
timeout-minutes: 45
strategy:
matrix:
os: [ ubuntu-20.04, windows-2022 ]
include:
- os: ubuntu-20.04
test-archetypes: etc/scripts/test-archetypes.sh
- os: windows-2022
test-archetypes: etc/scripts/test-archetypes.bat
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ env.JAVA_VERSION }}
uses: actions/setup-java@v3.11.0
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_VERSION }}
cache: maven
- name: Test Archetypes
run: ${{ matrix.test-archetypes }}
packaging:
timeout-minutes: 30
strategy:
matrix:
os: [ ubuntu-20.04 ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ env.JAVA_VERSION }}
uses: actions/setup-java@v3.11.0
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_VERSION }}
cache: maven
- name: Build Helidon
run: etc/scripts/github-compile.sh
- name: JAR packaging
run: etc/scripts/test-packaging-jar.sh
- name: JLink packaging
run: etc/scripts/test-packaging-jlink.sh
# examples:
# timeout-minutes: 30
# strategy:
# matrix:
# os: [ ubuntu-20.04, windows-2022 ]
# runs-on: ${{ matrix.os }}
# steps:
# - uses: actions/checkout@v3
# - name: Set up JDK ${{ env.JAVA_VERSION }}
# uses: actions/setup-java@v3.11.0
# with:
# distribution: ${{ env.JAVA_DISTRO }}
# java-version: ${{ env.JAVA_VERSION }}
# cache: maven
# - name: Maven build
# run: |
# mvn -B -e "-Dmaven.test.skip=true" $MAVEN_HTTP_ARGS -DskipTests -Ppipeline install
# cd examples
# mvn -B verify
# #Failing on windows intermittently because of slow machine, is it necessary to run it on windows ?
# mp-tck:
# timeout-minutes: 60
# name: "MicroProfile TCKs"
# strategy:
# matrix:
# os: [ ubuntu-20.04, windows-2022 ]
# include:
# - os: ubuntu-20.04
# mp-tck: etc/scripts/mp-tck.sh
# - os: windows-2022
# mp-tck: etc/scripts/mp-tck.bat
# runs-on: ${{ matrix.os }}
# steps:
# - uses: actions/checkout@v3
# - name: Set up JDK ${{ env.JAVA_VERSION }}
# uses: actions/setup-java@v3.11.0
# with:
# distribution: ${{ env.JAVA_DISTRO }}
# java-version: ${{ env.JAVA_VERSION }}
# cache: maven
# - name: Maven build
# run: ${{ matrix.mp-tck }}
# archetypes:
# timeout-minutes: 45
# strategy:
# matrix:
# os: [ ubuntu-20.04, windows-2022 ]
# include:
# - os: ubuntu-20.04
# test-archetypes: etc/scripts/test-archetypes.sh
# - os: windows-2022
# test-archetypes: etc/scripts/test-archetypes.bat
# runs-on: ${{ matrix.os }}
# steps:
# - uses: actions/checkout@v3
# - name: Set up JDK ${{ env.JAVA_VERSION }}
# uses: actions/setup-java@v3.11.0
# with:
# distribution: ${{ env.JAVA_DISTRO }}
# java-version: ${{ env.JAVA_VERSION }}
# cache: maven
# - name: Test Archetypes
# run: ${{ matrix.test-archetypes }}
# packaging:
# timeout-minutes: 30
# strategy:
# matrix:
# os: [ ubuntu-20.04 ]
# runs-on: ${{ matrix.os }}
# steps:
# - uses: actions/checkout@v3
# - name: Set up JDK ${{ env.JAVA_VERSION }}
# uses: actions/setup-java@v3.11.0
# with:
# distribution: ${{ env.JAVA_DISTRO }}
# java-version: ${{ env.JAVA_VERSION }}
# cache: maven
# - name: Build Helidon
# run: etc/scripts/github-compile.sh
# - name: JAR packaging
# run: etc/scripts/test-packaging-jar.sh
# - name: JLink packaging
# run: etc/scripts/test-packaging-jlink.sh

0 comments on commit 4fc4627

Please sign in to comment.