-
Notifications
You must be signed in to change notification settings - Fork 4
101 lines (91 loc) · 3.19 KB
/
run_tests.yml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
name: hyperarrow tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
activate-environment: hyperarrow
channels: conda-forge
- name: Download Hyper Library / Headers
run: |
mkdir deps
pushd deps
curl https://downloads.tableau.com/tssoftware/tableauhyperapi-cxx-linux-x86_64-release-hyperapi_release_26.0.0.13821.r1fbe38ce.zip -o tableauhyperapi.zip
unzip tableauhyperapi.zip
mv tableauhyperapi-cxx-linux-x86_64-release-hyperapi_release_26.0.0.13821.r1fbe38ce tableauhyperapi
popd
- name: Set up out of core build
shell: bash -l {0}
run: |
conda activate hyperarrow
conda install -c conda-forge "arrow-cpp>=6.0" boost-cpp
mkdir build
cd build
export TABLEAU_CMAKE_PATH=/home/runner/work/hyperarrow/hyperarrow/deps/tableauhyperapi/share/cmake
cmake -DHYPERARROW_TESTING=ON ..
make
make test
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
activate-environment: hyperarrow
channels: conda-forge
- name: Download Hyper Library / Headers
run: |
mkdir deps
pushd deps
curl https://downloads.tableau.com/tssoftware/tableauhyperapi-cxx-macos-x86_64-release-hyperapi_release_26.0.0.13821.r1fbe38ce.zip -o tableauhyperapi.zip
unzip tableauhyperapi.zip
mv tableauhyperapi-cxx-macos-x86_64-release-hyperapi_release_26.0.0.13821.r1fbe38ce tableauhyperapi
popd
- name: Set up out of core build
shell: bash -l {0}
run: |
conda activate hyperarrow
conda install -c conda-forge "arrow-cpp>=6.0" boost-cpp
mkdir build
cd build
export TABLEAU_CMAKE_PATH=/Users/runner/work/hyperarrow/hyperarrow/deps/tableauhyperapi/share/cmake
cmake -DHYPERARROW_TESTING=ON ..
make
make test
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
activate-environment: hyperarrow
channels: conda-forge
- name: Download Hyper Library / Headers
shell: bash
run: |
mkdir deps
pushd deps
curl https://downloads.tableau.com/tssoftware/tableauhyperapi-cxx-windows-x86_64-release-hyperapi_release_26.0.0.13821.r1fbe38ce.zip -o tableauhyperapi.zip
unzip tableauhyperapi.zip
mv tableauhyperapi-cxx-windows-x86_64-release-hyperapi_release_26.0.0.13821.r1fbe38ce tableauhyperapi
popd
- name: Set up out of core build
env:
TABLEAU_CMAKE_PATH: "D:\\a\\hyperarrow\\hyperarrow\\deps\\tableauhyperapi\\share\\cmake"
run: |
conda activate hyperarrow
conda install -c conda-forge "arrow-cpp>=6.0" boost-cpp compilers
mkdir build
cd build
cmake -S .. -DHYPERARROW_TESTING=ON
cmake --build .