-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved the project to Gradle. Still missing:
- SuppressFBWarnings is not commented. - Versions might still be mixed up here and there (i.e. "version" and "mavenVersion") OSGI differences: - OSGI plugin adds "Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"" - "Export-Package" has a lot less "uses" per package.
- Loading branch information
Showing
1,299 changed files
with
1,300 additions
and
1,295 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -29,46 +29,35 @@ on: | |
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
os: [windows-latest, ubuntu-latest] | ||
runs-on: ${{ matrix.os }} | ||
concurrency: main_tests_${{ github.ref }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Welcome Message | ||
run: 'echo "Started with parameters: ${{ matrix.os }} because ${{ github.event_name }} on ${{ github.ref }}"' | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK 8 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 8 | ||
distribution: temurin | ||
|
||
- name: Set up JDK 16 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 16 | ||
distribution: zulu | ||
- name: Validate Gradle wrapper | ||
uses: gradle/[email protected] | ||
- name: Run Build | ||
id: build_step | ||
run: './gradlew --continue clean build -PsignPublication=false' | ||
- name: Upload Failed Report | ||
uses: actions/[email protected] | ||
if: failure() && steps.build_step.outcome == 'failure' | ||
with: | ||
name: test-reports-${{ matrix.os }} | ||
path: build/reports/** | ||
retention-days: 30 | ||
|
||
- name: Prepare build.properties | ||
shell: bash | ||
run: >- | ||
echo "boot.classpath.j2se1.8=${JAVA_HOME_8_X64}/jre/lib/rt.jar" >> build.properties; | ||
echo "mvnCommand=$(which mvn)" >> build.properties; | ||
echo "gpgCommand=$(which gpg)" >> build.properties; | ||
- name: Create a gpg key for signing | ||
shell: bash | ||
run: >- | ||
gpg --quick-gen-key --batch --passphrase '' [email protected]; | ||
echo "batch" >> "/home/runner/.gnupg/gpg.conf"; | ||
echo "pinentry-mode=loopback" >> "/home/runner/.gnupg/gpg.conf"; | ||
- name: Prepare ant with ivy | ||
shell: bash | ||
run: ant download-ivy | ||
|
||
- name: Build with Ant and ivy | ||
shell: bash | ||
run: ant ci -Dci=true | ||
|
||
- name: RAT check | ||
shell: bash | ||
run: ant rat |
Oops, something went wrong.