blob: 3425c760e1e7f7f67b5af37478e676a04deeb102 [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
{% import 'macros.jinja' as macros with context %}
{{ macros.github_header() }}
{% set use_conda = use_conda|default(False) %}
jobs:
verify:
name: "Verify release candidate on Ubuntu"
runs-on: {{ github_runner|default("ubuntu-20.04") }}
{% if env is defined %}
env:
{% for key, value in env.items() %}
{{ key }}: {{ value }}
{% endfor %}
{% endif %}
steps:
{{ macros.github_checkout_arrow(fetch_depth=0)|indent }}
- name: Install System Dependencies
run: |
sudo apt-get update -y
sudo apt-get install -y \
autoconf-archive \
binfmt-support \
bison \
build-essential \
curl \
flex \
gtk-doc-tools \
libgirepository1.0-dev \
wget
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Run verification
shell: bash
env:
TEST_DEFAULT: 0
TEST_{{ target|upper }}: 1
{% if use_conda %}
USE_CONDA: 1
{% endif %}
run: |
arrow/dev/release/verify-release-candidate.sh {{ release|default("") }} {{ rc|default("") }}