Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI actions and generate Javadoc on JDK 21 #1439

Merged
merged 8 commits into from
Sep 12, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,29 +32,29 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Check out WALA sources
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Cache Goomph
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.goomph
key: ${{ runner.os }}-goomph-${{ hashFiles('build.gradle') }}
restore-keys: ${{ runner.os }}-goomph-
- name: 'Set up JDK ${{ matrix.java }}'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/wrapper-validation-action@v3
- name: Build and test using Gradle with ECJ
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
gradle-executable: xvfb-gradle.sh
arguments: aggregatedJavadocs build publishAllPublicationsToFakeRemoteRepository shellcheck --no-configuration-cache -Pcom.ibm.wala.jdk-version=${{ matrix.java }}
# testing ECJ compilation on any one OS is sufficient; we choose Linux arbitrarily
if: runner.os == 'Linux'
- name: Build and test using Gradle but without ECJ
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
arguments: aggregatedJavadocs javadoc build -PskipJavaUsingEcjTasks --no-configuration-cache -Pcom.ibm.wala.jdk-version=${{ matrix.java }}
if: runner.os != 'Linux'
Expand Down Expand Up @@ -84,17 +84,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Check out repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Cache Goomph
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.goomph
key: ${{ runner.os }}-goomph-${{ hashFiles('build.gradle') }}
restore-keys: ${{ runner.os }}-goomph-
- name: 'Set up JDK 11'
uses: actions/setup-java@v3
- name: 'Set up JDK 21'
uses: actions/setup-java@v4
with:
java-version: 11
java-version: 21
distribution: 'temurin'
- name: 'Generate latest docs'
env:
Expand Down
Loading