Synchronize cdt.target to cdt-lsp.target in preparation for 2025-12 r… #965
Workflow file for this run
This file contains hidden or 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
| name: Java CI | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| - name: Setup Maven | |
| uses: stCarolas/setup-maven@v5 | |
| with: | |
| maven-version: 3.9.6 | |
| - name: Download clangd | |
| run: | | |
| curl -L https://github.com/clangd/clangd/releases/download/15.0.6/clangd-linux-15.0.6.zip > clangd.zip | |
| unzip clangd.zip | |
| - name: Build with Maven | |
| run: | | |
| export DISPLAY=:99 | |
| export PATH=$PWD/clangd_15.0.6/bin:$PATH | |
| echo $PATH | |
| sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & | |
| mvn -B -V -X -e clean verify -P baseline-compare-and-replace -P api-baseline-check |