|
| 1 | +# |
| 2 | +# Licensed to the Apache Software Foundation (ASF) under one |
| 3 | +# or more contributor license agreements. See the NOTICE file |
| 4 | +# distributed with this work for additional information |
| 5 | +# regarding copyright ownership. The ASF licenses this file |
| 6 | +# to you under the Apache License, Version 2.0 (the |
| 7 | +# "License"); you may not use this file except in compliance |
| 8 | +# with the License. You may obtain a copy of the License at |
| 9 | +# |
| 10 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | +# |
| 12 | +# Unless required by applicable law or agreed to in writing, |
| 13 | +# software distributed under the License is distributed on an |
| 14 | +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | +# KIND, either express or implied. See the License for the |
| 16 | +# specific language governing permissions and limitations |
| 17 | +# under the License. |
| 18 | +# |
| 19 | + |
| 20 | +name: Build Iceberg from Source with Docker |
| 21 | + |
| 22 | +on: |
| 23 | + workflow_dispatch: # Allows manual triggering |
| 24 | + |
| 25 | +jobs: |
| 26 | + build: |
| 27 | + runs-on: ubuntu-latest |
| 28 | + steps: |
| 29 | + - name: Checkout repository |
| 30 | + uses: actions/checkout@v4 |
| 31 | + |
| 32 | + - name: Install Java 17 |
| 33 | + uses: actions/setup-java@v3 |
| 34 | + with: |
| 35 | + distribution: 'temurin' |
| 36 | + java-version: '17' |
| 37 | + |
| 38 | + - name: Ensure Docker is available |
| 39 | + run: docker --version |
| 40 | + |
| 41 | + - name: Download Iceberg source tarball |
| 42 | + run: wget https://dist.apache.org/repos/dist/dev/iceberg/apache-iceberg-1.8.0-rc0/apache-iceberg-1.8.0.tar.gz |
| 43 | + |
| 44 | + - name: Extract tarball |
| 45 | + run: tar -xzf apache-iceberg-1.8.0.tar.gz |
| 46 | + |
| 47 | + - name: Build Iceberg with Gradle (Docker Enabled) |
| 48 | + run: | |
| 49 | + cd apache-iceberg-1.8.0 |
| 50 | + ./gradlew build --info |
0 commit comments