Do not import o.e.jetty.servlet in server.jetty feature #768
This file contains 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: Build Equinox | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # required for jgit timestamp provider to work | |
- name: checkout equinox.binaries | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 # only shallow here, we don't have jgit timestamps | |
repository: eclipse-equinox/equinox.binaries | |
path: rt.equinox.binaries | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: maven | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@v4.5 | |
with: | |
maven-version: 3.9.2 | |
- name: Build with Maven | |
uses: GabrielBB/xvfb-action@v1 | |
with: | |
run: >- | |
mvn | |
--batch-mode | |
--global-toolchains ${{ github.workspace }}/.github/workflows/toolchains.xml | |
-Pbree-libs | |
-Papi-check | |
-Dcompare-version-with-baselines.skip=false | |
-Dproject.build.sourceEncoding=UTF-8 | |
-Dmaven.test.failure.ignore=true | |
-Drt.equinox.binaries.loc=${{ github.workspace }}/rt.equinox.binaries | |
clean verify | |
- name: Upload Test Results | |
uses: actions/upload-artifact@v3 | |
with: | |
name: test-results | |
if-no-files-found: error | |
path: '**/target/*-reports/*.xml' | |
build-launcher-win64: | |
runs-on: windows-2019 | |
env: | |
PROGRAM_OUTPUT: eclipse.exe | |
PROGRAM_LIBRARY: eclipse.dll | |
DEFAULT_OS: win32 | |
DEFAULT_OS_ARCH: x86_64 | |
DEFAULT_WS: win32 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '8' | |
distribution: 'temurin' | |
- name: Visual Studio shell | |
uses: egor-tensin/vs-shell@v2 | |
with: | |
arch: x64 | |
- name: Build | |
working-directory: features/org.eclipse.equinox.executable.feature/library/win32 | |
run: nmake -f make_win64.mak | |
shell: pwsh | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
if: success() | |
with: | |
name: Windows launcher artifacts | |
path: | | |
features/org.eclipse.equinox.executable.feature/library/win32/eclipse*.exe | |
features/org.eclipse.equinox.executable.feature/library/win32/eclipse*.dll | |
if-no-files-found: error | |
tck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: maven | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@v4.5 | |
with: | |
maven-version: 3.9.2 | |
- name: Run OSGi TCKs | |
run: >- | |
mvn | |
-U | |
--batch-mode | |
--global-toolchains ${{ github.workspace }}/.github/workflows/toolchains.xml | |
--threads 1C | |
-Pbuild-individual-bundles | |
-Pbree-libs | |
-Ptck | |
-Dskip-default-modules=true | |
-Dproject.build.sourceEncoding=UTF-8 | |
-Dtycho.resolver.classic=false | |
-fn | |
clean verify | |
- name: Upload TCK Results | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: tck-results | |
if-no-files-found: error | |
path: '**/target/tck-results/TEST-*.xml' | |
event_file: | |
name: "Upload Event File" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Upload | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Event File | |
path: ${{ github.event_path }} |