Skip to content

chore(deps): update sphinxdoc/sphinx docker tag to v7.3.7 #3098

chore(deps): update sphinxdoc/sphinx docker tag to v7.3.7

chore(deps): update sphinxdoc/sphinx docker tag to v7.3.7 #3098

Workflow file for this run

name: build
on: [push, pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-14]
java: [11, 17, 21]
max-parallel: 6
runs-on: ${{ matrix.os }}
continue-on-error: true
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: gradle
- uses: gradle/wrapper-validation-action@v3
- name: Download Eclipse on Ubuntu
if: matrix.os == 'ubuntu-latest'
run: |
curl -L 'https://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops4/R-4.24-202206070700/eclipse-SDK-4.24-linux-gtk-x86_64.tar.gz&mirror_id=1' --output eclipse-SDK-4.24-linux-gtk-x86_64.tar.gz
tar xzf eclipse-SDK-4.24-linux-gtk-x86_64.tar.gz eclipse
echo "eclipseRoot.dir=$(pwd)/eclipse" | tee eclipsePlugin/local.properties
- name: Download Eclipse on Windows
if: matrix.os == 'windows-latest'
run: |
curl 'https://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops4/R-4.24-202206070700/eclipse-SDK-4.24-win32-x86_64.zip&mirror_id=1' -o eclipse-SDK-4.24-win32-x86_64.zip
Expand-Archive "eclipse-SDK-4.24-win32-x86_64.zip" -DestinationPath "." -Force
$escapedPwd = $pwd.Path -replace '\\', '\\'
[System.IO.File]::WriteAllLines("$pwd\\eclipsePlugin\\local.properties", "eclipseRoot.dir=$escapedPwd\\eclipse")
shell: powershell
- name: Download Eclipse on Mac
if: matrix.os == 'macos-latest'
run: |
curl -L 'https://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops4/R-4.24-202206070700/eclipse-SDK-4.24-macosx-cocoa-x86_64.dmg&mirror_id=1' --output eclipse-SDK-4.24-macosx-cocoa-x86_64.dmg
hdiutil attach eclipse-SDK-4.24-macosx-cocoa-x86_64.dmg
cp -r /Volumes/Eclipse/Eclipse.app /Applications/
hdiutil detach /Volumes/Eclipse
echo "eclipseRoot.dir=/Applications/Eclipse.app" | tee eclipsePlugin/local.properties
- name: Pre-build setup
if: matrix.os != 'windows-latest'
run: |
echo "keystorepass=${KEYSTORE_PASS}" >> gradle.properties
git fetch --no-tags https://$GITHUB_TOKEN@github.com/spotbugs/spotbugs.git +refs/heads/master:refs/remotes/origin/master
if [ "$GPG_SECRET_PASSPHRASE" != "" ]; then
gpg --quiet --batch --yes --decrypt --passphrase="$GPG_SECRET_PASSPHRASE" --output spotbugs.jks .github/workflows/spotbugs.jks.gpg;
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GPG_SECRET_PASSPHRASE: ${{ secrets.GPG_SECRET_PASSPHRASE }}
KEYSTORE_PASS: ${{ secrets.KEYSTORE_PASS }}
- name: Pre-build setup Windows
if: matrix.os == 'windows-latest'
run: |
echo "keystorepass=${KEYSTORE_PASS}" >> gradle.properties
git fetch --no-tags https://$GITHUB_TOKEN@github.com/spotbugs/spotbugs.git +refs/heads/master:refs/remotes/origin/master
if ( "$GPG_SECRET_PASSPHRASE" -ne "" ) {
gpg --quiet --batch --yes --decrypt --passphrase="$GPG_SECRET_PASSPHRASE" --output spotbugs.jks .github/workflows/spotbugs.jks.gpg;
}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GPG_SECRET_PASSPHRASE: ${{ secrets.GPG_SECRET_PASSPHRASE }}
KEYSTORE_PASS: ${{ secrets.KEYSTORE_PASS }}
- name: Build with Sonar JDK ${{ matrix.java }}, ${{ matrix.os }}
# https://community.sonarsource.com/t/sonarcloud-now-not-updating-github-pr-and-checks/6595/17
if: matrix.java == '21'
run: |
./gradlew spotlessCheck build smoketest ${SONAR_LOGIN:+sonar} --no-daemon "-Dsonar.token=$SONAR_LOGIN" --scan
env:
SONAR_LOGIN: ${{ secrets.SONAR_LOGIN }}
- name: Build JDK ${{ matrix.java }}, ${{ matrix.os }}
# https://community.sonarsource.com/t/sonarcloud-now-not-updating-github-pr-and-checks/6595/17
if: matrix.java != '21'
run: |
./gradlew spotlessCheck build smoketest --no-daemon --scan
env:
SONAR_LOGIN: ${{ secrets.SONAR_LOGIN }}