Skip to content

Commit

Permalink
Merge pull request #3735 from jamezp/ci-updates-6.2
Browse files Browse the repository at this point in the history
Enable testing with Java 21 Early Access builds. General clean up of …
  • Loading branch information
jamezp committed Aug 3, 2023
2 parents b938d19 + be2331d commit 2d5d54b
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 171 deletions.
47 changes: 0 additions & 47 deletions .github/workflows/manual-build.yml

This file was deleted.

93 changes: 0 additions & 93 deletions .github/workflows/manual-wildfly-build.yml

This file was deleted.

54 changes: 23 additions & 31 deletions .github/workflows/wildfly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,23 @@ name: WildFly Test Build
on:
push:
branches:
- 'main'
- '6.2'
paths-ignore:
- '.gitignore'
- ".github/workflows/manual-*.yml"
- ".mvn"
- "docbook"
- "distribution"
- "CODEOWNERS"
- "CODE_OF_CONDUCT.md"
- "CONTRIBUTING.adoc"
- "dco.txt"
- "LICENSE"
- "mvnw"
- "mvnw.cmd"
- "README.md"
- "SECURITY.md"
- "*/README.MD"
schedule:
- cron: '0 0 * * *' # Every day at 00:00 UTC

Expand All @@ -18,32 +32,10 @@ concurrency:

jobs:
wildfly-build:
runs-on: ubuntu-latest
outputs:
wildfly-version: ${{steps.version.outputs.wildfly-version}}
steps:
- name: Checkout WildFly
uses: actions/checkout@v3
with:
repository: wildfly/wildfly
fetch-depth: 0
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
cache: 'maven'
- name: Build WildFly
run: 'mvn clean install -DskipTests -Dcheckstyle.skip=true -Denforcer.skip=true'
- id: version
run: echo "::set-output name=wildfly-version::$(mvn -B help:evaluate -Dexpression=project.version -pl . | grep -v '^\[')"
- name: Archive the repository
run: tar -czf maven-repository.tgz -C ~ .m2/repository
- uses: actions/upload-artifact@v3
with:
name: maven-repository
path: maven-repository.tgz
retention-days: 5
uses: wildfly/wildfly/.github/workflows/shared-wildfly-build.yml@main
with:
wildfly-branch: "main"
wildfly-repo: "wildfly/wildfly"

resteasy-build:
runs-on: ${{ matrix.os }}
Expand All @@ -52,17 +44,17 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
java: ['11', '17']
java: ['11', '17', '21-ea']

steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: maven-repository
name: wildfly-maven-repository
path: .
- name: Extract Maven Repo
shell: bash
run: tar -xzf maven-repository.tgz -C ~
run: tar -xzf wildfly-maven-repository.tar.gz -C ~
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
Expand Down Expand Up @@ -91,7 +83,7 @@ jobs:
strategy:
fail-fast: false
matrix:
java: ['11']
java: ['11', '21-ea']
profile:
- '-Dsecurity.manager'
- '-Dprovision.preview'
Expand Down

0 comments on commit 2d5d54b

Please sign in to comment.