[GEOT-7234] Implement #getOptimizedBounds(...) in SQLServerDialect #2675
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: Linux JDK 11 GitHub CI | |
on: [pull_request] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
env: | |
MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 | |
jobs: | |
build: | |
runs-on: [ubuntu-20.04] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: 11 | |
- name: Set up GDAL | |
run: | | |
sudo apt update | |
sudo apt install --no-install-recommends -y gdal-bin libgdal-dev libgdal-java | |
- name: Setup python for docs | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
cache: 'pip' # caching pip dependencies from requirements.txt below | |
- name: Setup python pip requirements for building docs | |
working-directory: docs | |
run: | | |
pip install -r requirements.txt | |
- name: Maven repository caching | |
uses: actions/cache@v2 | |
with: | |
path: ~/.m2/repository | |
key: gt-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
gt-maven- | |
- name: Disable checksum offloading | |
# See: https://github.com/actions/virtual-environments/issues/1187#issuecomment-686735760 | |
run: sudo ethtool -K eth0 tx off rx off | |
- name: Build with Maven | |
run: | | |
mvn -B clean install -Dspotless.apply.skip=true -Dall -T2 -U -Plinux-github-build --file pom.xml | |
- name: Remove SNAPSHOT jars from repository | |
run: | | |
find ~/.m2/repository -name "*SNAPSHOT*" -type d | xargs rm -rf {} |