-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (44 loc) · 1.31 KB
/
helper-ballista.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Ballista
on:
workflow_dispatch:
inputs:
ballista-ref:
required: true
description: Branch, tag or SHA to checkout (e.g. 0.9.0)
jobs:
build:
name: Ballista release
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
repository: 'apache/arrow-ballista'
ref: ${{ github.event.inputs.ballista-ref }}
- name: Dependencies
run: |
sudo apt-get -y install \
libssl-dev \
openssl \
zlib1g \
zlib1g-dev \
libpq-dev \
cmake \
protobuf-compiler \
curl \
unzip
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: build
args: --features "flight-sql s3" --release --bin ballista-scheduler --bin ballista-executor --bin ballista-cli
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: ballista-${{ github.event.inputs.ballista-ref }}
body: Plain build of the ${{ github.event.inputs.ballista-ref }} ref of Ballista
files: |
target/release/ballista-scheduler
target/release/ballista-executor
target/release/ballista-cli