From 56c2d1d62b7e07c847910b2ebedf50370ff5dca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=8A?= =?UTF-8?q?=D1=80=20=D0=9A=D1=83=D1=80=D1=82=D0=B0=D0=BA=D0=BE=D0=B2?= Date: Wed, 25 Sep 2024 18:55:24 +0300 Subject: [PATCH] Remove setub-xvfb gha It will stop working on Oct 15 and is claimed to not be needed anymore in. --- .github/workflows/build.yml | 24 +++++++----------------- .github/workflows/codeql.yml | 18 ++++-------------- 2 files changed, 11 insertions(+), 31 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 62f4a696e46..13d58f1b550 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,31 +42,21 @@ jobs: JavaSE-17 distribution: 'temurin' cache: maven - - name: Set up Maven - uses: stCarolas/setup-maven@v5 - with: - maven-version: 3.9.6 - name: Install GTK requirements if: ${{ matrix.config.ws == 'gtk'}} run: | sudo apt-get update -q -y sudo apt-get install -q -y libgtk-3-dev - - name: Build with Maven - uses: coactions/setup-xvfb@v1 + - name: Set up Maven + uses: stCarolas/setup-maven@v5 env: EQUINOX_BINARIES_LOC: ${{ github.workspace }}/equinox.binaries with: - working-directory: equinox - run: >- - mvn - --batch-mode - -Pbree-libs - -Papi-check - -Dcompare-version-with-baselines.skip=false - -Dmaven.test.failure.ignore=true - -Dnative=${{ matrix.config.ws }}.${{ matrix.config.os }}.x86_64 - -Dequinox.binaries.loc=${{ github.workspace }}/equinox.binaries - clean verify + maven-version: 3.9.9 + - name: Maven build + with: + working-directory: equinox + run: mvn -B -Pbree-libs -Papi-check -Dcompare-version-with-baselines.skip=false -Dmaven.test.failure.ignore=true -Dnative=${{ matrix.config.ws }}.${{ matrix.config.os }}.x86_64 -Dequinox.binaries.loc=${{ github.workspace }}/equinox.binaries clean verify - name: Upload native artifacts uses: actions/upload-artifact@v4 if: success() diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 786044e9b32..8f5035fe604 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -58,21 +58,11 @@ jobs: - name: Set up Maven uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5 with: - maven-version: 3.9.6 - - name: Build with Maven - uses: coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a + maven-version: 3.9.9 + - name: Maven build with: - run: >- - mvn - --batch-mode - -Pbree-libs - -Papi-check - -Dcompare-version-with-baselines.skip=false - -Dmaven.test.failure.ignore=true - -Dequinox.binaries.loc=${{ github.workspace }}/equinox.binaries - -DskipTests=true - clean verify - + working-directory: equinox + run: mvn --batch-mode -Pbree-libs -Papi-check -Dequinox.binaries.loc=${{ github.workspace }}/equinox.binaries -DskipTests=true clean verify - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v3 with: