diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5bfe04b7b6..a6d335eccd 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -214,7 +214,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - java: [ 11, 17, 21 ] + java: [ 11, 17, 21, 23 ] steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v4 @@ -256,36 +256,6 @@ jobs: --batch-mode \ --no-transfer-progress - showcase-native: - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v4 - - uses: graalvm/setup-graalvm@v1 - with: - version: '22.3.2' - java-version: '17' - components: 'native-image' - github-token: ${{ secrets.GITHUB_TOKEN }} - - run: mvn -version - - run: native-image --version - - name: Install sdk-platform-java - run: mvn install -B -ntp -DskipTests -Dclirr.skip -Dcheckstyle.skip - - name: Parse showcase version - working-directory: showcase/gapic-showcase - run: echo "SHOWCASE_VERSION=$(mvn help:evaluate -Dexpression=gapic-showcase.version -q -DforceStdout)" >> "$GITHUB_ENV" - - name: Install showcase server - run: | - sudo mkdir -p /usr/src/showcase - sudo chown -R ${USER} /usr/src/ - curl --location https://github.com/googleapis/gapic-showcase/releases/download/v${{env.SHOWCASE_VERSION}}/gapic-showcase-${{env.SHOWCASE_VERSION}}-linux-amd64.tar.gz --output /usr/src/showcase/showcase-${{env.SHOWCASE_VERSION}}-linux-amd64.tar.gz - cd /usr/src/showcase/ - tar -xf showcase-* - ./gapic-showcase run & - cd - - - name: Build native image - working-directory: showcase - run: mvn test -Pnative,-showcase -ntp -B - showcase-clirr: if: ${{ github.base_ref != '' }} # Only execute on pull_request trigger event runs-on: ubuntu-22.04