World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[#8061] improvement(mcp-server): Add a CI pipeline to build module `mcp` specifically. (#8062)
Mini Yu8c0ef5b2a298
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 2a0c68e483..05abd9d7fc 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -23,31 +23,39 @@ jobs:with:filters: |source_changes:- - '.github/**'- - 'catalogs/**'- - 'clients/**'- - 'conf/**'- - 'dev/**'- - 'docs/open-api/**'- - 'gradle/**'- - 'gradle.properties'- - 'meta/**'- - 'scripts/**'- - 'web/**'- - '**/*.java'- - '**/*.kts'- - '**/*.py'- - '**/*.rs'- - '**/resources/**'- - '**/src/**'- - '!**/*.md'- - '!**/*.png'- - '!**/*.svg'+ included:+ - '.github/**'+ - 'catalogs/**'+ - 'clients/**'+ - 'conf/**'+ - 'dev/**'+ - 'docs/open-api/**'+ - 'gradle/**'+ - 'gradle.properties'+ - 'meta/**'+ - 'scripts/**'+ - 'web/**'+ - '**/*.java'+ - '**/*.kts'+ - '**/*.py'+ - '**/*.rs'+ - '**/resources/**'+ - '**/src/**'+ excluded:+ - 'mcp-server/**'+ - '**/*.md'+ - '**/*.png'+ - '**/*.svg'+spark_connector_changes:- spark-connector/**++ mcp_server_changes:+ - mcp-server/**outputs:source_changes: ${{ steps.filter.outputs.source_changes }}spark_connector_changes: ${{ steps.filter.outputs.spark_connector_changes }}+ mcp_server_changes: ${{ steps.filter.outputs.mcp_server_changes }}compile-check:runs-on: ubuntu-latest@@ -63,7 +71,7 @@ jobs:cache: 'gradle'- name: Build with Gradle- run: ./gradlew build -x test -PjdkVersion=8+ run: ./gradlew build -x test -PjdkVersion=17# To check the spark-connector is compatible with scala2.13spark-connector-build:@@ -98,6 +106,24 @@ jobs:build/reportsspark-connector/**/*.log+ mcp-server-build:+ needs: changes+ if: needs.changes.outputs.mcp_server_changes == 'true'+ runs-on: ubuntu-latest+ timeout-minutes: 30+ steps:+ - uses: actions/checkout@v4++ - uses: actions/setup-java@v4+ with:+ java-version: 17+ distribution: 'temurin'+ cache: 'gradle'++ - name: Build MCP Server+ run: |+ ./gradlew :mcp-server:build+build:# The type of runner that the job will run onruns-on: ubuntu-latest