62
62
registry-url : ' https://registry.npmjs.org'
63
63
- name : Build UI
64
64
run : make build-ui
65
- - name : Install apache-arrow on ubuntu
66
- if : matrix.os == 'ubuntu-latest'
67
- run : |
68
- sudo apt update
69
- sudo apt install -y -V ca-certificates lsb-release wget
70
- wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
71
- sudo apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
72
- sudo apt update
73
- sudo apt install -y -V libarrow-dev
74
- - name : Install apache-arrow on macos
75
- if : matrix.os == 'macOS-latest'
76
- run : brew install apache-arrow
77
65
- name : Build wheels
78
66
79
67
env :
86
74
curl -o go.tar.gz https://dl.google.com/go/go1.18.2.linux-amd64.tar.gz
87
75
tar -C /usr/local -xzf go.tar.gz
88
76
go version
77
+ yum -y update &&
78
+ yum install -y epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(cut -d: -f5 /etc/system-release-cpe | cut -d. -f1).noarch.rpm &&
79
+ yum install -y https://apache.jfrog.io/artifactory/arrow/centos/$(cut -d: -f5 /etc/system-release-cpe | cut -d. -f1)/apache-arrow-release-latest.rpm &&
80
+ yum install -y --enablerepo=epel arrow-devel # For C++
89
81
CIBW_BEFORE_ALL_MACOS : |
82
+ brew install apache-arrow
90
83
curl -o python.pkg https://www.python.org/ftp/python/3.9.12/python-3.9.12-macosx10.9.pkg
91
84
sudo installer -pkg python.pkg -target /
92
85
# There's a `git restore` in here because `make install-go-ci-dependencies` is actually messing up go.mod & go.sum.
@@ -111,6 +104,7 @@ jobs:
111
104
CIBW_BEFORE_BUILD : |
112
105
git status
113
106
git restore go.mod go.sum
107
+ brew install apache-arrow
114
108
- uses : actions/upload-artifact@v2
115
109
with :
116
110
name : wheels
0 commit comments